Skip to content

Commit df80f52

Browse files
committed
Styles are updated for mobile devices
1 parent 58a9099 commit df80f52

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

app/css/style.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
:root {
22
--font-size: 16px;
3-
--font-size-large: 32px;
43
--font-weight: 400;
54
--font-weight-semibold: 600;
65
--font-line-height: 1.5;
@@ -120,6 +119,7 @@ h1 {
120119
font-family: var(--font-family-header);
121120
font-weight: var(--font-weight-semibold);
122121
line-height: var(--font-line-height-small);
122+
font-size: 2rem;
123123
font-optical-sizing: auto;
124124
text-transform: uppercase;
125125
text-align: center;
@@ -558,14 +558,20 @@ button.signal-on {
558558

559559
main {
560560
padding: 1.5rem;
561+
562+
&:not(.settings-open) {
563+
h1 {
564+
margin-top: 0;
565+
}
566+
}
561567
}
562568

563569
.output {
564570
padding: 0.75rem;
565571
}
566572
}
567573

568-
@media (max-device-height : 748px) {
574+
@media (max-device-height : 845px) {
569575
main {
570576
grid-template-rows: 0 auto 1fr auto;
571577

0 commit comments

Comments
 (0)