remove unused gradient
[mdref/mdref] / public / index.css
1 * {
2 font-size: 99.9%;
3 }
4
5 html, body{
6 height: 100%;
7 min-height: 100%;
8 }
9 body, code {
10 font-family: Inconsolata, Monospace, 'Courier New', Courier, monospace;
11 }
12 body {
13 line-height: 140%;
14 font-size: 1.1em;
15 margin: 0;
16 padding: 0;
17 color: #3f3f3f;
18 }
19
20 div.page {
21 margin: auto;
22 max-width: 1200px;
23 min-height: 100%;
24 padding-bottom: 5em;
25 box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.5);
26 }
27
28 div.page>* {
29 margin-left: 1em;
30 }
31 div.page>ul, div.page>div>ul {
32 margin-left: 2em;
33 }
34
35 .sidebar {
36 float: right;
37 background: #f0f0f0;
38 border-bottom-left-radius: 10px;
39 padding: 0;
40 width: auto;
41 min-width: 200px;
42 padding-right: 1em;
43 }
44 .sidebar>ul {
45 }
46 .sidebar ul {
47 margin-left: 1em;
48 margin-top: .5em;
49 padding: 0;
50 list-style-type: none;
51 }
52
53 .sidebar .edit {
54 display: block;
55 position: relative;
56 top: 2em;
57 right: 0;
58 -webkit-transform: rotate(45deg);
59 transform: rotate(45deg);
60 text-decoration: none;
61 font-weight: bold;
62 text-shadow: 0 0 5px red;
63 float: right;
64 }
65
66 .sidebar .edit a {
67 color: white !important;
68 }
69 code {
70 border-radius: 2px;
71 padding: 0px 2px 2px 2px;
72 background: #f0f0f0;
73 color: #606060;
74 box-shadow: 0 0 1px #999;
75 }
76
77 code code {
78 display: inline;
79 padding: 0;
80 background: transparent;
81 border: none;
82 box-shadow: none;
83 }
84
85 pre>code {
86 display: inline-block;
87 padding: 1em;
88 min-width: 50%;
89 line-height: 110%;
90 }
91 pre>code, pre>code code {
92 background: #333;
93 color: #eee;
94 }
95
96 p, pre, table, dl {
97 margin: 1em 2em;
98 }
99
100 li>p {
101 margin: 1em 0;
102 }
103
104 blockquote {
105 border-top: 1px solid #800000;
106 border-bottom: 1px solid #800000;
107 background: #ffe4e1;
108 margin: 2em 0;
109 }
110
111 ul {
112 margin-top: 1em;
113 margin-bottom: 2em;
114 }
115 li {
116 margin-bottom: .5em;
117 }
118 a, h1 code>a {
119 color: #2f4f4f;
120 }
121 a:hover {
122 text-decoration: none;
123 }
124 a[href^="http:"]:after, a[href^="https:"]:after {
125 content: " ⬈";
126 }
127
128 .var {
129 color: #800000;
130 }
131 .constant {
132 color: #2e8b57;
133 }
134
135 h1 {
136 line-height: 1.5;
137 margin-left: 0 !important;
138 }
139 h1 code {
140 font-weight: normal;
141 font-size: .9em;
142 line-height: 1.33;
143 }
144
145 footer, h1, li h3, th {
146 background: #708090;
147 color: #f5f5dc;
148 }
149
150 footer, h1 {
151 margin: 0;
152 max-width: 1200px;
153 padding: 1em;
154 }
155
156 li h3 {
157 border-radius: 4px;
158 display: inline-block;
159 width: auto;
160 padding: .2em;
161 margin: .5em 0 0 0;
162 }
163
164 div.page>h3, div.page>div>h3 {
165 margin-left: 1.25em;
166 }
167 div.page>h4, div.page>div>h4 {
168 margin-left: 1.5em;
169 }
170 div.page>h5, div.page>div>h5 {
171 margin-left: 1.75em;
172 }
173 div.page>h6, div.page>div>h6 {
174 margin-left: 2em;
175 }
176
177 h1 .constant, pre>code .consant, li h3 .constant {
178 color: #98fb98;
179 }
180
181 h1 .var, pre>code .var, li h3 .var {
182 color: #f4a460;
183 }
184
185 footer a, h1 a, pre>code a, li h3 a {
186 color: #b0e0e6;
187 }
188
189 li h3 a {
190 text-decoration: none;
191 }
192 li h3 a:hover {
193 text-decoration: underline;
194 }
195
196 #disqus_thread {
197 margin-top: 8em;
198 margin-right: 2em;
199 }
200
201 footer {
202 font-size: smaller;
203 text-align: center;
204 clear: both;
205 position: fixed;
206 bottom: 0;
207 width: 100%;
208 padding: 0;
209 margin: 0 !important;
210 }
211
212 footer ul {
213 margin: 0;
214 padding: 1em 0;
215 }
216
217 footer li {
218 list-style-type: none;
219 display: inline-block;
220 margin: 0 1em;
221 }
222
223 footer a {
224 text-decoration: none;
225 }
226
227 footer a:hover {
228 text-decoration: underline;
229 }
230
231 table {
232 border-collapse: collapse;
233 }
234 th, td {
235 padding: .4em;
236 }
237 dt {
238 font-weight: bold;
239 margin-top: 1em;
240 }
241 dd {
242 line-height: 1.2em;
243 margin-left: 1em;
244 }
245 h1, footer, table, .sidebar, pre>code, li h3 {
246 box-shadow: 0 0 4px #708090;
247 }
248