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