-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstilo.css
More file actions
72 lines (61 loc) · 1.38 KB
/
stilo.css
File metadata and controls
72 lines (61 loc) · 1.38 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
:root {
--clr-3: #1B2838;
--clr-5: #182433;
--clr-linear-start: #06BFFF;
--clr-linear-end: #2D73FF;
--clr-text: rgb(237, 237, 222);
}
::-webkit-scrollbar {
width: .65rem;
}
::-webkit-scrollbar-track {
background: var(--clr-3);
border-radius: var(--scrollbar-radius);
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, var(--clr-linear-start) 0%, var(--clr-linear-end) 100%);
border-radius: var(--scrollbar-radius);
}
body {
background-color: var(--clr-5);
color: var(--clr-text);
margin: 0;
font-family: "Motiva Sans", Sans-serif;
}
a, a:visited {
text-decoration: none;
color: white;
padding: 0 .25em;
transition: transform 200ms ease;
}
a:hover {
transform: scale(1.05);
}
.content {
position: absolute;
width: 100%;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.page-container {
display: grid;
grid-gap: 2rem;
justify-content: center;
}
.page {
display: flex;
background: linear-gradient(90deg, var(--clr-linear-start) 0%, var(--clr-linear-end) 100%);
font-size: 5rem;
padding: 3rem;
justify-content: center;
}
.page-container a {
border-radius: 2rem;
overflow: hidden;
padding: 0;
}
.page-container a:hover > .page {
background: linear-gradient(90deg, var(--clr-linear-start) 30%, var(--clr-linear-end) 130%);
}