UNPKG

9 kBCSSView Raw
1body {
2 padding-top: 40px; /* 40px to make the container go all the way to the bottom of the topbar */
3 font-family: "Ubuntu";
4 background-image: url(/img/bodybg.png);
5}
6
7a[href^="https://"],
8a[href^="http://"] {
9 background: url(/img/ext.png) center right no-repeat;
10 padding-right: 13px;
11}
12
13a.logout i {
14 color: orange;
15 margin-left: .5em;
16}
17
18.code a[href^="https://"],
19.code a[href^="http://"] {
20 background: none;
21 padding-right: 0;
22}
23
24p.user {
25 color: white;
26 padding: 8px 0 0;
27 margin-bottom: 0px;
28 margin-right: -20px;
29}
30
31#main {
32 background-color: white;
33 box-shadow: 0 0 5px silver;
34 z-index: 2;
35}
36
37#content {
38 padding: 20px 5px;
39 padding-bottom: 5px;
40 overflow: hidden;
41}
42
43#content img {
44 display: block;
45 max-width: 100%;
46 height: auto;
47}
48
49#content.show li {
50 line-height: 1.92;
51}
52
53#content.show ul >li:first-child {
54 margin-top: 4px;
55}
56
57.modal-body #content {
58 box-shadow: none;
59 padding: 10px;
60 overflow: hidden;
61}
62
63.modal-content {
64 border-radius: 0;
65}
66
67.modal-dialog {
68 margin-top: 5rem;
69}
70
71.modal-dialog .modal-header {
72 background-color: #f1f1f1
73}
74
75.modal-dialog .modal-header h3 {
76 margin: 0;
77 font-weight: bold;
78}
79
80blockquote {
81 text-indent: -1ex;
82 padding-right: 15px;
83 color: #553;
84 font-size: 14px;
85 border-left-color: #e6f1f6
86}
87
88blockquote p:before {
89 content: '“';
90}
91
92blockquote p:after {
93 content: '”';
94}
95
96label {
97 font-weight: bold;
98}
99
100p {
101 margin-bottom: 20px;
102 line-height: 1.92;
103}
104
105hr {
106 border-color: #e1e1e1;
107}
108
109dl.search-results dd {
110 margin-bottom: 15px;
111 margin-left: 20px;
112}
113
114dl.search-results dt {
115 font-size: 120%;
116}
117
118h2,
119h1 {
120 border-bottom: 1px solid #ddd;
121 font-family:"Ubuntu Condensed";
122 margin: 0 0 20px 0;
123}
124
125h1 {
126 font-size: 32px;
127}
128
129h2 {
130 font-size: 24px;
131}
132
133h3 {
134 font-size: 18px;
135}
136
137h3 {
138 margin: 0 0 10px 0;
139}
140
141h1 a, h1 a:hover,
142h2 a, h2 a:hover,
143h3 a, h3 a:hover,
144h4 a, h4 a:hover {
145 color: inherit;
146}
147
148hr {
149 background: transparent url(/img/hr-bg.png) repeat-x 0 0;
150 border: 0 none;
151 color: #ccc;
152 height: 4px;
153 padding: 0;
154 margin: 10px 0;
155}
156
157#content > table {
158 display: block;
159 width: 100%;
160 overflow: auto;
161 margin-bottom: 16px;
162}
163
164#content > table td,
165#content > table th {
166 padding: 6px 13px;
167 border: 1px solid #ddd;
168}
169
170#content > table thead {
171 background-color: #eee;
172}
173
174#content .history img {
175 display: inline;
176}
177
178.history td:first-child {
179 width: 10px;
180}
181
182.history td:nth-child(3) {
183 white-space: nowrap;
184}
185
186.history td:nth-child(4) {
187 max-width: 200px;
188 text-overflow: ellipsis;
189 overflow: hidden;
190}
191
192.history td.revert a {
193 color: black;
194 font-size: 16px;
195}
196
197.page-param {
198 color: gray;
199}
200
201.compare {
202 font-family: Consolas, monospace;
203 font-size: 12px;
204}
205
206.compare td {
207 padding: 0 3px;
208 border-top-width: 0
209}
210
211.compare .gd {
212 background-color: #ffdddd;
213}
214
215.compare .gc {
216 color: #999999;
217 background-color: #EAF2F5;
218}
219
220.compare .gi {
221 background-color: #ddffdd;
222}
223
224.compare .ln {
225 width: 1%;
226 color: #999999;
227 background-color: #EAF2F5;
228 text-align: right;
229 border-bottom-color: transparent;
230}
231
232.input-group.search {
233 max-width: 250px;
234}
235
236.input-group.search input {
237 color: #fff;
238 background-color: #515151;
239 border-color: #111;
240}
241
242/* Overrides Bootstrap */
243
244.navbar-right {
245 float: right;
246}
247
248.navbar-form {
249 padding: 0;
250 margin-top: 5px;
251}
252
253.navbar-form.search {
254 display: none;
255}
256
257.navbar-header {
258 width: 100%;
259}
260
261.navbar-brand {
262 overflow: hidden;
263 max-width: 60%;
264}
265
266.navbar-inverse {
267 background-color: rgba(0,0,0);
268}
269
270.alert {
271 box-shadow: 0 0 5px silver;
272 border-radius: 0;
273}
274
275.alert ul {
276 padding-left: 1em;
277}
278
279.alert li:last-child {
280 margin-bottom: 0
281}
282
283.navbar-inverse .navbar-inner {
284 background-image: none;
285}
286
287.jumbotron {
288 margin-bottom: 0;
289}
290
291code {
292 white-space: auto;
293 color: #555;
294 border-radius: 0;
295 white-space: nowrap;
296 background-color: #f7f7f9;
297 border: 1px solid #e1e1e8;
298}
299
300code.md-code {
301 background-color: transparent;
302 white-space: nowrap;
303 padding: 0;
304 display: block;
305 margin-bottom: 20px;
306 box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
307 border-width: 0;
308}
309
310code.md-code code {
311 padding: 0; /* WTF, Bootstrap? */
312 border-width: 0;
313}
314
315code.plain {
316 padding: 0;
317}
318
319ol, ul {
320 margin-bottom: 20px;
321}
322
323p + ol,
324p + ul {
325 margin-top: -15px;
326}
327
328.doc-list h4 {
329 margin: 0;
330 padding: 10px;
331 background-color: #e6f1f6;
332}
333
334ul.doc-list {
335 margin: 0;
336 padding: 0;
337}
338
339ul.doc-list > li {
340 list-style-type: none;
341 box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
342 margin-bottom: 20px;
343}
344
345ul.doc-list > li:hover {
346 box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
347}
348
349.footer {
350 background-color: white;
351 border-top: 1px solid #c1c1c1;
352 color: #c1c1c1;
353 padding: 25px;
354 margin: 0;
355 font-size: 90%;
356}
357
358ul.doc-list > li .content {
359 font-size: 90%;
360 color: #808080;
361 background-color: transparent;
362 box-shadow: none;
363}
364
365ul.doc-list > li .meta {
366 background-color: white;
367 border-bottom: 1px solid #e6f1f6;
368
369 clear: both;
370 padding: 2px 10px;
371}
372
373ul.doc-list > li .date {
374 border-bottom: 1px dotted gray;
375}
376
377ul.doc-list > li .message {
378 padding: 10px;
379}
380
381.page-actions {
382 float: right;
383 margin: 8px 10px 10px 0;
384 padding: 0;
385}
386
387.page-actions li {
388 list-style-type: none;
389 display: inline-block;
390}
391
392.doc-list .page-actions a {
393 font-size: 18px
394}
395
396.tools {
397 position: fixed;
398 z-index: 4;
399 margin-top: -62px;
400 background-color: rgba(27,27,27,.3);
401 border: 1px solid gray;
402 padding: 0px 5px;
403 right: 0;
404 border-bottom-left-radius: 5px;
405 border-bottom-right-radius: 5px;
406}
407
408.tools > ul {
409 position: relative;
410 text-align: center;
411 margin: 0;
412 padding: 0;
413 line-height: 250%;
414 background-color: rgba(27,27,27,0);
415 border-bottom-left-radius: 5px;
416}
417
418.tools > ul > li {
419 display: inline;
420 list-style-type: none;
421}
422
423.page-actions a.btn,
424.tools a.btn {
425 font-size: 18px;
426 padding: 0 10px;
427 margin-bottom: -3px;
428 background-color: #f5f5f5;
429}
430
431.page-actions a.hover,
432.tools a:hover {
433 color: #4183c4;
434}
435
436.tools-handle {
437 background-color: #4183c4;
438 border-bottom-left-radius: 5px;
439 border-bottom-right-radius: 5px;
440 position: absolute;
441 width: 35px;
442 height: 14px;
443 right: 0;
444 left: 75%;
445 color: white;
446 top: 62px;
447 text-align: center;
448 font-size: 9px;
449 line-height: 12px;
450 margin: 0;
451}
452
453/* Needed for wideArea */
454.markItUpHeader {
455 position: relative;
456 z-index: 2;
457}
458
459.markItUpEditor {
460 height: 500px !important;
461 font-family: Consolas, monospace !important;
462}
463
464.toolbar {
465 padding: 0;
466 margin: 0;
467 text-align: right
468}
469
470.toolbar li {
471 list-style-type: none;
472 display: inline-block;
473 margin-right: 8px;
474 width: 16px;
475 height: 16px;
476}
477
478.toolbar li span {
479 display: inline-block;
480 width: 16px;
481 height: 16px;
482 cursor: pointer;
483 background-repeat: no-repeat;
484}
485
486.toolbar li.fullscreen span {
487 background-image:url(../img/fullscreen_16.png);
488}
489.toolbar li.info span {
490 background-image:url(../img/info_16.png);
491}
492.toolbar li.preview span {
493 background-image:url(../img/preview_16.png);
494}
495
496.toolbar.fullscreen {
497 position: fixed;
498 top: 50px;
499 right: 20px;
500 z-index: 10;
501}
502
503input#pageTitle {
504 font-weight: bold;
505 font-size: 130%;
506}
507
508.cheatsheet-content {
509 overflow: auto;
510}
511
512.cheatsheet-content .col {
513 float: left;
514 width: 30%;
515 margin-left: 10px;
516}
517
518.cheatsheet-content pre {
519 border: 1px solid #ddd;
520 background-color: #eee;
521 border-radius: 3px;
522 width: 100%;
523 padding: 5px;
524 font-size: 12px;
525 -webkit-box-sizing: border-box;
526 -moz-box-sizing: border-box;
527 box-sizing: border-box;
528}
529
530.cheatsheet-content hr {
531 clear: both;
532}
533
534.search-results .nl {
535 color: #aaa;
536}
537
538.search .search-form {
539 margin-bottom: 20px;
540}
541
542.with-sidebar {
543 background-color: rgba(255,255,255,0.5);
544 padding: 10px;
545 overflow: auto;
546 box-shadow: 0 0 5px silver;
547}
548
549.with-footer {
550 background-color: rgba(255,255,255,0.5);
551 padding: 20px;
552 overflow: auto;
553 box-shadow: 0 0 5px silver;
554 z-index: 1;
555}
556
557a.absent {
558 color: red;
559}
560
561form.edit {
562 border-radius: 4px;
563 margin: 0;
564}
565
566li {
567 margin-bottom: 5px;
568}
569
570.jumbotron p.discrete {
571 color: gray;
572 font-size: 90%
573}
574
575.paginator {
576 margin: 0;
577 padding: 0;
578 text-align: center;
579}
580
581.paginator li {
582 display: inline-block;
583 list-style-type: none;
584 width: 3rem;
585 background-color: #e6f1f6;
586 border: 1px solid transparent;
587}
588
589.paginator li a {
590 display: block;
591 width: 100%;
592}
593
594.paginator li.current {
595 box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
596}
597
598a.btn-auth {
599 background-image: url(/img/social-logins.png);
600 background-repeat: no-repeat;
601 display: block;
602 height: 5rem;
603 width: 40%;
604 background-size: cover;
605 color: transparent;
606}
607
608a.btn-auth.btn-auth-google {
609 background-position: 0px 103%;
610}
611
612a.btn-auth.btn-auth-github {
613 background-position: 0px 50%;
614}
615
616a.btn-auth:hover {
617 opacity: .9;
618}
619
620@media (min-width: 768px) {
621 body {
622 padding-top: 60px;
623 }
624
625 p.user {
626 margin-right: auto;
627 }
628
629 #content {
630 padding: 40px 25px;
631 }
632
633 .navbar-form.search {
634 display: block;
635 }
636
637 .tools {
638 right: 280px;
639 }
640
641 .tools-handle {
642 top: 41px;
643 left: 60%;
644 }
645}