-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (48 loc) · 890 Bytes
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
*
{
margin: 0;
padding: 0;
}
body
{
container: blocks / inline-size;
}
main
{
background-color: #070F2B;
color: #FAEDF0;
font-family: "Silkscreen", sans-serif;
font-weight: 500;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
article
{
background-color: #0F3460;
border-radius: 20px;
font-size: 25px;
width: 70%;
height: 150px;
margin: 20px;
padding: 2px;
display: flex;
align-items: center;
justify-content: center;
}
@container blocks (max-width: 700px)
{
main
{
flex-direction: column;
}
article
{
background-color: #836FFF;
font-size: clamp(15px, 18px + 1.33cqw, 30px);
}
}