Skip to content

Commit 8ae4a75

Browse files
committed
Add responsive design styles for medium and large screens in CSS
1 parent d7e148a commit 8ae4a75

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

FEAScript-website.css

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ mjx-container {
129129
}
130130

131131
/* Media queries */
132+
133+
/* Small screens: up to 500px */
132134
@media screen and (max-width: 500px) {
133135
body {
134136
padding: 10px;
@@ -158,12 +160,72 @@ mjx-container {
158160
}
159161
}
160162

163+
/* Medium screens: 500px to 1000px */
164+
@media screen and (min-width: 500px) and (max-width: 1000px) {
165+
body {
166+
padding: 15px;
167+
}
168+
169+
h1 {
170+
font-size: 140%;
171+
}
172+
173+
h2 {
174+
font-size: 125%;
175+
line-height: 1.3em;
176+
}
177+
178+
h3 {
179+
font-size: 115%;
180+
}
181+
182+
p {
183+
max-width: 900px;
184+
}
185+
186+
#banner {
187+
width: 150px;
188+
padding-left: 1.2em;
189+
padding-bottom: 1.2em;
190+
}
191+
192+
#banner img {
193+
width: 150px;
194+
}
195+
196+
#responsive-logo {
197+
height: 60px;
198+
}
199+
}
200+
201+
/* Large screens: 1000px and above */
161202
@media screen and (min-width: 1000px) {
203+
body {
204+
padding: 20px;
205+
}
206+
207+
h1 {
208+
font-size: 150%;
209+
}
210+
211+
h2 {
212+
font-size: 130%;
213+
line-height: 1.4em;
214+
}
215+
216+
h3 {
217+
font-size: 120%;
218+
}
219+
162220
#banner {
163221
width: 250px;
164222
}
165223

166224
#banner img {
167225
width: 250px;
168226
}
227+
228+
#responsive-logo {
229+
height: 80px;
230+
}
169231
}

0 commit comments

Comments
 (0)