-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
69 lines (64 loc) · 1.15 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
max-height: 100dvh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0;
}
button {
padding: 1rem;
font-size: larger;
font-weight: 700;
background: linear-gradient(22deg, rgba(168, 72, 172, 0.848), purple);
color: white;
border-radius: 2px;
}
span {
font-weight: 800;
font-size: larger;
padding: 1rem;
}
main {
flex: 1 1 auto;
flex-direction: column;
border: 3px double purple;
display: flex;
justify-content: center;
align-items: center;
aspect-ratio: 1;
gap: 0;
}
main > div {
display: flex;
justify-content: center;
align-items: center;
flex: 0 0 auto;
width: 660px;
}
main div div {
flex: 1 1 auto;
aspect-ratio: 1;
border: 1px solid black;
}
@media only screen and (max-width: 400) {
main > div {
flex: 1 1 auto;
width: 320px;
max-width: 320px;
height: 15px
}
main {
height: 90dvh;
max-width: 94vw;
}
body {
height: 90dvh;
max-width: 100vw;
}
}