-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (66 loc) · 1.46 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
body {font-family: Arial, Helvetica, sans-serif;}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: #FA8BFF;
background-image: linear-gradient(90deg, #FA8BFF 0%, #2BD2FF 52%, #2BFF88 90%);
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 40%;
border-radius: 5px;
}
/* The Close Button */
.close {
color: #aaaaaa;
/* text-align: right;
float: right; */
margin-left: 97%;
font-size: 30px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
.container {
margin-top: 2rem;
max-width: 25rem;
background-color: #FA8BFF;
background-image: linear-gradient(9270deg, #FA8BFF 0%, #2BD2FF 52%, #2BFF88 90%);
border-radius: 10px;
box-shadow: 1px 2px 10px #ccc;
}
#weatherwidget {
min-height: 18rem;
background: #fff;
border-radius: 5px;
}
.card {
width: 100%;
}
.card .card-subtitle {
font-size: 4rem;
}
.card .cel:after {
content: "°C";
position: absolute;
font-size: 2.5rem;
margin-top: 0.3rem;
font-weight: 400;
}