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#editor {
16 flex-grow: 1;
17 margin-top: -3px;
18 overflow: auto;
19}
20
21#controls,
22#copy,
23#description,
24footer {
25 background-color: #3b3b47;
26 z-index: 10;
27}
28
29#progress {
30 min-height: 3px;
31 background: #ff79c6;
32 z-index: 15;
33 width: 0;
34}
35
36.hidden,
37select,
38#copy:not(.hidden) + #controls,
39body.readonly .hide-readonly,
40body:not(.readonly) .show-readonly {
41 display: none;
42}
43
44#copy-link {
45 font-family: JetBrainsMono, sans-serif;
46 width: 100%;
47}
48
49/* Styling */
50.shadow-bottom {
51 box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
52}
53.shadow-top {
54 box-shadow: rgba(0, 0, 0, 0.15) 0 -3px 10px;
55}
56a,
57a:hover,
58a:active {
59 color: #fff;
60}
61#controls a,
62#footer a {
63 text-decoration: none;
64}
65.CodeMirror {
66 height: 100%;
67 font-family: JetBrainsMono, sans-serif;
68}
69.title {
70 font: normal 24px JetBrainsMono, sans-serif;
71 white-space: nowrap;
72}
73.mono {
74 font-family: JetBrainsMono, sans-serif;
75}
76#description {
77 display: block;
78 position: fixed;
79 top: 0;
80 margin: 45px;
81 left: 0;
82 max-width: 370px;
83}
84#overlay {
85 /* Used to un-hover on mobile */
86 position: fixed;
87 background: rgba(0, 0, 0, 0.3);
88 right: 0;
89 top: 0;
90 left: 0;
91 bottom: 0;
92 z-index: 20;
93}
94
95#description b {
96 font-weight: normal;
97 color: #ff79c6;
98}
99
100/* Form elements */
101
102#controls .ss-main {
103 width: 180px;
104}
105
106.ss-main .ss-single-selected,
107button,
108input[type='text'],
109input[type='search'] {
110 background-color: #3b3b47 !important;
111 color: #fff !important;
112 border-radius: 2px !important;
113 border: 1px solid #ccc !important;
114 font: normal 14px Roboto, sans-serif;
115 height: 26px !important;
116}
117
118input::-webkit-search-cancel-button {
119 display: none;
120}
121input::-moz-selection {
122 background-color: rgba(90, 95, 128, 0.99);
123}
124input::selection {
125 background-color: rgba(90, 95, 128, 0.99);
126}
127button {
128 cursor: pointer;
129}
130button:hover {
131 background-color: rgba(255, 255, 255, 0.1) !important;
132}
133.ss-content {
134 background-color: #282936;
135 color: #dedede;
136 font-size: 14px;
137}
138.ss-content .ss-disabled {
139 background-color: #3b3b47 !important;
140}
141
142/* Fonts */
143@font-face {
144 font-family: 'JetBrainsMono';
145 src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2')
146 format('woff2'),
147 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
148 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype');
149 font-weight: 400;
150 font-style: normal;
151}
152
153@font-face {
154 font-family: 'Roboto';
155 font-style: normal;
156 font-weight: 400;
157 font-display: swap;
158 src: local('Roboto'), local('Roboto-Regular'),
159 url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
160 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,
161 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
162}
163
164/* Icons */
165.icon {
166 display: inline-block;
167 font-size: 21px;
168 width: 1em;
169 height: 1em;
170 stroke-width: 0;
171 stroke: currentColor;
172 fill: currentColor;
173}
174.icon-edit {
175 font-size: 16px;
176 margin: -3px 0;
177}