summaryrefslogtreecommitdiff
path: root/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'static/src')
-rw-r--r--static/src/main.css57
1 files changed, 56 insertions, 1 deletions
diff --git a/static/src/main.css b/static/src/main.css
index 1171fe3..d7ec674 100644
--- a/static/src/main.css
+++ b/static/src/main.css
@@ -73,4 +73,59 @@
73 src: local(''), 73 src: local(''),
74 url('/static/font/rubik-v12-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ 74 url('/static/font/rubik-v12-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
75 url('/static/font/rubik-v12-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ 75 url('/static/font/rubik-v12-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
76} \ No newline at end of file 76}
77
78div pre[class*="language-"] {
79 display: inline-block;
80 padding-right: 10em;
81 padding-top: 3rem;
82 border-radius: 6px;
83 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>');
84 background-repeat: no-repeat;
85 background-position: 16px 16px;
86 box-shadow: 5px 5px 15px 0px rgba(50, 50, 50, 0.75);
87}
88
89/**
90 * okaidia theme for JavaScript, CSS and HTML
91 * Loosely based on Monokai textmate theme by http://www.monokai.nl/
92 * @author ocodia
93 */
94
95code[class*="language-"],
96pre[class*="language-"] {
97 max-width: 90%;
98 border: black;
99 color: #f8f8f2;
100 background: none;
101 text-shadow: 0 1px rgba(0, 0, 0, 0.3);
102 font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
103 text-align: left;
104 white-space: pre;
105 word-spacing: normal;
106 word-break: normal;
107 word-wrap: normal;
108 line-height: 1.5;
109
110 -moz-tab-size: 4;
111 -o-tab-size: 4;
112 tab-size: 4;
113
114 -webkit-hyphens: none;
115 -moz-hyphens: none;
116 -ms-hyphens: none;
117 hyphens: none;
118}
119
120/* Code blocks */
121pre[class*="language-"] {
122 padding: 1em;
123 margin: .5em 0;
124 overflow: auto;
125 border-radius: 0.3em;
126}
127
128:not(pre) > code[class*="language-"],
129pre[class*="language-"] {
130 background: #272822;
131}