1cd362543e698278d8b779fdca91f1acdf2141fd
custom.css
... | ... | @@ -0,0 +1,163 @@ |
1 | +@import "pygmentize-vim.css"; |
|
2 | + |
|
3 | +body, html, |
|
4 | +.markdown-body h1, |
|
5 | +.markdown-body h2, |
|
6 | +.markdown-body h3, |
|
7 | +.markdown-body h4, |
|
8 | +.markdown-body h5, |
|
9 | +.markdown-body h6, |
|
10 | +.history h1 strong, |
|
11 | +.edit h1 strong, |
|
12 | +.results h1 strong, |
|
13 | +.compare h1 strong, |
|
14 | +.highlight, |
|
15 | +#gollum-editor textarea, |
|
16 | +#wiki-history table tr td.author a { |
|
17 | + color: white; |
|
18 | + background-color: black; |
|
19 | +} |
|
20 | + |
|
21 | +.markdown-body pre { |
|
22 | + background-color: #202020; |
|
23 | +} |
|
24 | + |
|
25 | +.minibutton a, |
|
26 | +#search-submit, |
|
27 | +#gollum-editor #gollum-editor-function-bar a.function-button, |
|
28 | +#gollum-editor input#gollum-editor-submit, |
|
29 | +#gollum-editor #gollum-editor-preview { |
|
30 | + background-color: #4b4b4b; |
|
31 | + border-color: #9e9e9e; |
|
32 | + color: #fbfbfb; |
|
33 | + |
|
34 | + text-shadow: 0 1px 0 black; |
|
35 | + |
|
36 | + filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#707070', endColorstr='#575757'); |
|
37 | + background: -webkit-gradient(linear, left top, left bottom, from(#707070, to(#575757))); |
|
38 | + background: -moz-linear-gradient(top, #707070, #575757); |
|
39 | +} |
|
40 | + |
|
41 | +#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector select { |
|
42 | + background-color: #4b4b4b; |
|
43 | + border-color: #9e9e9e; |
|
44 | + color: #fbfbfb; |
|
45 | +} |
|
46 | + |
|
47 | +#head #searchbar #searchbar-fauxtext input#search-query, |
|
48 | +#gollum-editor .singleline input, |
|
49 | +#head #searchbar #searchbar-fauxtext { |
|
50 | + background: black; |
|
51 | + border-color: #9e9e9e; |
|
52 | + color: white; |
|
53 | +} |
|
54 | + |
|
55 | +#head #searchbar #searchbar-fauxtext input#search-query.ph, |
|
56 | +#gollum-editor .singleline input.ph, |
|
57 | +#wiki-history table tr td.commit-name span.time-elapsed, |
|
58 | +#footer p#last-edit, |
|
59 | +#gollum-editor #gollum-editor-function-bar #gollum-editor-format-selector label, |
|
60 | +.history h1 { |
|
61 | + color: #d7d7d7; |
|
62 | +} |
|
63 | + |
|
64 | +#head #searchbar #searchbar-fauxtext #search-submit span { |
|
65 | + background-position: -431px -28px; |
|
66 | +} |
|
67 | + |
|
68 | +#head #searchbar #searchbar-fauxtext #search-submit:hover span { |
|
69 | + background-position: -431px -3px; |
|
70 | + padding: 0; |
|
71 | +} |
|
72 | + |
|
73 | +.markdown-body code, |
|
74 | +.markdown-body tt { |
|
75 | + border: 1px solid #909090; |
|
76 | + background-color: #202020; |
|
77 | +} |
|
78 | + |
|
79 | +#wiki-history table tr { |
|
80 | + /*background-color: #ebf2f6;*/ |
|
81 | + /*background-color: #725e4f;*/ |
|
82 | + background-color: #5f6362; |
|
83 | +} |
|
84 | + |
|
85 | +#wiki-history table tr:nth-child(2n), |
|
86 | +#wiki-history table tr.alt-row { |
|
87 | + /*background-color: #f3f7fa;*/ |
|
88 | + /*background-color: #5b4b3b;*/ |
|
89 | + background-color: #4b4c4d; |
|
90 | +} |
|
91 | + |
|
92 | +#wiki-history table tr.selected { |
|
93 | + background-color: #000075 !important; |
|
94 | +} |
|
95 | + |
|
96 | +a:link, |
|
97 | +a:hover, |
|
98 | +a:visited { |
|
99 | + color: #68caff; |
|
100 | +} |
|
101 | + |
|
102 | +.highlight .err, |
|
103 | +.highlight .gd, |
|
104 | +.highlight .gd .x, |
|
105 | +.highlight .gi, |
|
106 | +.highlight .gi .x, |
|
107 | +.highlight .gc { |
|
108 | + background-color: black; |
|
109 | +} |
|
110 | + |
|
111 | +.compare .data td.line_numbers { |
|
112 | + background: #4b4b4b; |
|
113 | + border-color: #d7d7d7; |
|
114 | + color: #d7d7d7; |
|
115 | +} |
|
116 | + |
|
117 | +.compare .data { |
|
118 | + border-color: #909090; |
|
119 | +} |
|
120 | + |
|
121 | +@media all and (min-width: 940px) { |
|
122 | + #gollum-editor { |
|
123 | + border: 1px solid #828282; |
|
124 | + background: #414141; |
|
125 | + } |
|
126 | +} |
|
127 | + |
|
128 | +@media all and (min-width: 940px) { |
|
129 | + a#function-bold:hover span { background-position: 0 0; } |
|
130 | + a#function-italic:hover span { background-position: -27px 0; } |
|
131 | + a#function-underline:hover span { background-position: -54px 0; } |
|
132 | + a#function-code:hover span { background-position: -82px 0; } |
|
133 | + a#function-ul:hover span { background-position: -109px 0; } |
|
134 | + a#function-ol:hover span { background-position: -136px 0; } |
|
135 | + a#function-blockquote:hover span { background-position: -163px 0; } |
|
136 | + a#function-hr:hover span { background-position: -190px 0; } |
|
137 | + a#function-h1:hover span { background-position: -217px 0; } |
|
138 | + a#function-h2:hover span { background-position: -244px 0; } |
|
139 | + a#function-h3:hover span { background-position: -271px 0; } |
|
140 | + a#function-link:hover span { background-position: -298px 0; } |
|
141 | + a#function-image:hover span { background-position: -324px 0; } |
|
142 | + a#function-help:hover span { background-position: -405px 0; } |
|
143 | + |
|
144 | + a#function-bold span { background-position: 0 -28px; } |
|
145 | + a#function-italic span { background-position: -27px -28px; } |
|
146 | + a#function-underline span { background-position: -54px -28px; } |
|
147 | + a#function-code span { background-position: -82px -28px; } |
|
148 | + a#function-ul span { background-position: -109px -28px; } |
|
149 | + a#function-ol span { background-position: -136px -28px; } |
|
150 | + a#function-blockquote span { background-position: -163px -28px; } |
|
151 | + a#function-hr span { background-position: -190px -28px; } |
|
152 | + a#function-h1 span { background-position: -217px -28px; } |
|
153 | + a#function-h2 span { background-position: -244px -28px; } |
|
154 | + a#function-h3 span { background-position: -271px -28px; } |
|
155 | + a#function-link span { background-position: -298px -28px; } |
|
156 | + a#function-image span { background-position: -324px -28px; } |
|
157 | + a#function-help span { background-position: -405px -28px; } |
|
158 | +} |
|
159 | + |
|
160 | +/* Don't let pygmentize's definitions mess up MathJax */ |
|
161 | +.MathJax * { |
|
162 | + color: white !important; |
|
163 | +} |
pygmentize-vim.css
... | ... | @@ -0,0 +1,77 @@ |
1 | +.hll, .highlight .hll { background-color: #222222 } |
|
2 | +.c, .highlight .c { color: #000080 } /* Comment */ |
|
3 | +.err, .highlight .err { color: #cccccc; border: 1px solid #FF0000 } /* Error */ |
|
4 | +.esc, .highlight .esc { color: #cccccc } /* Escape */ |
|
5 | +.g, .highlight .g { color: #cccccc } /* Generic */ |
|
6 | +.k, .highlight .k { color: #cdcd00 } /* Keyword */ |
|
7 | +.l, .highlight .l { color: #cccccc } /* Literal */ |
|
8 | +.n, .highlight .n { color: #cccccc } /* Name */ |
|
9 | +.o, .highlight .o { color: #3399cc } /* Operator */ |
|
10 | +.x, .highlight .x { color: #cccccc } /* Other */ |
|
11 | +.p, .highlight .p { color: #cccccc } /* Punctuation */ |
|
12 | +.ch, .highlight .ch { color: #000080 } /* Comment.Hashbang */ |
|
13 | +.cm, .highlight .cm { color: #000080 } /* Comment.Multiline */ |
|
14 | +.cp, .highlight .cp { color: #000080 } /* Comment.Preproc */ |
|
15 | +.cpf, .highlight .cpf { color: #000080 } /* Comment.PreprocFile */ |
|
16 | +.c1, .highlight .c1 { color: #000080 } /* Comment.Single */ |
|
17 | +.cs, .highlight .cs { color: #cd0000; font-weight: bold } /* Comment.Special */ |
|
18 | +.gd, .highlight .gd { color: #cd0000 } /* Generic.Deleted */ |
|
19 | +.ge, .highlight .ge { color: #cccccc; font-style: italic } /* Generic.Emph */ |
|
20 | +.gr, .highlight .gr { color: #FF0000 } /* Generic.Error */ |
|
21 | +.gh, .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
|
22 | +.gi, .highlight .gi { color: #00cd00 } /* Generic.Inserted */ |
|
23 | +.go, .highlight .go { color: #888888 } /* Generic.Output */ |
|
24 | +.gp, .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
|
25 | +.gs, .highlight .gs { color: #cccccc; font-weight: bold } /* Generic.Strong */ |
|
26 | +.gu, .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
|
27 | +.gt, .highlight .gt { color: #0044DD } /* Generic.Traceback */ |
|
28 | +.kc, .highlight .kc { color: #cdcd00 } /* Keyword.Constant */ |
|
29 | +.kd, .highlight .kd { color: #00cd00 } /* Keyword.Declaration */ |
|
30 | +.kn, .highlight .kn { color: #cd00cd } /* Keyword.Namespace */ |
|
31 | +.kp, .highlight .kp { color: #cdcd00 } /* Keyword.Pseudo */ |
|
32 | +.kr, .highlight .kr { color: #cdcd00 } /* Keyword.Reserved */ |
|
33 | +.kt, .highlight .kt { color: #00cd00 } /* Keyword.Type */ |
|
34 | +.ld, .highlight .ld { color: #cccccc } /* Literal.Date */ |
|
35 | +.m, .highlight .m { color: #cd00cd } /* Literal.Number */ |
|
36 | +.s, .highlight .s { color: #cd0000 } /* Literal.String */ |
|
37 | +.na, .highlight .na { color: #cccccc } /* Name.Attribute */ |
|
38 | +.nb, .highlight .nb { color: #cd00cd } /* Name.Builtin */ |
|
39 | +.nc, .highlight .nc { color: #00cdcd } /* Name.Class */ |
|
40 | +.no, .highlight .no { color: #cccccc } /* Name.Constant */ |
|
41 | +.nd, .highlight .nd { color: #cccccc } /* Name.Decorator */ |
|
42 | +.ni, .highlight .ni { color: #cccccc } /* Name.Entity */ |
|
43 | +.ne, .highlight .ne { color: #666699; font-weight: bold } /* Name.Exception */ |
|
44 | +.nf, .highlight .nf { color: #cccccc } /* Name.Function */ |
|
45 | +.nl, .highlight .nl { color: #cccccc } /* Name.Label */ |
|
46 | +.nn, .highlight .nn { color: #cccccc } /* Name.Namespace */ |
|
47 | +.nx, .highlight .nx { color: #cccccc } /* Name.Other */ |
|
48 | +.py, .highlight .py { color: #cccccc } /* Name.Property */ |
|
49 | +.nt, .highlight .nt { color: #cccccc } /* Name.Tag */ |
|
50 | +.nv, .highlight .nv { color: #00cdcd } /* Name.Variable */ |
|
51 | +.ow, .highlight .ow { color: #cdcd00 } /* Operator.Word */ |
|
52 | +.w, .highlight .w { color: #cccccc } /* Text.Whitespace */ |
|
53 | +.mb, .highlight .mb { color: #cd00cd } /* Literal.Number.Bin */ |
|
54 | +.mf, .highlight .mf { color: #cd00cd } /* Literal.Number.Float */ |
|
55 | +.mh, .highlight .mh { color: #cd00cd } /* Literal.Number.Hex */ |
|
56 | +.mi, .highlight .mi { color: #cd00cd } /* Literal.Number.Integer */ |
|
57 | +.mo, .highlight .mo { color: #cd00cd } /* Literal.Number.Oct */ |
|
58 | +.sa, .highlight .sa { color: #cd0000 } /* Literal.String.Affix */ |
|
59 | +.sb, .highlight .sb { color: #cd0000 } /* Literal.String.Backtick */ |
|
60 | +.sc, .highlight .sc { color: #cd0000 } /* Literal.String.Char */ |
|
61 | +.dl, .highlight .dl { color: #cd0000 } /* Literal.String.Delimiter */ |
|
62 | +.sd, .highlight .sd { color: #cd0000 } /* Literal.String.Doc */ |
|
63 | +.s2, .highlight .s2 { color: #cd0000 } /* Literal.String.Double */ |
|
64 | +.se, .highlight .se { color: #cd0000 } /* Literal.String.Escape */ |
|
65 | +.sh, .highlight .sh { color: #cd0000 } /* Literal.String.Heredoc */ |
|
66 | +.si, .highlight .si { color: #cd0000 } /* Literal.String.Interpol */ |
|
67 | +.sx, .highlight .sx { color: #cd0000 } /* Literal.String.Other */ |
|
68 | +.sr, .highlight .sr { color: #cd0000 } /* Literal.String.Regex */ |
|
69 | +.s1, .highlight .s1 { color: #cd0000 } /* Literal.String.Single */ |
|
70 | +.ss, .highlight .ss { color: #cd0000 } /* Literal.String.Symbol */ |
|
71 | +.bp, .highlight .bp { color: #cd00cd } /* Name.Builtin.Pseudo */ |
|
72 | +.fm, .highlight .fm { color: #cccccc } /* Name.Function.Magic */ |
|
73 | +.vc, .highlight .vc { color: #00cdcd } /* Name.Variable.Class */ |
|
74 | +.vg, .highlight .vg { color: #00cdcd } /* Name.Variable.Global */ |
|
75 | +.vi, .highlight .vi { color: #00cdcd } /* Name.Variable.Instance */ |
|
76 | +.vm, .highlight .vm { color: #00cdcd } /* Name.Variable.Magic */ |
|
77 | +.il, .highlight .il { color: #cd00cd } /* Literal.Number.Integer.Long */ |
start_wiki.sh
... | ... | @@ -0,0 +1,2 @@ |
1 | +#!/bin/bash |
|
2 | +gollum /home/orbit/ss13-tfp-wiki --ref main --css --assets /home/orbit/ss13-tfp-wiki --no-edit --emoji |