From baed99b5a100b4ad4ee9083d396d5c254e49a715 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Mon, 13 Apr 2020 22:48:47 +0200 Subject: added info page --- static/style.css | 161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) (limited to 'static') 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 { margin-bottom: 1rem; border-radius: 3px; width: 50vw; + position:relative; +} + +.info-link { + position:absolute; + right: 10px; + bottom: 10px; + border-radius: 45%; + border: none; + padding: 6px; + display: flex; + align-items: center; + justify-content: center; + background-color: #A6C8F1; + max-height: 10px; + max-width: 10px; + font-size: 10px; + color: #FFFFFF; +} + + +.uk-badge { + background-color: #99C1F1; + padding: 15px; + margin: 5px; +} + + +div pre[class*="language-"] { + display: inline-block; + padding-right: 10em; + padding-top: 3rem; + border-radius: 6px; + background-image: url('data:image/svg+xml;utf8, '); + background-repeat: no-repeat; + background-position: 16px 16px; + box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75); +} + +/** + * okaidia theme for JavaScript, CSS and HTML + * Loosely based on Monokai textmate theme by http://www.monokai.nl/ + * @author ocodia + */ + +code[class*="language-"], +pre[class*="language-"] { + border: black; + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; + border-radius: 0.3em; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #272822; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #f8f8f2; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #f92672; +} + +.token.boolean, +.token.number { + color: #ae81ff; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #a6e22e; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} + +.token.atrule, +.token.attr-value, +.token.function, +.token.class-name { + color: #e6db74; +} + +.token.keyword { + color: #66d9ef; +} + +.token.regex, +.token.important { + color: #fd971f; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; } \ No newline at end of file -- cgit v1.3