-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
71 lines (71 loc) · 1.1 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
body {
background: var(--BG);
display: flex;
flex-direction: column;
justify-content: center;
gap: 10rem;
margin: auto;
}
header {
position: fixed;
top: 0;
max-width: 120rem;
height: 6rem;
}
nav {
display: none;
}
.sui_brand {
font-size: 10rem;
font-weight: 700;
height: 10rem;
display: flex;
justify-content: center;
align-items: center;
}
.sui_brand img {
height: 12rem;
transition: transform 0.2s ease-out;
z-index: 2;
}
#sui_brand_text {
color: var(--PRIMARY-LIGHT3);
transition: transform 0.2s ease-out;
animation: changeText 2s ease-in-out infinite alternate;
}
.sui_cta {
display: flex;
justify-content: center;
gap: 5rem;
}
.sui_cta button {
font-size: 3rem;
}
@keyframes changeText {
0% {
content: "Starling UI";
}
50% {
color: var(--PRIMARY);
}
100% {
content: "U";
}
}
@media only screen and (max-width: 768px) {
.sui_brand {
font-size: 4rem;
gap: 1rem;
}
.sui_brand img {
height: 4rem;
}
.sui_cta {
flex-direction: column;
gap: 2rem;
margin: 0 3rem;
}
.sui_cta button {
font-size: 2rem;
}
}