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