-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (71 loc) · 1.3 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
* {
box-sizing: border-box;
}
body {
background-image: url('bg.png');
background-size: cover;
background-position: center center;
display: flex;
font-family: Arial, Helvetica, sans-serif;
margin: 0;
min-height: 100vh;
}
aside {
background-color: black;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 1rem;
width: 300px;
height: 100vh;
}
aside ul {
padding: 0;
list-style-type: none;
}
aside a {
color: white;
display: inline-block;
font-size: 2rem;
text-decoration: none;
margin: 0.5rem;
}
.special {
background-color: #feab51;
color: black;
display: block;
padding: 1rem;
text-align: center;
}
main {
color: #fff;
font-size: 2.3rem;
padding: 3rem;
}
main h1 {
margin: 0;
}
main h3 {
color: #feab51;
margin: 0;
}
@media screen and (max-width: 768px) {
body {
flex-direction: column-reverse;
justify-content: space-between;
}
main {
min-height: 60vh;
}
aside {
height: auto;
width: 100%;
}
aside ul {
display: flex;
flex-wrap: wrap;
}
.special {
display: none;
}
}