-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
160 lines (159 loc) · 3.16 KB
/
styles.css
File metadata and controls
160 lines (159 loc) · 3.16 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
:root:root {
--reanimate-on-scroll-by-default: 1;
--default-animation-duration: 500ms;
--staggered-step-amount:250ms;
--delay-step-amount: 250ms;
--blur-strength: 3px;
--translate-amount-x: 40%;
--translate-amount-y: 40%;
}
* {
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
padding: 0;
margin:0;
font-family: Arial, Helvetica, sans-serif;
background-color: #1e1e1e;
color:#f2f2f2;
display: grid;
width: 100vw;
max-width: 100%;
place-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
}
h2 {
margin-bottom: 64px;
}
p {
font-size: 20px;
}
code {
/* overflow:scroll; */
margin: 0 auto;
}
.column {
flex-direction: column;
display: flex;
}
a:not(.button) {
margin-top:16px;
color: grey;
text-decoration: none;
transition: text-decoration 150ms;
}
a:not(.button):hover {
text-decoration: underline;
}
#duration-showcase span:first-child {
font-size: 40px;
color: lemonchiffon;
}
#duration-showcase span:nth-child(2) {
font-size: 40px;
color: lightskyblue
}
.button {
padding: 16px 32px;
background-color: #f2f2f2;
color: #1e1e1e;
border-radius: 10px;
width: max-content;
text-align: center;
margin:64px auto 0 auto;
display: inline-block;
text-decoration: none;
border: 2px solid #f2f2f2;
transition: color 150ms, background-color 150ms;
}
.button:hover {
background-color: #1e1e1e;
color:#f2f2f2;
}
.hero, .section {
min-height: 100vh;
min-height: 100svh;
align-content: center;
display: grid;
}
.flex-container {
width: 100vw;
max-width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap:32px;
justify-content: center;
}
.block {
width: 100px;
aspect-ratio: 1/1;
background-color:red;
border-radius: 10px;
}
.block:nth-child(1) {
background-color: lightblue;
}
.block:nth-child(2) {
background-color: lightcoral;
}
.block:nth-child(3) {
background-color: lightgreen;
}
.block:nth-child(4) {
background-color: lightseagreen;
}
.delay-grid {
max-width: 400px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.delay-grid span {
font-size: 30px;
justify-content: center;
margin: 0 auto;
}
.delay-grid span:nth-child(1) {
font-family: "Arial";
color: #AEC6CF; /* Light pastel blue */
}
.delay-grid span:nth-child(2) {
font-family: "Courier New";
color: #FFB7CE; /* Light pastel pink */
}
.delay-grid span:nth-child(3) {
font-family: "Georgia";
color: #CFCFC4; /* Light pastel gray */
}
.delay-grid span:nth-child(4) {
font-family: "Helvetica";
color: #FFD1DC; /* Light pastel peach */
}
.delay-grid span:nth-child(5) {
font-family: "Lucida Console";
color: #B4E7B8; /* Light pastel green */
}
.delay-grid span:nth-child(6) {
font-family: "Tahoma";
color: #FFDAC1; /* Light pastel orange */
}
.delay-grid span:nth-child(7) {
font-family: "Times New Roman";
color: #E2F0CB; /* Light pastel lime */
}
.delay-grid span:nth-child(8) {
font-family: "Trebuchet MS";
color: #F3E9D2; /* Light pastel beige */
}
.delay-grid span:nth-child(9) {
font-family: "Verdana";
color: #C4DDED; /* Light pastel sky blue */
}
.delay-grid span:nth-child(10) {
font-family: "Comic Sans MS";
color: #F7D9C4; /* Light */
}