-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
146 lines (120 loc) · 2.13 KB
/
style.css
File metadata and controls
146 lines (120 loc) · 2.13 KB
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
html, body {
margin: 0;
padding: 0;
height: 100%;
box-sizing: border-box;
background-color: #f9f9f9;
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
font-family: "BBH Sans Bogle", sans-serif;
font-weight: 400;
font-style: normal;
}
.error {
color: red;
font-weight: bold;
}
.oswald-500 {
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
}
.oswald-600 {
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 600;
font-style: normal;
}
.oswald-700 {
font-family: "Oswald", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
}
a.hover {
background-color: #f0f0f0;
color: #333;
}
header {
position: relative;
border-bottom: 2px solid red;
}
#desktop-section{
display: none;
}
nav {
opacity: 0;
display: none;
position: absolute;
width: 100%;
background-color: #000;
text-align: center;
}
header button {
z-index: 1;
position: absolute;
top: 10px;
right: 10px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
border: 1px solid black;
}
nav ul li {
border: 1px solid white;
}
nav ul li a {
text-decoration: none;
display: block;
padding: 10px;
color: #fff;
}
nav ul li a:hover {
background-color: #444;
}
nav ul li a:active {
background-color: #e01c1c;
}
/* Tablet */
@media screen and (min-width: 768px) and (max-width: 900px) {
section {
display: inline-block;
width: 45%;
}
}
/* Desktop */
@media screen and (min-width: 930px) {
nav {
display: block;
opacity: 1;
position: relative;
text-align: left;
}
nav ul li {
border: none;
}
section {
display: inline-block;
width: 30%;
}
#desktop-section{
display: inline-block;
}
header button {
display: none;
}
nav ul {
opacity: 1;
display: block;
}
nav ul li {
display: inline-block;
}
}