forked from asifbacchus/ab-particles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.scss
79 lines (68 loc) · 1.06 KB
/
index.scss
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
/* styles of index */
/*
import partials
*/
@import 'reset';
@import 'palette';
body {
background-color: var(--col-bg);
color: var(--col-text);
font-family: 'Montserrat', sans-serif;
font-size: 1.6rem;
line-height: 1.6rem;
}
main {
flex: 1;
}
header {
align-items: center;
display: flex;
flex-direction: column;
}
footer {
display: flex;
font-size: 1.5rem;
line-height: 1.85rem;
}
h1 {
font-size: 5rem;
line-height: 5rem;
margin-bottom: 1rem;
}
h2 {
font-size: 3rem;
line-height: 3rem;
margin-bottom: 5rem;
}
p {
margin-bottom: 1.5rem;
}
a {
color: inherit;
font-weight: bold;
text-decoration: underline;
transition: all 0.5s ease;
&:hover,
&:focus,
&:active {
color: var(--col-link);
}
}
#particles {
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: -999;
}
.wrapper {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100%;
padding: 2rem;
}
.spacer {
flex: 1;
}