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