Skip to content

Commit 5caf475

Browse files
committed
fixing some margins
1 parent 756c6a0 commit 5caf475

1 file changed

Lines changed: 15 additions & 26 deletions

File tree

style.scss

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
--menu-bg-color: #341954;
3232
--menu-fg-color: #FFFCF3;
3333
--border-color: #A187CF;
34-
--masthead-height: 128px;
34+
--masthead-height: 120px;
35+
--masthead-height-medium: 102px;
36+
--masthead-height-small: 96px;
3537
--footer-height: 160px;
3638
}
3739

@@ -350,6 +352,16 @@ img {
350352
z-index: 100;
351353
height: var(--masthead-height);
352354
}
355+
@media (max-width: 700px) {
356+
.default-masthead{
357+
height: var(--masthead-height-medium);
358+
}
359+
}
360+
@media (max-width: 450px) {
361+
.default-masthead{
362+
height: var(--masthead-height-small);
363+
}
364+
}
353365
.default-banner-container {
354366
width: 100%;
355367
height: 79px;
@@ -378,17 +390,11 @@ img {
378390
justify-content: space-between;
379391
}
380392
@media (max-width: 700) {
381-
.default-masthead {
382-
height: 108px;
383-
}
384393
.default-banner {
385394
font-size: 42px;
386395
}
387396
}
388397
@media (max-width: 450) {
389-
.default-masthead {
390-
height: 96px;
391-
}
392398
.default-banner {
393399
font-size: 36px;
394400
}
@@ -464,8 +470,8 @@ nav {
464470
*/
465471

466472
a {
467-
margin-left: 20px;
468-
margin-right: 20px;
473+
margin-left: 10px;
474+
margin-right: 10px;
469475
color: var(--menu-fg-color);
470476
text-align: center;
471477
font-weight: 300;
@@ -483,23 +489,6 @@ nav {
483489
font-size: 16px;
484490
}
485491
}
486-
@media (max-width: 700px) {
487-
nav {
488-
a {
489-
margin-left: 15px;
490-
margin-right: 15px;
491-
}
492-
}
493-
}
494-
@media (max-width: 450px) {
495-
nav {
496-
font-size: 14px;
497-
a {
498-
margin-left: 10px;
499-
margin-right: 10px;
500-
}
501-
}
502-
}
503492

504493
/*
505494
* The content page / event and search stuff

0 commit comments

Comments
 (0)