-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
executable file
·117 lines (100 loc) · 1.88 KB
/
main.css
File metadata and controls
executable file
·117 lines (100 loc) · 1.88 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
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
html {
font-family: sans-serif;
font-size: 100%;
height: 100%;
}
body {
min-height: 100%;
margin: 0;
color: #fff;
background: #396afc; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2948ff, #396afc); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2948ff, #396afc); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.appWrapper {
width: 90%;
max-width: 960px;
margin: 0 auto;
}
.appHeader {
padding: 1.5em 1em;
}
.appHeader-title {
margin: 0;
text-align: center;
}
.varsList {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(4, 20%);
grid-gap: 5%;
justify-content: center;
}
.varsList-item {
margin-bottom: 1.5rem;
text-align: center;
box-sizing: border-box;
}
.varsList-item-link {
display: block;
padding: 8px;
border: 1px solid #fff;
border-radius: 5px;
color: #fff;
background: #396afc;
box-shadow: 0px 6px 33px -9px rgba(0,0,0,0.75);
text-decoration: none;
}
.varsList-item-value {
font-size: 3em;
}
.varsList-item-name {
font-size: 1em;
}
@media (max-width: 52em) {
.varsList {
grid-template-columns: repeat(3, 30%);
grid-gap: 3%;
justify-content: center;
}
}
@media (max-width: 38em) {
.varsList {
grid-template-columns: repeat(2, 45%);
grid-gap: 5%;
justify-content: center;
}
}
@media (max-width: 26em) {
.varsList {
display: block;
}
.varsList-item {
width: 100%;
}
}
.innerPage {
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #fff;
color: #333;
}
.innerPage-open {
display: block;
}
.innerPage-wrapper {
width: 90%;
max-width: 960px;
margin: 0 auto;
}
.innerPage-header {
display: flex;
align-items: center;
justify-content: space-between;
}