Skip to content

Commit 395c421

Browse files
Add files via upload
1 parent d407413 commit 395c421

1 file changed

Lines changed: 41 additions & 29 deletions

File tree

style.css

Lines changed: 41 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
body {
5252
margin: 0 auto;
53-
font-size: 10px;
53+
font-size: 12px;
5454
background-color: lab(90.24% 0 -0.01);
5555
min-width: 1000px;
5656
max-width: 2000px;
@@ -70,6 +70,31 @@
7070
src: local('BentonSans-Regular'), url('BentonSans-Regular.woff') format('woff');
7171
}
7272

73+
header, footer {
74+
font-family: Georgia, 'Times New Roman', Times, serif;
75+
background-color: #0033a0;
76+
color: whitesmoke;
77+
border-top: 5px solid #b1b3b3;
78+
border-bottom: 5px solid #b1b3b3;
79+
text-align: center;
80+
}
81+
82+
header {
83+
padding: 40px;
84+
font-size: 1.5rem;
85+
margin: 0;
86+
}
87+
88+
footer {
89+
padding: 20px;
90+
font-size: 1rem;
91+
position: absolute;
92+
bottom: 0;
93+
width: 100%;
94+
min-width: 1000px;
95+
max-width: 2000px;
96+
}
97+
7398
h2 {
7499
padding: 20px;
75100
margin-left: 0, auto;
@@ -101,32 +126,9 @@
101126
margin-left: 10px;
102127
margin-right: 0, auto;
103128
}
104-
header, footer {
105-
font-family: Georgia, 'Times New Roman', Times, serif;
106-
background-color: #0033a0;
107-
color: whitesmoke;
108-
border-top: 5px solid #b1b3b3;
109-
border-bottom: 5px solid #b1b3b3;
110-
text-align: center;
111-
}
112-
113-
header {
114-
padding: 15px;
115-
font-size: 1.5rem;
116-
margin: 0;
117-
}
118-
119-
footer {
120-
padding: 10px;
121-
font-size: 1rem;
122-
position: absolute;
123-
bottom: 0;
124-
width: 100%;
125-
max-width: 2000px;
126-
}
127-
129+
128130
nav {
129-
padding: 10px;
131+
padding: 5px;
130132
width: 100%;
131133
font-family: Georgia, 'Times New Roman', Times, serif;
132134
font-weight: bolder;
@@ -194,12 +196,22 @@ nav li a:hover:not(.active) {
194196
}
195197
aside a:active {
196198
font-weight: bold;
197-
font-size: 12px;
199+
font-size: 15px;
198200
}
199201
ul {
200202
list-style-type: disc;
201203
}
202204

205+
@media screen and (max-width: 800px) {
206+
section, aside, header, footer {
207+
width: 100%;
208+
padding: 0;
209+
}
210+
}
203211

204-
205-
212+
@media screen and (max-width: 400px) {
213+
nav a {
214+
float: none;
215+
width: 100%;
216+
}
217+
}

0 commit comments

Comments
 (0)