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-overlay {
105 position: fixed;
106 background: rgba(0, 0, 0, 0.2);
107 right: 0;
108 top: 0;
109 left: 0;
110 bottom: 0;
111 z-index: 20;
112 display: flex;
113 justify-content: center;
114 align-items: center;
115}
116
117/* Form elements */
118
119#controls .ss-main {
120 width: 180px;
121}
122
123.ss-main .ss-single-selected,
124button,
125input[type='text'],
126input[type='search'] {
127 background-color: #3b3b47 !important;
128 color: #fff !important;
129 border-radius: 2px !important;
130 border: 1px solid #ccc !important;
131 font: normal 14px Roboto, sans-serif;
132 height: 26px !important;
133}
134
135input::-webkit-search-cancel-button {
136 display: none;
137}
138input::-moz-selection {
139 background-color: rgba(90, 95, 128, 0.99);
140}
141input::selection {
142 background-color: rgba(90, 95, 128, 0.99);
143}
144button {
145 cursor: pointer;
146}
147button:hover {
148 background-color: rgba(255, 255, 255, 0.1) !important;
149}
150.ss-content {
151 background-color: #282936;
152 color: #dedede;
153 font-size: 14px;
154}
155.ss-content .ss-disabled {
156 background-color: #3b3b47 !important;
157}
158
159/* Fonts */
160@font-face {
161 font-family: 'JetBrainsMono';
162 src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono@2.210/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'),
163 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono@2.210/ttf/JetBrainsMonoNL-Regular.ttf') format('truetype');
164 font-weight: 400;
165 font-style: normal;
166}
167
168@font-face {
169 font-family: 'Roboto';
170 font-style: normal;
171 font-weight: 400;
172 font-display: swap;
173 src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
174 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,
175 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
176}
177
178/* Icons */
179
180@font-face {
181 font-family: 'icomoon';
182 src: url('data:application/x-font-woff;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBdoAAAC8AAAAYGNtYXDpQem4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5Zjy4A24AAAGAAAAEFGhlYW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AMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
183 format('truetype');
184 font-weight: normal;
185 font-style: normal;
186 font-display: block;
187}
188
189[class^='icon-'],
190[class*=' icon-'] {
191 font-family: 'icomoon' !important;
192 speak: none;
193 font-style: normal;
194 font-weight: normal;
195 font-variant: normal;
196 text-transform: none;
197 line-height: 1;
198 -webkit-font-smoothing: antialiased;
199 -moz-osx-font-smoothing: grayscale;
200 font-size: 21px;
201}
202.icon-edit {
203 font-size: 12px;
204}
205
206.icon-question:before {
207 content: '\e900';
208}
209.icon-github:before {
210 content: '\e901';
211}
212.icon-edit:before {
213 content: '\e903';
214}
215.icon-notes:before {
216 content: '\e902';
217}
218.icon-wrap-text:before {
219 content: '\e905';
220}