-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (107 loc) · 2.19 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
112
113
114
115
116
117
118
119
120
121
122
123
124
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;700&display=swap');
@import 'styles/boilerplate.css';
@import 'styles/wrappers.css';
@import 'styles/buttons.css';
@import 'styles/forms.css';
@import 'styles/grid.css';
@import 'styles/separator.css';
@import 'styles/cards.css';
@import 'styles/tables.css';
@import 'styles/code.css';
@import 'styles/pills.css';
@import 'styles/links.css';
/* === example only stuff === */
.example > * {
text-align: center;
border-radius: var(--radius);
padding: var(--gap-sm) var(--gap-xs);
}
.lab {
font-size: var(--font-lg);
}
footer {
align-items: center;
}
footer > p {
padding: 0 !important;
}
.hero {
color: white;
align-items: center;
min-height: 500px;
font-size: 2rem;
position: relative;
background-image: linear-gradient(
135deg,
black 0%,
var(--black) 20%,
var(--darker-gray) 50%,
var(--dark-primary) 60%,
var(--dark-secondary) 100%);
background-size: 300%;
animation: backgroundMagic 20s linear infinite;
}
.hero small {
color: var(--light-gray);
}
.hero h1 {
text-shadow: 1px 1px 0 var(--dark-primary);
transition: 0.2s;
}
.hero:hover h1 {
text-shadow: 2px 2px 0 var(--dark-primary), -2px -2px 0 var(--dark-secondary);
transition: 0.2s;
}
@keyframes backgroundMagic {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
a[name] {
position: relative;
top: -1.6rem;
}
.outside {
position: sticky;
top: var(--gap-lg);
left: 0;
margin-left: calc(100% + var(--gap-md));
z-index: 1;
height: 0;
}
nav {
width: 200px;
}
nav.avoid-container {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
nav.avoid-container + .avoid-container {
margin-top: 0;
}
nav a {
display: block;
position: relative;
border-radius: var(--radius);
margin-bottom: var(--gap-xs);
background-color: var(--lighter-gray);
letter-spacing: 1px;
text-transform: uppercase;
text-decoration: none;
padding: var(--gap-xs);
transition: 0.2s;
}
nav a:last-child {
margin-bottom: 0;
}
nav a[data-selected="true"] {
box-shadow: 2px 2px 0 var(--dark-primary);
top: -2px;
left: -2px;
}
@media (max-width: 1424px) {
nav {
opacity: 0;
transition: 0.2s;
}
}