-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (112 loc) · 2.34 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (112 loc) · 2.34 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
:root {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
color-scheme: light dark;
box-sizing: border-box;
user-select: none;
-moz-user-select: none;
}
body {
min-width: 20rem;
margin: 0;
}
section::before {
content: '';
position: fixed;
z-index: -1;
width: 100vw;
height: 100vh;
background-image: url('img/eren.gif');
background-size: cover;
filter: blur(5px);
}
section {
width: 100vw;
height: 100vh;
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: center;
}
h1 {
--bg-size: 400%;
--color-one: #A9EAE4;
--color-two: #239589;
font-family: sans-serif;
font-size: clamp(3rem, 25vmin, 8rem);
background: linear-gradient(
90deg,
var(--color-one),
var(--color-two),
var(--color-one)
)
0 0 / var(--bg-size) 100%;
color: transparent;
background-clip: text;
}
h3 {
--h3-size: 50%;
--color-h3: rgb(36, 35, 35);
font-family: sans-serif;
font-size: 1rem;
background: var(--color-h3) 0 0 / var(--h3-size) 100%;
color: transparent;
background-clip: text;
}
@media (prefers-reduced-motion: no-preference) {
h1 {
animation: move-bg 8s linear infinite;
}
h3 {
animation: h3-move-bg 8s linear infinite;
}
@keyframes move-bg {
to {
background-position: var(--bg-size) 0;
}
}
@keyframes h3-move-bg {
to {
background-position: var(--h3-size) 0;
}
}
}
#time{
margin: 20px;
padding: 20px;
}
a {
font-size: 1rem;
margin: 0.5rem;
color: #cccccc;
text-decoration: none;
}
.quote-box{
max-width: 80%;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: rgba( 255, 255, 255, 0.5 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 5px );
-webkit-backdrop-filter: blur( 5px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.img-loading {
width: 100px;
height: 100px;
object-fit: cover;
}