forked from geode-sdk/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.css
More file actions
145 lines (120 loc) · 2.61 KB
/
Copy pathdefault.css
File metadata and controls
145 lines (120 loc) · 2.61 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
html {
height: 100%;
tab-size: 4;
}
body {
margin: 0;
padding: 0;
height: 100%;
background: var(--flash-body-bg);
color: var(--flash-white);
display: grid;
grid-template-columns: minmax(1rem, 26.5rem) 1fr;
grid-template-rows: 100%;
}
@media only screen and (max-device-width: 250px) {
body > .overlay.theme {
display: none;
}
}
@media only screen and (max-device-width: 800px) {
body {
grid-template-columns: 1fr;
}
nav {
position: absolute;
width: 100%;
transition: opacity .25s;
}
nav.collapsed {
opacity: 0%;
pointer-events: none;
}
nav:not(.collapsed) {
opacity: 100%;
}
nav:not(.collapsed) ~ .overlay.theme {
display: none;
}
body > .overlay.menu {
display: block;
}
}
@media only screen and (min-device-width: 800px) and (max-device-width: 1100px) {
body {
grid-template-columns: 1fr;
}
nav {
position: absolute;
width: 30rem;
transition: left .25s;
}
nav:not(.collapsed) {
left: 0rem;
box-shadow: .25rem 0rem .5rem var(--flash-shadow);
}
nav.collapsed {
left: -30rem;
}
body > .overlay.menu {
display: block;
}
}
@media only screen and (min-device-width: 1100px) {
body > .overlay.menu {
display: none;
}
}
body > .overlay.menu {
left: 1rem;
}
body > .overlay.theme {
right: 1rem;
}
body > .overlay {
top: 1rem;
position: absolute;
display: flex;
flex-direction: row;
border-radius: 9999px;
box-shadow: 0 .25rem .5rem var(--flash-shadow);
z-index: 4;
}
body > .overlay > button {
background-color: var(--flash-dark);
color: var(--flash-light);
border: none;
padding: .35rem;
padding-left: 1rem;
padding-right: 1rem;
}
body > .overlay > button:first-child {
border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;
}
body > .overlay > button:last-child {
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
}
body > .overlay > button:hover:not(.selected) {
background-color: var(--flash-less-dark);
cursor: pointer;
}
body > .overlay > button.selected {
background-color: var(--flash-tab-selected-bg);
color: var(--flash-tab-selected-color);
}
body > .overlay > button > .feather {
height: 1.25rem;
}
.version {
font-weight: normal;
color: var(--flash-light);
margin-left: .25rem;
}
.stretch-apart {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
}