style/style.css (view raw)
1/* App layout */
2
3html,
4body {
5 height: 100%;
6}
7body {
8 display: flex;
9 flex-flow: column;
10 color: #fff;
11 font: normal 14px Roboto, sans-serif;
12 background-color: #282a36;
13}
14* {
15 font-variant-ligatures: none;
16}
17
18#editor {
19 flex-grow: 1;
20 margin-top: -3px;
21 overflow: auto;
22}
23
24#controls,
25#copy,
26footer {
27 background-color: #3b3b47;
28 z-index: 10;
29}
30
31#progress {
32 min-height: 3px;
33 background: #ff79c6;
34 z-index: 15;
35 width: 0;
36}
37
38.hidden,
39select,
40#copy:not(.hidden) + #controls,
41body.readonly .hide-readonly,
42body:not(.readonly) .show-readonly,
43body.readonly:not(:hover) #footer {
44 display: none;
45}
46
47#copy-link {
48 font-family: JetBrainsMono, sans-serif;
49 width: 100%;
50}
51
52/* Styling */
53.shadow-bottom {
54 box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
55}
56.shadow-top {
57 box-shadow: rgba(0, 0, 0, 0.15) 0 -3px 10px;
58}
59a,
60a:hover,
61a:active,
62a:focus {
63 color: #fff;
64 outline: none;
65}
66#controls a,
67#footer a {
68 text-decoration: none;
69}
70#controls a:hover {
71 border-bottom: 1px solid rgba(255, 255, 255, 0.5);
72}
73
74.CodeMirror {
75 height: 100%;
76 font-family: JetBrainsMono, sans-serif;
77}
78h1 {
79 font: normal 24px JetBrainsMono, sans-serif;
80 white-space: nowrap;
81}
82.mono {
83 font-family: JetBrainsMono, sans-serif;
84}
85.pink {
86 color: #ff79c6;
87}
88
89/* Modals */
90
91.modal {
92 display: none;
93}
94.modal.is-open {
95 display: block;
96}
97.modal-content {
98 background-color: #3b3b47;
99 max-width: 600px;
100 max-height: 100vh;
101 overflow-y: auto;
102 box-sizing: border-box;
103}
104.modal-content .additional-info {
105 opacity: 0.75;
106 font-style: italic;
107 margin-top: 15px;
108 font-size: 0.95em;
109}
110.modal-overlay {
111 position: fixed;
112 background: rgba(0, 0, 0, 0.2);
113 right: 0;
114 top: 0;
115 left: 0;
116 bottom: 0;
117 z-index: 20;
118 display: flex;
119 justify-content: center;
120 align-items: center;
121}
122
123/* Form elements */
124
125#controls .ss-main {
126 width: 180px;
127}
128
129.ss-main .ss-single-selected,
130button,
131input[type='text'],
132input[type='search'] {
133 background-color: #3b3b47 !important;
134 color: #fff !important;
135 border-radius: 2px !important;
136 border: 1px solid #ccc !important;
137 font: normal 14px Roboto, sans-serif;
138 height: 26px !important;
139}
140
141input::-webkit-search-cancel-button {
142 display: none;
143}
144input::-moz-selection {
145 background-color: rgba(90, 95, 128, 0.99);
146}
147input::selection {
148 background-color: rgba(90, 95, 128, 0.99);
149}
150button {
151 cursor: pointer;
152}
153button:hover {
154 background-color: rgba(255, 255, 255, 0.1) !important;
155}
156.ss-content {
157 background-color: #282936;
158 color: #dedede;
159 font-size: 14px;
160}
161.ss-content .ss-disabled {
162 background-color: #3b3b47 !important;
163}
164
165/* Fonts */
166@font-face {
167 font-family: 'JetBrainsMono';
168 src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono@2.210/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'),
169 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono@2.210/fonts/ttf/JetBrainsMonoNL-Regular.ttf') format('truetype');
170 font-weight: 400;
171 font-style: normal;
172}
173
174@font-face {
175 font-family: 'Roboto';
176 font-style: normal;
177 font-weight: 400;
178 font-display: swap;
179 src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
180 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
181 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
182}
183
184/* Icons */
185
186@font-face {
187 font-family: 'icomoon';
188 src: url('data:application/x-font-woff;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBdoAAAC8AAAA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AAMABwA2AAEAAAAAAAQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
189 format('truetype');
190 font-weight: normal;
191 font-style: normal;
192 font-display: block;
193}
194
195[class^='icon-'],
196[class*=' icon-'] {
197 font-family: 'icomoon' !important;
198 speak: none;
199 font-style: normal;
200 font-weight: normal;
201 font-variant: normal;
202 text-transform: none;
203 line-height: 1;
204 -webkit-font-smoothing: antialiased;
205 -moz-osx-font-smoothing: grayscale;
206 font-size: 21px;
207}
208.icon-edit {
209 font-size: 12px;
210}
211
212.icon-question:before {
213 content: '\e900';
214}
215.icon-github:before {
216 content: '\e901';
217}
218.icon-edit:before {
219 content: '\e903';
220}
221.icon-notes:before {
222 content: '\e902';
223}
224.icon-wrap-text:before {
225 content: '\e905';
226}