Skip to content

Commit c7490ef

Browse files
committed
more dynamic growing / shrinking
1 parent e4dda2c commit c7490ef

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

public/style/default.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ body {
5454
align-items: center;
5555
text-align: center;
5656

57-
width: 100%;
57+
width: 90%;
5858
max-width: 600px;
5959

6060
padding: 40px 30px;
@@ -97,8 +97,8 @@ body {
9797
}
9898

9999
.spinner {
100-
height: 120px;
101-
width: 120px;
100+
height: clamp(80px, 14vmin, 120px);
101+
aspect-ratio: 1 / 1;
102102
border: 8px solid;
103103
border-color: var(--spinner-color) var(--spinner-color) var(--spinner-color)
104104
var(--spinner-color-transparent);

public/style/user.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
border-radius: 360px;
2626
aspect-ratio: 1 / 1;
2727

28-
height: clamp(40px, 6vmin, 60px);
29-
font-size: clamp(20px, 6vmin / 2, 30px);
28+
height: clamp(50px, 6vmin, 60px);
29+
font-size: clamp(25px, 6vmin / 2, 30px);
3030

3131
font-weight: bold;
3232
}

0 commit comments

Comments
 (0)