diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/style.css | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css index 2cd09ea..46d10de 100644 --- a/static/style.css +++ b/static/style.css | |||
| @@ -77,4 +77,165 @@ details[open] > summary:before { | |||
| 77 | margin-bottom: 1rem; | 77 | margin-bottom: 1rem; |
| 78 | border-radius: 3px; | 78 | border-radius: 3px; |
| 79 | width: 50vw; | 79 | width: 50vw; |
| 80 | position:relative; | ||
| 81 | } | ||
| 82 | |||
| 83 | .info-link { | ||
| 84 | position:absolute; | ||
| 85 | right: 10px; | ||
| 86 | bottom: 10px; | ||
| 87 | border-radius: 45%; | ||
| 88 | border: none; | ||
| 89 | padding: 6px; | ||
| 90 | display: flex; | ||
| 91 | align-items: center; | ||
| 92 | justify-content: center; | ||
| 93 | background-color: #A6C8F1; | ||
| 94 | max-height: 10px; | ||
| 95 | max-width: 10px; | ||
| 96 | font-size: 10px; | ||
| 97 | color: #FFFFFF; | ||
| 98 | } | ||
| 99 | |||
| 100 | |||
| 101 | .uk-badge { | ||
| 102 | background-color: #99C1F1; | ||
| 103 | padding: 15px; | ||
| 104 | margin: 5px; | ||
| 105 | } | ||
| 106 | |||
| 107 | |||
| 108 | div pre[class*="language-"] { | ||
| 109 | display: inline-block; | ||
| 110 | padding-right: 10em; | ||
| 111 | padding-top: 3rem; | ||
| 112 | border-radius: 6px; | ||
| 113 | background-image: url('data:image/svg+xml;utf8, <svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fillRule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="%23FF5F56" stroke="%23E0443E" strokeWidth=".5" /><circle cx="26" cy="6" r="6" fill="%23FFBD2E" stroke="%23DEA123" strokeWidth=".5" /><circle cx="46" cy="6" r="6" fill="%2327C93F" stroke="%231AAB29" strokeWidth=".5" /></g></svg>'); | ||
| 114 | background-repeat: no-repeat; | ||
| 115 | background-position: 16px 16px; | ||
| 116 | box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); | ||
| 117 | } | ||
| 118 | |||
| 119 | /** | ||
| 120 | * okaidia theme for JavaScript, CSS and HTML | ||
| 121 | * Loosely based on Monokai textmate theme by http://www.monokai.nl/ | ||
| 122 | * @author ocodia | ||
| 123 | */ | ||
| 124 | |||
| 125 | code[class*="language-"], | ||
| 126 | pre[class*="language-"] { | ||
| 127 | border: black; | ||
| 128 | color: #f8f8f2; | ||
| 129 | background: none; | ||
| 130 | text-shadow: 0 1px rgba(0, 0, 0, 0.3); | ||
| 131 | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; | ||
| 132 | text-align: left; | ||
| 133 | white-space: pre; | ||
| 134 | word-spacing: normal; | ||
| 135 | word-break: normal; | ||
| 136 | word-wrap: normal; | ||
| 137 | line-height: 1.5; | ||
| 138 | |||
| 139 | -moz-tab-size: 4; | ||
| 140 | -o-tab-size: 4; | ||
| 141 | tab-size: 4; | ||
| 142 | |||
| 143 | -webkit-hyphens: none; | ||
| 144 | -moz-hyphens: none; | ||
| 145 | -ms-hyphens: none; | ||
| 146 | hyphens: none; | ||
| 147 | } | ||
| 148 | |||
| 149 | /* Code blocks */ | ||
| 150 | pre[class*="language-"] { | ||
| 151 | padding: 1em; | ||
| 152 | margin: .5em 0; | ||
| 153 | overflow: auto; | ||
| 154 | border-radius: 0.3em; | ||
| 155 | } | ||
| 156 | |||
| 157 | :not(pre) > code[class*="language-"], | ||
| 158 | pre[class*="language-"] { | ||
| 159 | background: #272822; | ||
| 160 | } | ||
| 161 | |||
| 162 | /* Inline code */ | ||
| 163 | :not(pre) > code[class*="language-"] { | ||
| 164 | padding: .1em; | ||
| 165 | border-radius: .3em; | ||
| 166 | white-space: normal; | ||
| 167 | } | ||
| 168 | |||
| 169 | .token.comment, | ||
| 170 | .token.prolog, | ||
| 171 | .token.doctype, | ||
| 172 | .token.cdata { | ||
| 173 | color: slategray; | ||
| 174 | } | ||
| 175 | |||
| 176 | .token.punctuation { | ||
| 177 | color: #f8f8f2; | ||
| 178 | } | ||
| 179 | |||
| 180 | .namespace { | ||
| 181 | opacity: .7; | ||
| 182 | } | ||
| 183 | |||
| 184 | .token.property, | ||
| 185 | .token.tag, | ||
| 186 | .token.constant, | ||
| 187 | .token.symbol, | ||
| 188 | .token.deleted { | ||
| 189 | color: #f92672; | ||
| 190 | } | ||
| 191 | |||
| 192 | .token.boolean, | ||
| 193 | .token.number { | ||
| 194 | color: #ae81ff; | ||
| 195 | } | ||
| 196 | |||
| 197 | .token.selector, | ||
| 198 | .token.attr-name, | ||
| 199 | .token.string, | ||
| 200 | .token.char, | ||
| 201 | .token.builtin, | ||
| 202 | .token.inserted { | ||
| 203 | color: #a6e22e; | ||
| 204 | } | ||
| 205 | |||
| 206 | .token.operator, | ||
| 207 | .token.entity, | ||
| 208 | .token.url, | ||
| 209 | .language-css .token.string, | ||
| 210 | .style .token.string, | ||
| 211 | .token.variable { | ||
| 212 | color: #f8f8f2; | ||
| 213 | } | ||
| 214 | |||
| 215 | .token.atrule, | ||
| 216 | .token.attr-value, | ||
| 217 | .token.function, | ||
| 218 | .token.class-name { | ||
| 219 | color: #e6db74; | ||
| 220 | } | ||
| 221 | |||
| 222 | .token.keyword { | ||
| 223 | color: #66d9ef; | ||
| 224 | } | ||
| 225 | |||
| 226 | .token.regex, | ||
| 227 | .token.important { | ||
| 228 | color: #fd971f; | ||
| 229 | } | ||
| 230 | |||
| 231 | .token.important, | ||
| 232 | .token.bold { | ||
| 233 | font-weight: bold; | ||
| 234 | } | ||
| 235 | .token.italic { | ||
| 236 | font-style: italic; | ||
| 237 | } | ||
| 238 | |||
| 239 | .token.entity { | ||
| 240 | cursor: help; | ||
| 80 | } \ No newline at end of file | 241 | } \ No newline at end of file |
