all repos — NoPaste @ 5764564681738905d7c69dba74a16cbcb952874a

Resurrected - The PussTheCat.org fork of NoPaste

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}
 69h1 {
 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') 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'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
158    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,
159        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
160}
161
162/* Icons */
163
164@font-face {
165    font-family: 'icomoon';
166    src: url('data:application/x-font-woff;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBdoAAAC8AAAAYGNtYXDpQem4AAABHA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AQABwB1AAEAAAAAAAUACwAVAAEAAAAAAAYABwBLAAEAAAAAAAoAGgCKAAMAAQQJAAEADgAHAAMAAQQJAAIADgBnAAMAAQQJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
167        format('truetype');
168    font-weight: normal;
169    font-style: normal;
170    font-display: block;
171}
172
173[class^='icon-'],
174[class*=' icon-'] {
175    font-family: 'icomoon' !important;
176    speak: none;
177    font-style: normal;
178    font-weight: normal;
179    font-variant: normal;
180    text-transform: none;
181    line-height: 1;
182    -webkit-font-smoothing: antialiased;
183    -moz-osx-font-smoothing: grayscale;
184    font-size: 21px;
185}
186.icon-edit {
187    font-size: 12px;
188}
189
190.icon-question:before {
191    content: '\e900';
192}
193.icon-github:before {
194    content: '\e901';
195}
196.icon-edit:before {
197    content: '\e903';
198}
199.icon-notes:before {
200    content: '\e902';
201}
202.icon-wrap-text:before {
203    content: '\e905';
204}