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