-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (115 loc) · 1.54 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
125
126
127
128
129
130
131
*
Resets
*/
*,
*:before,
*:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
height: 100%;
}
body {
min-height: 100%;
line-height: 1;
font-family: sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 100%;
}
input,
select,
option,
optgroup,
textarea,
button,
pre,
code {
font-size: 100%;
font-family: inherit;
}
ol,
ul {
list-style: none;
}
/*
General Styles
*/
/*
Universal
*/
:root {
--light: #fff;
--light-accent: #f9f9fb;
--dark: #000;
--dark-accent: #222;
--dark-accent-action: #111;
--action: #563d7c;
--action-accent: #8570a5;
--disabled: #aaa;
--error: #ff0022;
--circle-color: #ffb100;
}
* {
transition: background-color ease-in .5s;
}
/*
Tags
*/
header {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
header,
footer {
padding: 2rem;
}
main {
height: calc(100vh - 6rem);
display: flex;
justify-content: center;
align-items: stretch;
border-top: double 1rem;
}
/*
Classes
*/
.dark header,
.dark footer {
background-color: var(--dark);
color: var(--light);
}
.dark main {
background-color: var(--dark-accent);
color: var(--light);
border-top: solid .5rem var(--disabled);
}
.light header,
.light footer {
background-color: var(--light);
color: var(--dark);
}
.light main {
background-color: var(--light-accent);
color: var(--dark);
}
/*
IDs
*/
#toggle {
font-size: 1.52em;
margin: 0;
padding: 0;
background: transparent;
border: none;
cursor: pointer;
text-shadow: 0px 0px .5rem var(--light-accent);
}