-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
105 lines (91 loc) · 1.49 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
body {
font-family: Monocraft, sans-serif;
margin: 0;
padding: 0;
background-color: rgb(29, 31, 45);
}
#navbar {
display: flex;
justify-content: space-between;
position: fixed;
background-color: rgb(54, 85, 136);
top: 0;
left: 0;
right: 0;
color: #eaeaea;
}
#navbar .logo,
#navbar .items a {
padding: 1.25rem 1rem;
}
#navbar .items {
display: flex;
gap: 1rem;
}
.items a:hover {
color: rgb(196, 188, 79);
}
#navbar .hamburger {
fill: #eaeaea;
display: none;
}
#navbar .hamburger:hover {
cursor: pointer;
}
a {
text-decoration: none;
color: inherit;
}
main {
padding: 1rem;
padding-top: 4rem;
color: rgb(196, 188, 79);
}
.row {
display: flex;
flex-wrap: wrap;
}
.column {
flex: 25%;
padding: 20px;
margin: 0.25rem;
background-color: rgba(54, 85, 136, 0.4);
border-radius: 8px;
}
@media screen and (max-width: 600px) {
#navbar .items {
display: none;
}
#navbar .hamburger {
display: block;
}
.row {
flex-direction: column;
}
}
@media screen and (max-width: 600px) {
#navbar.responsive {
justify-content: center;
flex-direction: column;
}
#navbar.responsive .items {
background-color: rgb(24, 28, 77);
display: flex;
gap: 0;
flex-direction: column;
}
#navbar.responsive .items a {
padding-top: 1rem;
padding-bottom: 1rem;
}
#navbar .hamburger {
position: absolute;
right: 1rem;
top: 1.25rem;
}
}
@media screen and (max-width: 992px) {
.column {
flex: 48%;
}
}