Skip to content

Commit 5201ed4

Browse files
NN-423 scale down logo and padding on mobile
1 parent 73dd50d commit 5201ed4

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

style.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,18 @@ header .header-navigation ul.wp-block-navigation li.current-menu-item {
6464
}
6565
}
6666
@media screen and (max-width: 480px) {
67-
67+
.wp-block-site-logo {
68+
width: 130px;
69+
}
70+
header > .wp-block-group {
71+
padding-top: 20px !important;
72+
padding-left: 15px;
73+
padding-right: 15px;
74+
}
75+
h1 {
76+
font-size: var(--wp--preset--font-size--x-large);
77+
}
78+
h2 {
79+
font-size: var(--wp--preset--font-size--large);
80+
}
6881
}

theme.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,15 @@
274274
},
275275
":focus": {
276276
"color": {
277-
"background": "var(--wp--preset--color--contrast)",
277+
"background": "var(--wp--preset--color--blue)",
278278
"text": "var(--wp--preset--color--base)"
279279
},
280280
"outline": {
281-
"color": "var(--wp--preset--color--contrast)",
281+
"color": "var(--wp--preset--color--blue)",
282282
"offset": "2px"
283283
},
284284
"border": {
285-
"color": "var(--wp--preset--color--contrast)"
285+
"color": "var(--wp--preset--color--blue)"
286286
}
287287
},
288288
":hover": {

0 commit comments

Comments
 (0)