Skip to content

Commit 4b3f547

Browse files
committed
Some CSS updates
1 parent 43e90d7 commit 4b3f547

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/App.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,3 @@
44

55
position: relative;
66
}
7-
8-
.App-container,
9-
.App-reset-button {
10-
font-size: calc(max(16px, 3vmin));
11-
line-height: 120%;
12-
}
13-
14-
.App-reset-button {
15-
border-radius: 1vmin;
16-
padding: 1vmin 2vmin;
17-
}

src/MoveButton.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
top: calc(50% - 8vmin);
2020

2121
border-radius: 50%;
22+
padding: 0;
2223
}
2324

2425
@media (prefers-reduced-motion: no-preference) {

src/index.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,23 @@ code {
2626

2727
h1 {
2828
font-weight: normal;
29-
font-size: calc(max(16px, 5vmin));
29+
font-size: calc(max(16px, 4vmin));
3030
line-height: 125%;
3131
}
3232

33+
body,
34+
button {
35+
font-size: calc(max(16px, 3vmin));
36+
line-height: 120%;
37+
}
38+
3339
button {
3440
background: color-mix(in oklch, cornflowerblue 15%, transparent);
3541
border: calc(max(1px, 0.3vmin)) solid black;
42+
border-radius: 1vmin;
43+
44+
padding: 1vmin 2vmin;
45+
3646
overflow: hidden;
3747
}
3848

0 commit comments

Comments
 (0)