forked from shamilkeheliya/Hacktoberfest-22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
112 lines (95 loc) · 1.84 KB
/
index.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* Dropdown Button */
.dropbtn {
background-color: #015436;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropdown-content {display: block;}
.dropdown:hover .dropbtn {background-color: #3e8e41;}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
transition: background-color, 0.8s;
}
.main {
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
flex-direction: column;
}
.container {
display: flex;
padding: 3em 0;
}
.radio-container {
display: flex;
font-size: 22px;
padding: 0 1em;
}
button {
border: none;
color: white;
padding: 16px 32px;
text-align: center;
font-size: 16px;
margin: 4px 2px;
opacity: 0.6;
transition: 0.3s;
display: inline-block;
text-decoration: none;
cursor: pointer;
}
button:hover {opacity: 1}
.main > h1 {
text-transform: uppercase;
font-size: 1.6rem;
}
#summer {
border:3px solid #c8d2d1;
color: #ee9b01;
background-color: #f4511e
}
#winter {
border:3px solid #1f4b8e;
color: #1f4b8e;
background-color: #B1B2FF
}
#autumn {
border:3px solid #606c38;
color: #283618;
background-color:#F7A76C
}
#spring {
border:3px solid #fe98ab;
color: #00b5a1;
background-color: #F94892
}
@media screen and (min-width: 700px) {
.main > h1 {
font-size: 3rem;
}
.radio-container {
padding: 0 2em;
}