-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
111 lines (91 loc) · 1.75 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@200;400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap" rel="stylesheet');
/* :root {
--order: 1;
} */
body {
background-color: #1d1a1d;
color: #ffffff;
font-family: 'Caveat', sans-serif;
font-size: 100%;
padding: 0;
margin: 0;
}
section {
display: grid;
place-items: center;
align-content: start;
margin-top: 8rem;
min-height: 100vh;
}
h1 {
font-size:4rem;
font-weight:700;
}
p {
margin-left: 12rem;
margin-right: 12rem;
text-align: center;
text-transform: capitalize;
font-size:1.75rem;
font-weight:400;
}
.hidden {
opacity: 0;
filter: blur(5px);
transform: translateX(-100%);
transition: all 1.5s;
}
.hidden-delay {
opacity: 0;
filter: blur(5px);
transform: translateX(-100%);
transition: all 2.5s;
}
@media(prefers-reduced-motion){
.hidden {
transition: none;
}
}
@media (max-width: 700px){
section {
margin-top: 12rem;
min-height: 100vh;
}
h1 {
font-size:2.5rem;
/* font-weight:700; */
}
p {
margin-left: 4rem;
margin-right: 4rem;
font-size:1rem;
/* font-weight:400; */
}
img {
width:4rem;
}
}
.show {
opacity: 1;
filter: blur(0);
transform: translateX(0);
}
.logos {
display: flex;
}
.logo:nth-child(n){
transition-delay: calc(200ms * var(--order));
}
/* .logo:nth-child(2){
transition-delay: 200ms;
}
.logo:nth-child(3){
transition-delay: 400ms;
}
.logo:nth-child(4){
transition-delay: 600ms;
}
.logo:nth-child(5){
transition-delay: 800ms;
} */