-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
126 lines (107 loc) · 2.01 KB
/
global.css
File metadata and controls
126 lines (107 loc) · 2.01 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
118
119
120
121
122
123
124
125
126
/* VARIABLES */
:root {
--color__background: #333333;
--color__foreground: white;
--color__default: #AAAAAA;
--font-size__default: 16px;
}
/* /VARIABLES */
/* RESET */
body, body * {
box-sizing: border-box;
color: var(--color__foreground);
font-size: var(--font-size__default);
}
body {
background: var(--color__background);
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, Cantarell, "Oxygen Sans", "Helvetica Neue", sans-serif;
}
h1, h2, h3, h4, h5, h6, p, ul {
margin: 0;
padding: 0;
}
ul, li {
list-style: none;
}
/* /RESET */
/* APP */
#app {
display: flex;
flex-flow: column nowrap;
position: fixed;
width: 100%;
height: 100%;
overflow: hidden;
}
.app__header {
position: sticky;
top: 0;
padding: 20px;
}
.app__main {
flex-grow: 1;
padding: 32px 20px;
overflow: auto;
}
.app__footer {
position: relative;
display: flex;
justify-content: center;
padding: 20px;
}
.app__header--with-rule:after,
.app__footer--with-rule:before {
content: '';
position:absolute;
display: block;
width: calc(100% - (20px * 2));
height: 2px;
border-radius: 1px;
background-color: var(--color__foreground);
}
.app__header--with-rule:after {
bottom: 0;
}
.app__footer--with-rule:before {
top: 0;
}
/* /APP */
/* FORM ELEMENTS */
.button-primary {
}
.button-secondary {
display: flex;
justify-content: center;
align-items: center;
height: 40px;
padding: 0 12px;
background: var(--color__background);
border: 2px solid var(--color__foreground);
border-radius: 4px;
color: var(--color__foreground);
font-size: var(--font-size__default);
}
.button-secondary--min-width {
min-width: 198px;
}
.button-secondary__icon {
margin-right: 8px;
}
.button-secondary__icon--actor-up {
transform: translateY(-2px);
}
/* /FORM ELEMENTS */
/* UTILITY */
.all-caps {
text-transform: uppercase;
font-size: 1.3125em;
font-weight: 900;
}
.all-caps--small {
font-size: 0.5625em;
}
.all-caps--large {
font-size: 2.8125em;
}
/* /UTILITY */