-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
107 lines (98 loc) · 2.06 KB
/
layout.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
.container {
padding: var(--length-md1);
display: grid;
grid-gap: var(--length-md1);
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(12, auto);
grid-template-areas:
"headline1 headline2"
"list list"
"growth growth"
"engagement engagement"
"regions regions"
"activity activity"
"authors authors";
}
@media only screen and (min-width: 800px) {
.container {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(12, auto);
grid-template-areas:
"headline1 headline2 list list"
"engagement growth growth regions"
"authors authors activity activity";
width: 800px;
margin: 0 auto;
}
}
/*
@media only screen and (min-width: 600px) {
.container {
grid-template-areas:
"headline1 headline2"
"list list"
"growth growth"
"engagement regions"
"activity activity"
"authors authors";
width: 800px;
margin: 0 auto;
}
} */
@keyframes hide {
0% { opacity: 1; visibility: visible; }
100% { opacity: 0; visibility: hidden; }
}
.preloader{
position: fixed;
z-index: 2;
top: 0;
left: 0;
display: grid;
place-items: center;
width: 100%;
height: 100%;
background: var(--color-background);
opacity: 0;
visibility: hidden;
animation: hide 0.6s linear;
}
@keyframes spin {
100% { transform: rotate(360deg) }
}
.spinner{
width: var(--length-xl1);
height: var(--length-xl1);
border-radius: 50%;
border: var(--length-sm2) solid var(--color-default);
border-top-color: var(--color-primary);
animation: spin 1s infinite linear;
}
.sidebar {
position: fixed;
z-index: 1;
top: 0;
left: 0;
display: none;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
width: var(--length-lg2);
height: 100%;
background: var(--color-card);
}
.sidebar .uil {
font-size: var(--lenght-md3);
cursor: pointer;
}
@media only screen and (min-width: 800px) {
.sidebar {
display: flex;
}
}
.sidebar-top,
.sidebar-bottom {
display: grid;
place-items: center;
height: var(--length-lg3);
}