-
Notifications
You must be signed in to change notification settings - Fork 1
/
Style.css
114 lines (96 loc) · 1.66 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
body{
margin: 0;
/* background-color: white; */
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
background-image: url(food.jpg);
background-size: cover;
background-position: center center;
min-height: 100vh;
}
a {
color: white;
text-decoration: none;
}
.container{
margin: 0 auto;
padding: 1rem;
width: 1000px;
max-width: 100%;
}
nav {
padding: 0.5rem 0;
}
.pre-nav{
font-size: 1.7rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo{
color: #026e78;
font-weight: bold;
font-size: 2.5rem;
}
nav ul {
display: flex;
flex-wrap: wrap;
list-style-type: none;
padding: 0;
}
nav li {
flex: 1 auto;
}
nav li a {
background-color: #2D99A4;
display: block;
padding: 1rem 2rem;
text-align: center;
}
nav a.active {
background-color: #fff;
color: #026e78;
font-weight: bold;
}
nav a.highlight {
background-color: #026e78;
color: #fff;
}
nav a:hover {
opacity: 0.8;
}
.content {
display: flex;
flex-direction: column;
font-size: 2rem;
align-items: flex-start;
margin-top: 5rem;
}
.content h1 {
background-color: #026e78;
color: white;
display: inline-block;
padding: 1rem;
font-weight: 200;
}
.white-link{
background-color: #fff;
color: #2D99A4;
padding: 1rem;
}
.teal-link{
background-color: #2D99A4;
color: #fff;
padding: 1rem;
margin-top: 2rem;
}
@media screen and (max-width: 768px) {
.pre-nav {
flex-direction: column;
justify-content: center;
}
.content{
font-size: 1.5rem;
}
}