-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
74 lines (59 loc) Β· 1012 Bytes
/
Copy pathstyles.css
File metadata and controls
74 lines (59 loc) Β· 1012 Bytes
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
:root {
--main-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
--primary-color: #1a120e;
--secondary-color: #3a1c71;
--accent-color: #ffffff;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
ul,
ol {
list-style: none;
}
a {
text-decoration: none;
}
img {
display: block;
max-width: 100%;
height: auto;
}
button {
border: none;
cursor: pointer;
display: inline-block;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background: var(--primary-color);
background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
position: relative;
}
.block {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
border: 0.1px solid var(--accent-color);
&:hover,
&:focus {
filter: brightness(1.3);
}
}
.text {
color: var(--accent-color);
}
.fullness {
padding: 5px;
position: absolute;
font-size: 16px;
color: var(--accent-color);
}