typo.
[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;
1939e4c5 54 --link: #753f09;
55 --link-visited: #83674d;
05bbea0e 56 --border: 34,40,49,0.035;
d5af761b 57 --accent: #FD7014;
51e1c307 58 --shadow: 0,0,0,0.2;
c6362217 59 --bluish-grey: #282d3d;
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;
1939e4c5 81 --link: #FF8B13;
82 --link-visited: #e7b788;
05bbea0e 83 --border: 216,217,207,0.2;
51e1c307 84 --shadow: 255,255,255,0.2;
a8dc308a 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");
9406f526 90 --rss-icon:url("rss.svg");
91 --opml-icon:url("opml.svg");
1bc0e66a 92 }
b2b72247 93}
94
f17ef185 95
21d9de84 96/* Main
f17ef185 97---------------------------------------------------------------------------- */
98
99html {
100 position: relative;
101 min-height: 100%;
102}
103
104body {
a6a0a341 105 font: 13px 'Montserrat',Helvetica,arial,freesans,clean,sans-serif;
f17ef185 106 line-height: 1.4;
107 margin: 0 0 105px;
b2b72247 108 background-color: var(--bg);
109 color: var(--fg);
f17ef185 110}
111
112/* Monospaced Fonts */
113.sha1, .mode, .diff_tree .list, .pre, .diff, .patchset {
a6a0a341 114 font-family: 'Red Hat Mono','Consolas','Bitstream Vera Sans Mono',monospace;
f17ef185 115}
116
117a:link, a:visited {
f17ef185 118 text-decoration: none;
119}
120
3020319e 121a:link {
122 color: var(--link);
123}
124
125a:visited {
126 color: var(--link-visited);
127}
128
f17ef185 129a:hover {
130 text-decoration: underline;
131}
132
133td.list a[href*='tree'], td.list a[href*='blob'] {
d904bd06 134 padding-left: 40px;
f17ef185 135 display: block;
136 float: left;
9325b442 137 height: 32px;
138 line-height: 32px;
f17ef185 139}
140
3020319e 141/* Folder Icon */
423a1cf3 142td.list a[href*='tree'] {
143 background: var(--dir-icon) center left no-repeat;
f17ef185 144}
145
3020319e 146/* File Icon */
f17ef185 147td.list a[href*='blob'] {
423a1cf3 148 background: var(--file-icon) center left no-repeat;
f17ef185 149}
150
151i {
152 font-style: normal;
153}
154
155td, th {
156 padding: 5px;
157}
158
159.page_nav br {
160 display: none;
161}
162
163#generating_info {
164 font-size: 10px;
d9ae720e 165 color: var(--fg);
f17ef185 166 text-align: center;
167}
168
169#generating_time, #generating_cmd {
170 font-weight: bold;
171}
172
173/* Page Header
174---------------------------------------------------------------------------- */
175
51e1c307 176/* breadcrumbs */
f17ef185 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;
9406f526 184 font-family: 'Montserrat', Helvetica, Arial, Freesans, Clean, sans-serif;
05bbea0e 185 border-bottom: 1px solid rgba(var(--border));
f17ef185 186}
187
188.page_header a:link, .page_header a:visited {
5ddc14e1 189 color: var(--link);
f17ef185 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
ad601d12 211.page_header:before {
212 content: 'You\'re in: ';
213}
214
f17ef185 215/* Page Footer
216---------------------------------------------------------------------------- */
217
fdd09006 218.page_footer,
219.site-footer {
0bc1f914 220 background-color: var(--bluish-grey);
4b941eed 221 color: var(--light-grey);
f17ef185 222 width: 100%;
79480124 223 margin: 0;
f17ef185 224}
225
fdd09006 226.page_footer {
27ee5f03 227 height: 40px;
27ee5f03 228 line-height: 40px;
fdd09006 229}
230
f17ef185 231.page_footer_text {
27ee5f03 232 text-align: right;
3bacc307 233 padding-right: 2em;
f17ef185 234 display: inline;
fdd09006 235 float: right;
27ee5f03 236 width: calc(100% - 2em);
f17ef185 237 overflow: hidden;
238 white-space: nowrap;
239 text-overflow: ellipsis;
240}
241
27ee5f03 242.site-footer {
d3f8f269 243 position: absolute;
244 left: 0;
245 bottom: 0;
3bacc307 246 display: flex;
247 flex-direction: row;
248 flex-wrap: nowrap;
a0c95ad4 249 justify-content: space-around;
3cdb770b 250 align-items: center;
3bacc307 251 align-content: stretch;
27ee5f03 252}
253
3bacc307 254.site-footer .columns {
3bacc307 255 display: block;
5dc6bd48 256 flex-grow: 1;
3bacc307 257 flex-basis: auto;
5dc6bd48 258 align-self: stretch;
3bacc307 259 order: 0;
260}
79480124 261
262.social-links ul li {
263 display: inline-block;
264 margin: 1em;
79480124 265}
266
54b66df6 267.social-links ul li a {
020d4a03 268 height: 32px;
a0c95ad4 269 text-align: center;
54b66df6 270}
f5db486f 271.social-links ul li.spotify a {
020d4a03 272 color: var(--spotify);
f5db486f 273}
274.social-links ul li.twitter a {
020d4a03 275 color: var(--twitter);
f5db486f 276}
277.social-links ul li.instagram a {
020d4a03 278 color: var(--instagram);
f5db486f 279}
280.social-links ul li.github a {
020d4a03 281 color: var(--github);
f5db486f 282}
283
c5b57881 284a.rss_logo,
0446163e 285div.social-links ul li a span,
286div.page_header a img.logo {
29e3a25d 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;
f17ef185 296}
297
f17ef185 298
299/* Index include
300---------------------------------------------------------------------------- */
301
302.index_include {
303 width: 95%;
304 margin: 0 auto 15px;
f17ef185 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;
51e1c307 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));
f17ef185 325}
326
327.project_list th,
328.shortlog th,
329.tree th,
330.commit_search th {
0ac69951 331/* background-color: var(--bluish-grey);
b2389564 332 color: var(--light-grey);
0ac69951 333 font-weight: normal;*/
f17ef185 334}
335
336.project_list th {
0ac69951 337/* font-weight: bold;*/
f17ef185 338}
339
340.project_list tr,
341.shortlog tr,
342.tree tr,
343.commit_search tr {
0ac69951 344/* background: var(--light-grey);
f17ef185 345 height: 2.5em;
346 text-align: left;
0ac69951 347 color: var(--fg);*/
f17ef185 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 {
0ac69951 356/* background-color: var(--bg-alt);
9777c09b 357 color: var(--fg);
f17ef185 358 height: 2.5em;
0ac69951 359 border-bottom: 1px solid rgba(var(--border));*/
f17ef185 360}
361
362th .header {
0ac69951 363/* background: transparent;
f17ef185 364 border: 0;
365 padding: 0;
0ac69951 366 font-weight: bold;*/
f17ef185 367}
368
369.tree {
370 width: 100%;
371 margin: 0;
372}
373
374.projsearch {
375 position: absolute;
376 right: 4%;
34c8b4ae 377 top: 40px;
f17ef185 378}
379
380.projsearch a {
381 display: none;
382}
383
384.commit_search {
34c8b4ae 385 background: var(--fg);
f17ef185 386}
387
388.page_nav,
389.list_head,
390.page_path,
391.search {
392 width: 94%;
17070942 393 color: var(--fg);
f17ef185 394 padding: 5px;
395 margin: 0 auto 15px auto;
396}
d665e732 397.page_nav {
398 text-align: center;
399}
f17ef185 400
401.history {
402 background: #eaeaea;
403}
404
405.title {
d76bc59d 406 font-size: 2em;
3584e5af 407 text-transform: capitalize;
f17ef185 408 margin: 0 auto 15px auto;
409 padding: 5px;
410 width: 95%;
411}
412
413.readme {
69d3f4ec 414 background: var(--bg-alt);
415 border: 1px solid rgba(var(--border));
f17ef185 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
d76bc59d 469.readme pre,
470.readme code {
9406f526 471 font-family: 'Red Hat Mono', monospace;
f17ef185 472 margin: 1em 0;
473 white-space: pre;
474}
475
476.readme tt, .readme code, .readme kbd, .readme samp {
9406f526 477 font-family: 'Red Hat Mono', monospace;
f17ef185 478}
479
480.readme blockquote {
481 margin: 1em;
482}
483
484.projects_list,
485.tags {
486 width: 95%;
d76bc59d 487 background: var(--bluish-grey);
488 color: var(--light-grey);
f17ef185 489 padding: 5px;
490 margin: 0 auto 15px auto;
491}
492
493.heads {
494 width: 95%;
3584e5af 495 color: var(--fg);
f17ef185 496 padding: 5px;
497 margin: 0 auto 15px auto;
498}
499
500.header {
3584e5af 501 text-transform: capitalize;
502 margin: 0 auto 15px auto;
f17ef185 503 padding: 5px;
3584e5af 504 width: 95%;
f17ef185 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%;
7629b99f 516 background: var(--bg-alt);
f17ef185 517 padding: 5px;
518 margin: 0 auto 0 auto;
519}
520
521.log_body {
522 width: 94%;
7629b99f 523 background: var(--bg-alt);
f17ef185 524 padding: 5px;
525 margin: 0 auto 15px auto;
526}
527
528.page_body {
529 line-height: 1.4em;
530 width: 94%;
7629b99f 531 background: var(--bg-alt);
f17ef185 532 padding: 5px;
533 margin: 15px auto 15px auto;
534}
535
536.diff_tree {
537 width: 95%;
7629b99f 538 background: var(--bg-alt);
f17ef185 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;
0bc1f914 559 width: 32;
560 height: 32;
f17ef185 561}
562
563.object_header .avatar {
f17ef185 564 float: right;
565}
566
567.object_header td,
568.object_header th {
569 vertical-align: top;
570}
571
572/* Refs
573---------------------------------------------------------------------------- */
574
575span.refs span {
576 color: #707070;
577 display: inline-block;
578 margin: 0;
d9ae720e 579 background-color: var(--bg);
f17ef185 580 height: 18px;
581 padding: 0 6px;
582 text-overflow: ellipsis;
583}
584
585span.refs span.ref {
586 color: #707070;
587 display: inline-block;
588 margin: 0;
d9ae720e 589 background-color: var(--bg-alt);
f17ef185 590 height: 18px;
591 padding: 0 6px;
592 text-overflow: ellipsis;
12b03037 593/* Node vertical */
594 background-image: var(--ref-icon);
f17ef185 595 background-repeat: no-repeat;
596 padding-left: 18px;
597}
598
599span.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;
12b03037 609/* tag icon */
610 background-image: var(--tag-icon);
f17ef185 611 background-repeat: no-repeat;
612 padding-left: 18px;
613}
614
615span.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;
12b03037 625/* git branch */
626 background-image: var(--branch-icon);
f17ef185 627 background-repeat: no-repeat;
628 padding-left: 18px;
629}
630
631span.refs a {
632 color: #4e4e4e;
7629b99f 633 font: 11px "Red Hat Mono", "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace;
f17ef185 634 line-height: 18px;
635}
636
637/* Diffs
638---------------------------------------------------------------------------- */
639
640div.diff.to_file a.path,
641div.diff.to_file {
642 color: #007000;
643}
644
645div.diff.from_file a.path,
646div.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 {
7629b99f 660 background: var(--bg-alt);
f17ef185 661 color: #999;
662}
663
664.rem {
665 background: #ffdddd;
436957fc 666 color: var(--dark-grey);
f17ef185 667}
668.rem .marked {
669 background: #ffaaaa;
436957fc 670 color: var(--dark-grey);
f17ef185 671}
672.add {
673 background: #ddffdd;
436957fc 674 color: var(--dark-grey);
f17ef185 675}
676.add .marked {
677 background: #7dff7d;
436957fc 678 color: var(--dark-grey);
f17ef185 679}
680
681.extended_header {
682 width: 99.5%;
683}
684
685div.chunk_block {
686 overflow: hidden;
687}
688
689div.chunk_block div.old {
690 float: left;
691 width: 50%;
692 overflow: hidden;
7629b99f 693 border-right: 5px solid var(--bg-alt);
f17ef185 694}
695
696div.chunk_block.rem,
697div.chunk_block.add {
698 background: transparent;
699}
700
701div.chunk_block div.old .add,
702div.chunk_block div.old .rem {
703 padding-right: 3px;
704}
705
706div.chunk_block div.new .add,
707div.chunk_block div.new .rem {
708 padding-left: 3px;
709}
710
711div.chunk_block div.new {
712 margin-left: 50%;
713 width: 50%;
7629b99f 714 border-left: 5px solid var(--bg-alt);
f17ef185 715}
716
717/* Category
718---------------------------------------------------------------------------- */
719
720td.category {
341d7256 721 background: var(--accent); /* old browsers */
722 color: var(--dark-grey);
8eded2c6 723 padding-left: 3em;
f17ef185 724 font-weight: bold;
d665e732 725 border-bottom: 3px solid rgba(var(--border));
726 border-left: 3px solid rgba(var(--border));
f17ef185 727}
b4423bad 728td.category:before {
0ac69951 729 content: "Category: ";
b4423bad 730}
f17ef185 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
762table.diff_tree span.file_status.deleted {
763 color: #c00000;
764}
765
766table.diff_tree span.file_status.moved,
767table.diff_tree span.file_status.mode_chnge {
768 color: #545454;
769}
770
771table.diff_tree span.file_status.copied {
772 color: #70a070;
773}
774
775span.cntrl {
776 border: dashed #aaaaaa;
777 border-width: 1px;
778 padding: 0px 2px 0px 2px;
779 margin: 0px 2px 0px 2px;
780}
781
782span.match {
783 background: #aaffaa;
784 color: #000;
785}
786
787td.error {
788 color: red;
789 background: yellow;
790}
791
792/* blob view */
793
794td.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;
7629b99f 806 background-color: var(--bg-alt);
f17ef185 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
d5af761b 848/*
849 * Styling for my custom added sections
850 */
851
852/* Header */
853div.site-header {
854 background-color: var(--bg-alt);
855 color: var(--fg);
769ac656 856 padding: 1em;
d5af761b 857}
858div.site-header h1 {
859 text-transform: uppercase;
a6a0a341 860 font-size: 2em;
34c8b4ae 861 padding: 0;
862 margin: 0;
863 line-height: 2em;
d5af761b 864}
e6c57e55 865div.site-header h1 a,
866div.site-header h1 a:hover {
867 text-decoration: none;
868 color: var(--fg);
869}
6ee6f491 870div.site-header h1 img.site-logo {
871 height: 50px;
872 width: auto;
34c8b4ae 873 position: relative;
874 top: 15px;
6ee6f491 875}
d5af761b 876div.site-header h1 span.evident {
877 background-color: var(--accent);
878 color: var(--bg);
879}