-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
121 lines (97 loc) · 1.63 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
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
113
114
115
116
117
118
119
120
121
body{
background-color: #fff;
font-family: "Roboto",sans-serif,;
margin: 0;
}
.container {
padding: 1rem;
margin: 0 auto;
max-width: 100%;
width: 1000px;
}
header {
background-position: center center;
background-image: url("car.jpg");
background-size: cover;
color: white;
display: flex;
align-items: flex-start;
min-height: calc(100vh - 100px);
flex-direction: column;
}
.content {
font-size: 2rem;
margin: auto ;
max-width: 100%;
}
.content h1 {
color: #00c2ff;
margin-bottom: 0;
}
nav {
display: flex;
justify-content: space-between;
}
nav .logo {
font-size: 2.5rem;
}
nav ul {
display: flex;
list-style-type: none;
padding: 0;
}
nav li a {
color: white;
padding: 1rem;
text-decoration: none;
}
.selected {
font-weight: bold;
}
.highlight {
background-color: #00c2ff;
color: white;
padding: 1rem;
text-decoration: none;
}
footer{
background-color: #000;
color: #fff;
padding: 1rem;
}
footer ul {
display: flex;
align-items: center;
justify-content: space-between;
list-style-type: none;
padding: 0;
}
footer strong {
color: #00c2ff;
}
footer p {
margin: 0;
}
@media screen and (max-width: 700px) {
.content{
font-size: 1.4rem;
margin: 2rem auto 0;
}
nav ul {
flex-direction: column;
}
nav li:not(:last-child) {
margin-bottom: 1rem;
}
nav .highlight {
display: none;
}
footer ul {
flex-direction: column;
justify-content: center;
}
footer li {
margin: 1rem;
text-align: center;
}
}