typo.
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
1 /* Fonts
2 ------------------------------------------------------------------------- */
3 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,400;0,600;1,400;1,600&family=Red+Hat+Mono&display=swap');
4
5 /* Reset
6 ------------------------------------------------------------------------- */
7
8 /* Based on http://meyerweb.com/eric/tools/css/reset/ */
9 /* v1.0 | 20080212 */
10
11 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
12 blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
13 font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b,
14 u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
15 caption, tbody, tfoot, thead, tr, th, td {
16 margin: 0;
17 padding: 0;
18 border: 0;
19 outline: 0;
20 font-size: 100%;
21 vertical-align: baseline;
22 background: transparent;
23 }
24
25 ol, ul { list-style: none; }
26
27 blockquote, q { quotes: none; }
28
29 blockquote:before, blockquote:after,
30 q:before, q:after {
31 content: '';
32 content: none;
33 }
34
35 :focus { outline: 0; }
36
37 ins { text-decoration: none; }
38
39 del { text-decoration: line-through; }
40
41 table {
42 border-collapse: collapse;
43 border-spacing: 0;
44 }
45
46 a { outline: none; }
47
48 /* Colors
49 ------------------------------------------------------------------------- */
50 :root {
51 --bg: #D8D9CF;
52 --bg-alt: #F0EEED;
53 --fg: #393E46;
54 --link: #753f09;
55 --link-visited: #83674d;
56 --border: 34,40,49,0.035;
57 --accent: #FD7014;
58 --shadow: 0,0,0,0.2;
59 --bluish-grey: #282d3d;
60 --dark-grey: #393E46;
61 --light-grey: #ababcf;
62 /* Icons */
63 --file-icon: url("file-dark.svg");
64 --dir-icon: url("folder-dark.svg");
65 --ref-icon: url("commit-dark.svg");
66 --tag-icon: url("tag-dark.svg");
67 --branch-icon: url("merge-dark.svg");
68 --rss-icon:url("rss-dark.svg");
69 --opml-icon:url("opml-dark.svg");
70 /* social colors */
71 --twitter: #1DA1F2;
72 --instagram: #E4405F;
73 --spotify: #1ed760;
74 --github: #6e5494;
75 }
76 @media screen and (prefers-color-scheme: dark) {
77 :root {
78 --bg: #393E46;
79 --bg-alt: #222831;
80 --fg: #D8D9CF;
81 --link: #FF8B13;
82 --link-visited: #e7b788;
83 --border: 216,217,207,0.2;
84 --shadow: 255,255,255,0.2;
85 --file-icon: url("file.svg");
86 --dir-icon: url("folder.svg");
87 --ref-icon: url("commit.svg");
88 --tag-icon: url("tag.svg");
89 --branch-icon: url("merge.svg");
90 --rss-icon:url("rss.svg");
91 --opml-icon:url("opml.svg");
92 }
93 }
94
95
96 /* Main
97 ---------------------------------------------------------------------------- */
98
99 html {
100 position: relative;
101 min-height: 100%;
102 }
103
104 body {
105 font: 13px 'Montserrat',Helvetica,arial,freesans,clean,sans-serif;
106 line-height: 1.4;
107 margin: 0 0 105px;
108 background-color: var(--bg);
109 color: var(--fg);
110 }
111
112 /* Monospaced Fonts */
113 .sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
114 font-family: 'Red Hat Mono','Consolas','Bitstream Vera Sans Mono',monospace;
115 }
116
117 a:link, a:visited {
118 text-decoration: none;
119 }
120
121 a:link {
122 color: var(--link);
123 }
124
125 a:visited {
126 color: var(--link-visited);
127 }
128
129 a:hover {
130 text-decoration: underline;
131 }
132
133 td.list a[href*='tree'], td.list a[href*='blob'] {
134 padding-left: 40px;
135 display: block;
136 float: left;
137 height: 32px;
138 line-height: 32px;
139 }
140
141 /* Folder Icon */
142 td.list a[href*='tree'] {
143 background: var(--dir-icon) center left no-repeat;
144 }
145
146 /* File Icon */
147 td.list a[href*='blob'] {
148 background: var(--file-icon) center left no-repeat;
149 }
150
151 i {
152 font-style: normal;
153 }
154
155 td, th {
156 padding: 5px;
157 }
158
159 .page_nav br {
160 display: none;
161 }
162
163 #generating_info {
164 font-size: 10px;
165 color: var(--fg);
166 text-align: center;
167 }
168
169 #generating_time, #generating_cmd {
170 font-weight: bold;
171 }
172
173 /* Page Header
174 ---------------------------------------------------------------------------- */
175
176 /* breadcrumbs */
177 .page_header {
178 height: 50px;
179 line-height: 50px;
180 position: relative;
181 padding: 0 27px;
182 margin-bottom: 20px;
183 font-size: 20px;
184 font-family: 'Montserrat', Helvetica, Arial, Freesans, Clean, sans-serif;
185 border-bottom: 1px solid rgba(var(--border));
186 }
187
188 .page_header a:link, .page_header a:visited {
189 color: var(--link);
190 text-decoration: none;
191 padding: 3px;
192 font-weight: bold;
193 }
194
195 .page_header a:hover {
196 font-weight: bold;
197 padding: 3px;
198 text-decoration: underline;
199 }
200
201 .page_header a:first-child {
202 background: transparent;
203 }
204
205 .page_header img.logo {
206 position: relative;
207 top: 7px;
208 margin-right: 5px;
209 }
210
211 .page_header:before {
212 content: 'You\'re in: ';
213 }
214
215 /* Page Footer
216 ---------------------------------------------------------------------------- */
217
218 .page_footer,
219 .site-footer {
220 background-color: var(--bluish-grey);
221 color: var(--light-grey);
222 width: 100%;
223 margin: 0;
224 }
225
226 .page_footer {
227 height: 40px;
228 line-height: 40px;
229 }
230
231 .page_footer_text {
232 text-align: right;
233 padding-right: 2em;
234 display: inline;
235 float: right;
236 width: calc(100% - 2em);
237 overflow: hidden;
238 white-space: nowrap;
239 text-overflow: ellipsis;
240 }
241
242 .site-footer {
243 position: absolute;
244 left: 0;
245 bottom: 0;
246 display: flex;
247 flex-direction: row;
248 flex-wrap: nowrap;
249 justify-content: space-around;
250 align-items: center;
251 align-content: stretch;
252 }
253
254 .site-footer .columns {
255 display: block;
256 flex-grow: 1;
257 flex-basis: auto;
258 align-self: stretch;
259 order: 0;
260 }
261
262 .social-links ul li {
263 display: inline-block;
264 margin: 1em;
265 }
266
267 .social-links ul li a {
268 height: 32px;
269 text-align: center;
270 }
271 .social-links ul li.spotify a {
272 color: var(--spotify);
273 }
274 .social-links ul li.twitter a {
275 color: var(--twitter);
276 }
277 .social-links ul li.instagram a {
278 color: var(--instagram);
279 }
280 .social-links ul li.github a {
281 color: var(--github);
282 }
283
284 a.rss_logo,
285 div.social-links ul li a span,
286 div.page_header a img.logo {
287 border: 0;
288 clip: rect(1px, 1px, 1px, 1px);
289 clip-path: inset(100%);
290 height: 1px;
291 overflow: hidden;
292 padding: 0;
293 position: absolute;
294 white-space: nowrap;
295 width: 1px;
296 }
297
298
299 /* Index include
300 ---------------------------------------------------------------------------- */
301
302 .index_include {
303 width: 95%;
304 margin: 0 auto 15px;
305 padding: 8px;
306 -webkit-box-sizing: border-box;
307 -moz-box-sizing: border-box;
308 box-sizing: border-box;
309 }
310
311 /* Elements
312 ---------------------------------------------------------------------------- */
313
314 .project_list,
315 .shortlog,
316 .tree,
317 .commit_search,
318 .history {
319 width: 95%;
320 margin: 0 auto 15px auto;
321 border: 1px solid rgba(var(--border));
322 -moz-box-shadow: 0 0 3px rgba(var(--shadow));
323 -webkit-box-shadow: 0 0 3px rgba(var(--shadow));
324 box-shadow: 0 0 3px rgba(var(--shadow));
325 }
326
327 .project_list th,
328 .shortlog th,
329 .tree th,
330 .commit_search th {
331 /* background-color: var(--bluish-grey);
332 color: var(--light-grey);
333 font-weight: normal;*/
334 }
335
336 .project_list th {
337 /* font-weight: bold;*/
338 }
339
340 .project_list tr,
341 .shortlog tr,
342 .tree tr,
343 .commit_search tr {
344 /* background: var(--light-grey);
345 height: 2.5em;
346 text-align: left;
347 color: var(--fg);*/
348 }
349
350 .project_list tr.dark, .project_list tr.light,
351 .shortlog tr.dark, .shortlog tr.light,
352 .tree tr.dark, .tree tr.light,
353 .commit_search tr.dark, .commit_search tr.light,
354 .history tr.dark, .history tr.light,
355 .heads tr.dark, .heads tr.light {
356 /* background-color: var(--bg-alt);
357 color: var(--fg);
358 height: 2.5em;
359 border-bottom: 1px solid rgba(var(--border));*/
360 }
361
362 th .header {
363 /* background: transparent;
364 border: 0;
365 padding: 0;
366 font-weight: bold;*/
367 }
368
369 .tree {
370 width: 100%;
371 margin: 0;
372 }
373
374 .projsearch {
375 position: absolute;
376 right: 4%;
377 top: 40px;
378 }
379
380 .projsearch a {
381 display: none;
382 }
383
384 .commit_search {
385 background: var(--fg);
386 }
387
388 .page_nav,
389 .list_head,
390 .page_path,
391 .search {
392 width: 94%;
393 color: var(--fg);
394 padding: 5px;
395 margin: 0 auto 15px auto;
396 }
397 .page_nav {
398 text-align: center;
399 }
400
401 .history {
402 background: #eaeaea;
403 }
404
405 .title {
406 font-size: 2em;
407 text-transform: capitalize;
408 margin: 0 auto 15px auto;
409 padding: 5px;
410 width: 95%;
411 }
412
413 .readme {
414 background: var(--bg-alt);
415 border: 1px solid rgba(var(--border));
416 -moz-box-sizing: border-box;
417 -webkit-box-sizing: border-box;
418 box-sizing: border-box;
419 margin: 0 auto 15px auto;
420 padding: 15px;
421 width: 95%;
422 }
423
424 .readme h1 {
425 display: block;
426 font-size: 2em;
427 font-weight: bold;
428 margin-bottom: 0.67em;
429 margin-top: 0;
430 }
431
432 .readme h2 {
433 font-size: 1.5em;
434 font-weight: bold;
435 margin-bottom: 0.83em;
436 }
437
438
439 .readme h3 {
440 font-size: 1.17em;
441 font-weight: bold;
442 margin-bottom: 1em;
443 }
444
445 .readme p {
446 margin-bottom: 1em;
447 }
448
449 .readme ul {
450 list-style: disc;
451 margin-bottom: 1em;
452 margin-left: 1.5em;
453 }
454
455 .readme ul ul {
456 margin-bottom: 0;
457 }
458
459 .readme ol {
460 list-style: decimal;
461 margin-bottom: 1em;
462 margin-left: 1.5em;
463 }
464
465 .readme ol ol {
466 margin-bottom: 0;
467 }
468
469 .readme pre,
470 .readme code {
471 font-family: 'Red Hat Mono', monospace;
472 margin: 1em 0;
473 white-space: pre;
474 }
475
476 .readme tt, .readme code, .readme kbd, .readme samp {
477 font-family: 'Red Hat Mono', monospace;
478 }
479
480 .readme blockquote {
481 margin: 1em;
482 }
483
484 .projects_list,
485 .tags {
486 width: 95%;
487 background: var(--bluish-grey);
488 color: var(--light-grey);
489 padding: 5px;
490 margin: 0 auto 15px auto;
491 }
492
493 .heads {
494 width: 95%;
495 color: var(--fg);
496 padding: 5px;
497 margin: 0 auto 15px auto;
498 }
499
500 .header {
501 text-transform: capitalize;
502 margin: 0 auto 15px auto;
503 padding: 5px;
504 width: 95%;
505 }
506
507 .header .age {
508 float: left;
509 color: #000;
510 font-weight: bold;
511 width: 10em;
512 }
513
514 .title_text {
515 width: 94%;
516 background: var(--bg-alt);
517 padding: 5px;
518 margin: 0 auto 0 auto;
519 }
520
521 .log_body {
522 width: 94%;
523 background: var(--bg-alt);
524 padding: 5px;
525 margin: 0 auto 15px auto;
526 }
527
528 .page_body {
529 line-height: 1.4em;
530 width: 94%;
531 background: var(--bg-alt);
532 padding: 5px;
533 margin: 15px auto 15px auto;
534 }
535
536 .diff_tree {
537 width: 95%;
538 background: var(--bg-alt);
539 padding: 5px;
540 margin: 0 auto 15px auto;
541 }
542
543 .page_body > .list_head {
544 width: 98.5%;
545 }
546
547 .page_body > .diff_tree {
548 width: 99.5%;
549 }
550
551 .patch > .header {
552 width: 99%;
553 }
554
555 .author .avatar,
556 .author_date .avatar {
557 position: relative;
558 top: 3px;
559 width: 32;
560 height: 32;
561 }
562
563 .object_header .avatar {
564 float: right;
565 }
566
567 .object_header td,
568 .object_header th {
569 vertical-align: top;
570 }
571
572 /* Refs
573 ---------------------------------------------------------------------------- */
574
575 span.refs span {
576 color: #707070;
577 display: inline-block;
578 margin: 0;
579 background-color: var(--bg);
580 height: 18px;
581 padding: 0 6px;
582 text-overflow: ellipsis;
583 }
584
585 span.refs span.ref {
586 color: #707070;
587 display: inline-block;
588 margin: 0;
589 background-color: var(--bg-alt);
590 height: 18px;
591 padding: 0 6px;
592 text-overflow: ellipsis;
593 /* Node vertical */
594 background-image: var(--ref-icon);
595 background-repeat: no-repeat;
596 padding-left: 18px;
597 }
598
599 span.refs span.tag {
600 color: #707070;
601 display: inline-block;
602 margin: 0;
603 background-color: #ffffab;
604 border: 1px solid #d9d93b;
605 border-radius: 3px;
606 height: 18px;
607 padding: 0 6px;
608 text-overflow: ellipsis;
609 /* tag icon */
610 background-image: var(--tag-icon);
611 background-repeat: no-repeat;
612 padding-left: 18px;
613 }
614
615 span.refs span.head {
616 color: #707070;
617 display: inline-block;
618 margin: 0;
619 background-color: #c4ffc4;
620 border: 1px solid #78ff78;
621 border-radius: 3px;
622 height: 18px;
623 padding: 0 6px;
624 text-overflow: ellipsis;
625 /* git branch */
626 background-image: var(--branch-icon);
627 background-repeat: no-repeat;
628 padding-left: 18px;
629 }
630
631 span.refs a {
632 color: #4e4e4e;
633 font: 11px "Red Hat Mono", "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace;
634 line-height: 18px;
635 }
636
637 /* Diffs
638 ---------------------------------------------------------------------------- */
639
640 div.diff.to_file a.path,
641 div.diff.to_file {
642 color: #007000;
643 }
644
645 div.diff.from_file a.path,
646 div.diff.from_file {
647 color: #aa0000;
648 }
649
650 .patch .header {
651 margin: 0;
652 }
653
654 .patchset {
655 overflow-x: auto;
656 overflow-y: hidden;
657 }
658
659 .chunk_header {
660 background: var(--bg-alt);
661 color: #999;
662 }
663
664 .rem {
665 background: #ffdddd;
666 color: var(--dark-grey);
667 }
668 .rem .marked {
669 background: #ffaaaa;
670 color: var(--dark-grey);
671 }
672 .add {
673 background: #ddffdd;
674 color: var(--dark-grey);
675 }
676 .add .marked {
677 background: #7dff7d;
678 color: var(--dark-grey);
679 }
680
681 .extended_header {
682 width: 99.5%;
683 }
684
685 div.chunk_block {
686 overflow: hidden;
687 }
688
689 div.chunk_block div.old {
690 float: left;
691 width: 50%;
692 overflow: hidden;
693 border-right: 5px solid var(--bg-alt);
694 }
695
696 div.chunk_block.rem,
697 div.chunk_block.add {
698 background: transparent;
699 }
700
701 div.chunk_block div.old .add,
702 div.chunk_block div.old .rem {
703 padding-right: 3px;
704 }
705
706 div.chunk_block div.new .add,
707 div.chunk_block div.new .rem {
708 padding-left: 3px;
709 }
710
711 div.chunk_block div.new {
712 margin-left: 50%;
713 width: 50%;
714 border-left: 5px solid var(--bg-alt);
715 }
716
717 /* Category
718 ---------------------------------------------------------------------------- */
719
720 td.category {
721 background: var(--accent); /* old browsers */
722 color: var(--dark-grey);
723 padding-left: 3em;
724 font-weight: bold;
725 border-bottom: 3px solid rgba(var(--border));
726 border-left: 3px solid rgba(var(--border));
727 }
728 td.category:before {
729 content: "Category: ";
730 }
731 /* Age
732 ---------------------------------------------------------------------------- */
733
734 /* noage: "No commits" */
735 .project_list td.noage {
736 color: #cdcdcd;
737 }
738
739 /* age2: 60*60*24*2 <= age */
740 .project_list td.age2, .blame td.age2 {
741 color: #545454;
742 }
743
744 /* age1: 60*60*2 <= age < 60*60*24*2 */
745 .project_list td.age1 {
746 color: #009900;
747 }
748
749 /* age0: age < 60*60*2 */
750 .project_list td.age0 {
751 color: #009900;
752 font-weight: bold;
753 }
754
755 /* File status
756 ---------------------------------------------------------------------------- */
757
758 .diff_tree span.file_status.new {
759 color: #008000;
760 }
761
762 table.diff_tree span.file_status.deleted {
763 color: #c00000;
764 }
765
766 table.diff_tree span.file_status.moved,
767 table.diff_tree span.file_status.mode_chnge {
768 color: #545454;
769 }
770
771 table.diff_tree span.file_status.copied {
772 color: #70a070;
773 }
774
775 span.cntrl {
776 border: dashed #aaaaaa;
777 border-width: 1px;
778 padding: 0px 2px 0px 2px;
779 margin: 0px 2px 0px 2px;
780 }
781
782 span.match {
783 background: #aaffaa;
784 color: #000;
785 }
786
787 td.error {
788 color: red;
789 background: yellow;
790 }
791
792 /* blob view */
793
794 td.pre, div.pre, div.diff {
795 white-space: pre-wrap;
796 }
797
798 /* JavaScript-based timezone manipulation */
799
800 .popup { /* timezone selection UI */
801 position: absolute;
802 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
803 top: 0; left: 0;
804 border: 1px solid #d8d8d8;
805 padding: 2px;
806 background-color: var(--bg-alt);
807 font-style: normal;
808 color: #545454;
809 cursor: auto;
810 }
811
812 .close-button { /* close timezone selection UI without selecting */
813 /* float doesn't work within absolutely positioned container,
814 * if width of container is not set explicitly */
815 /* float: right; */
816 position: absolute;
817 top: 0px; right: 0px;
818 border: 1px solid #ffaaaa;
819 margin: 1px 1px 1px 1px;
820 padding-bottom: 2px;
821 width: 12px;
822 height: 10px;
823 font-size: 9px;
824 font-weight: bold;
825 text-align: center;
826 background-color: #ffdddd;
827 cursor: pointer;
828 }
829
830 /* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
831
832 /* Highlighting theme definition: */
833
834 .num { color:#6ecf36; }
835 .esc { color:#ff00ff; }
836 .str { color:#ff00d3; background-color: #edc9ec }
837 .dstr { color:#818100; }
838 .slc { color:#838183; font-style:italic; }
839 .com { color:#838183; font-style:italic; }
840 .dir { color:#008200; }
841 .sym { color:#000000; }
842 .line { color:#555555; }
843 .kwa { color:#666666; font-weight:bold; }
844 .kwb { color:#6b3099; }
845 .kwc { color:#d4663d; }
846 .kwd { color:#2928ff; }
847
848 /*
849 * Styling for my custom added sections
850 */
851
852 /* Header */
853 div.site-header {
854 background-color: var(--bg-alt);
855 color: var(--fg);
856 padding: 1em;
857 }
858 div.site-header h1 {
859 text-transform: uppercase;
860 font-size: 2em;
861 padding: 0;
862 margin: 0;
863 line-height: 2em;
864 }
865 div.site-header h1 a,
866 div.site-header h1 a:hover {
867 text-decoration: none;
868 color: var(--fg);
869 }
870 div.site-header h1 img.site-logo {
871 height: 50px;
872 width: auto;
873 position: relative;
874 top: 15px;
875 }
876 div.site-header h1 span.evident {
877 background-color: var(--accent);
878 color: var(--bg);
879 }