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