working on alignment of items in footer
[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
f17ef185 280a.rss_logo {
29e3a25d 281 border: 0;
282 clip: rect(1px, 1px, 1px, 1px);
283 clip-path: inset(100%);
284 height: 1px;
285 overflow: hidden;
286 padding: 0;
287 position: absolute;
288 white-space: nowrap;
289 width: 1px;
f17ef185 290}
291
f17ef185 292
293/* Index include
294---------------------------------------------------------------------------- */
295
296.index_include {
297 width: 95%;
298 margin: 0 auto 15px;
5ddc14e1 299 background: -moz-linear-gradient(center top , var(--bg) 0%, var(--bg-alt) 100%) repeat scroll 0 0 transparent;
300 border: 1px solid var(--border);
f17ef185 301 padding: 8px;
302 -webkit-box-sizing: border-box;
303 -moz-box-sizing: border-box;
304 box-sizing: border-box;
305}
306
307/* Elements
308---------------------------------------------------------------------------- */
309
310.project_list,
311.shortlog,
312.tree,
313.commit_search,
314.history {
315 width: 95%;
316 margin: 0 auto 15px auto;
d1808a6c 317 border: 1px solid var(--border);
f17ef185 318 -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
319 -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
320 box-shadow: 0 0 3px rgba(0,0,0,0.2);
321}
322
323.project_list th,
324.shortlog th,
325.tree th,
326.commit_search th {
327 color: #afafaf;
328 font-weight: normal;
329}
330
331.project_list th {
332 font-weight: bold;
333}
334
335.project_list tr,
336.shortlog tr,
337.tree tr,
338.commit_search tr {
339 background: #eaeaea;
340 height: 2.5em;
341 text-align: left;
342 color: #545454;
343}
344
345.project_list tr.dark, .project_list tr.light,
346.shortlog tr.dark, .shortlog tr.light,
347.tree tr.dark, .tree tr.light,
348.commit_search tr.dark, .commit_search tr.light,
349.history tr.dark, .history tr.light,
350.heads tr.dark, .heads tr.light {
351 background: #F9F9F9; /* old browsers */
352 background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
353 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
354 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
355 background: -o-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%);
356 height: 2.5em;
357 border-bottom: 1px solid #e1e1e1;
358}
359
360th .header {
361 background: transparent;
362 border: 0;
363 padding: 0;
364 font-weight: bold;
365}
366
367.tree {
368 width: 100%;
369 margin: 0;
370}
371
372.projsearch {
373 position: absolute;
374 right: 4%;
375 top: 15px;
376}
377
378.projsearch a {
379 display: none;
380}
381
382.commit_search {
383 background: #eaeaea;
384}
385
386.page_nav,
387.list_head,
388.page_path,
389.search {
390 width: 94%;
391 background: #eaeaea;
392 color: #545454;
393 border: 1px solid #d8d8d8;
394 padding: 5px;
395 margin: 0 auto 15px auto;
396}
397
398.history {
399 background: #eaeaea;
400}
401
402.title {
403 margin: 0 auto 15px auto;
404 padding: 5px;
405 width: 95%;
406}
407
408.readme {
409 background: #eaf2f5;
410 border: 1px solid #bedce7;
411 -moz-box-sizing: border-box;
412 -webkit-box-sizing: border-box;
413 box-sizing: border-box;
414 margin: 0 auto 15px auto;
415 padding: 15px;
416 width: 95%;
417}
418
419.readme h1 {
420 display: block;
421 font-size: 2em;
422 font-weight: bold;
423 margin-bottom: 0.67em;
424 margin-top: 0;
425}
426
427.readme h2 {
428 font-size: 1.5em;
429 font-weight: bold;
430 margin-bottom: 0.83em;
431}
432
433
434.readme h3 {
435 font-size: 1.17em;
436 font-weight: bold;
437 margin-bottom: 1em;
438}
439
440.readme p {
441 margin-bottom: 1em;
442}
443
444.readme ul {
445 list-style: disc;
446 margin-bottom: 1em;
447 margin-left: 1.5em;
448}
449
450.readme ul ul {
451 margin-bottom: 0;
452}
453
454.readme ol {
455 list-style: decimal;
456 margin-bottom: 1em;
457 margin-left: 1.5em;
458}
459
460.readme ol ol {
461 margin-bottom: 0;
462}
463
464.readme pre {
9406f526 465 font-family: 'Red Hat Mono', monospace;
f17ef185 466 margin: 1em 0;
467 white-space: pre;
468}
469
470.readme tt, .readme code, .readme kbd, .readme samp {
9406f526 471 font-family: 'Red Hat Mono', monospace;
f17ef185 472}
473
474.readme blockquote {
475 margin: 1em;
476}
477
478.projects_list,
479.tags {
480 width: 95%;
481 background: #f0f0f0;
482 color: #545454;
483 border: 1px solid #d8d8d8;
484 padding: 5px;
485 margin: 0 auto 15px auto;
486}
487
488.heads {
489 width: 95%;
490 color: #545454;
491 border: 1px solid #d8d8d8;
492 padding: 5px;
493 margin: 0 auto 15px auto;
494}
495
496.header {
497 width: 94%;
498 margin: 0 auto 15px auto;
499 background: #eaf2f5;
500 border: 1px solid #bedce7;
501 padding: 5px;
502}
503
504.header .age {
505 float: left;
506 color: #000;
507 font-weight: bold;
508 width: 10em;
509}
510
511.title_text {
512 width: 94%;
513 background: #eaf2f5;
514 border: 1px solid #bedce7;
515 padding: 5px;
516 margin: 0 auto 0 auto;
517}
518
519.log_body {
520 width: 94%;
521 background: #eaf2f5;
522 border: 1px solid #bedce7;
523 border-top: 0;
524 padding: 5px;
525 margin: 0 auto 15px auto;
526}
527
528.page_body {
529 line-height: 1.4em;
530 width: 94%;
531 background: #f8f8f8;
532 border: 1px solid #d8d8d8;
533 padding: 5px;
534 margin: 15px auto 15px auto;
535}
536
537.diff_tree {
538 width: 95%;
539 background: #f0f0f0;
540 border: 1px solid #d8d8d8;
541 padding: 5px;
542 margin: 0 auto 15px auto;
543}
544
545.page_body > .list_head {
546 width: 98.5%;
547}
548
549.page_body > .diff_tree {
550 width: 99.5%;
551}
552
553.patch > .header {
554 width: 99%;
555}
556
557.author .avatar,
558.author_date .avatar {
559 position: relative;
560 top: 3px;
561}
562
563.object_header .avatar {
564 border: 1px solid #D8D8D8;
565 float: right;
566}
567
568.object_header td,
569.object_header th {
570 vertical-align: top;
571}
572
573/* Refs
574---------------------------------------------------------------------------- */
575
576span.refs span {
577 color: #707070;
578 display: inline-block;
579 margin: 0;
d9ae720e 580 background-color: var(--bg);
581 border: 1px solid var(--border);
f17ef185 582 border-radius: 3px;
583 height: 18px;
584 padding: 0 6px;
585 text-overflow: ellipsis;
586}
587
588span.refs span.ref {
589 color: #707070;
590 display: inline-block;
591 margin: 0;
d9ae720e 592 background-color: var(--bg-alt);
593 border: 1px solid var(--link);
f17ef185 594 border-radius: 3px;
595 height: 18px;
596 padding: 0 6px;
597 text-overflow: ellipsis;
12b03037 598/* Node vertical */
599 background-image: var(--ref-icon);
f17ef185 600 background-repeat: no-repeat;
601 padding-left: 18px;
602}
603
604span.refs span.tag {
605 color: #707070;
606 display: inline-block;
607 margin: 0;
608 background-color: #ffffab;
609 border: 1px solid #d9d93b;
610 border-radius: 3px;
611 height: 18px;
612 padding: 0 6px;
613 text-overflow: ellipsis;
12b03037 614/* tag icon */
615 background-image: var(--tag-icon);
f17ef185 616 background-repeat: no-repeat;
617 padding-left: 18px;
618}
619
620span.refs span.head {
621 color: #707070;
622 display: inline-block;
623 margin: 0;
624 background-color: #c4ffc4;
625 border: 1px solid #78ff78;
626 border-radius: 3px;
627 height: 18px;
628 padding: 0 6px;
629 text-overflow: ellipsis;
12b03037 630/* git branch */
631 background-image: var(--branch-icon);
f17ef185 632 background-repeat: no-repeat;
633 padding-left: 18px;
634}
635
636span.refs a {
637 color: #4e4e4e;
638 font: 11px "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, monospace;
639 line-height: 18px;
640}
641
642/* Diffs
643---------------------------------------------------------------------------- */
644
645div.diff.to_file a.path,
646div.diff.to_file {
647 color: #007000;
648}
649
650div.diff.from_file a.path,
651div.diff.from_file {
652 color: #aa0000;
653}
654
655.patch .header {
656 margin: 0;
657}
658
659.patchset {
660 overflow-x: auto;
661 overflow-y: hidden;
662}
663
664.chunk_header {
665 background: #eaf2f5;
666 color: #999;
667}
668
669.rem {
670 background: #ffdddd;
671}
672.rem .marked {
673 background: #ffaaaa;
674}
675.add {
676 background: #ddffdd;
677}
678.add .marked {
679 background: #7dff7d;
680}
681
682.extended_header {
683 width: 99.5%;
684}
685
686div.chunk_block {
687 overflow: hidden;
688}
689
690div.chunk_block div.old {
691 float: left;
692 width: 50%;
693 overflow: hidden;
694 border-right: 5px solid #EAF2F5;
695}
696
697div.chunk_block.rem,
698div.chunk_block.add {
699 background: transparent;
700}
701
702div.chunk_block div.old .add,
703div.chunk_block div.old .rem {
704 padding-right: 3px;
705}
706
707div.chunk_block div.new .add,
708div.chunk_block div.new .rem {
709 padding-left: 3px;
710}
711
712div.chunk_block div.new {
713 margin-left: 50%;
714 width: 50%;
715 border-left: 5px solid #EAF2F5;
716}
717
718/* Category
719---------------------------------------------------------------------------- */
720
721td.category {
722 background: #E6F1F6; /* old browsers */
723 background: -moz-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%); /* firefox */
724 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C8D8E7), color-stop(100%,#E6F1F3)); /* webkit */
725 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C8D8E7', endColorstr='#E6F1F3',GradientType=0 ); /* ie */
726 background: -o-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%);
727 font-weight: bold;
728 border-bottom: 1px solid #D1D1D1;
729 border-top: 1px solid #D1D1D1;
730}
731
732/* Age
733---------------------------------------------------------------------------- */
734
735/* noage: "No commits" */
736.project_list td.noage {
737 color: #cdcdcd;
738}
739
740/* age2: 60*60*24*2 <= age */
741.project_list td.age2, .blame td.age2 {
742 color: #545454;
743}
744
745/* age1: 60*60*2 <= age < 60*60*24*2 */
746.project_list td.age1 {
747 color: #009900;
748}
749
750/* age0: age < 60*60*2 */
751.project_list td.age0 {
752 color: #009900;
753 font-weight: bold;
754}
755
756/* File status
757---------------------------------------------------------------------------- */
758
759.diff_tree span.file_status.new {
760 color: #008000;
761}
762
763table.diff_tree span.file_status.deleted {
764 color: #c00000;
765}
766
767table.diff_tree span.file_status.moved,
768table.diff_tree span.file_status.mode_chnge {
769 color: #545454;
770}
771
772table.diff_tree span.file_status.copied {
773 color: #70a070;
774}
775
776span.cntrl {
777 border: dashed #aaaaaa;
778 border-width: 1px;
779 padding: 0px 2px 0px 2px;
780 margin: 0px 2px 0px 2px;
781}
782
783span.match {
784 background: #aaffaa;
785 color: #000;
786}
787
788td.error {
789 color: red;
790 background: yellow;
791}
792
793/* blob view */
794
795td.pre, div.pre, div.diff {
796 white-space: pre-wrap;
797}
798
799/* JavaScript-based timezone manipulation */
800
801.popup { /* timezone selection UI */
802 position: absolute;
803 /* "top: 0; right: 0;" would be better, if not for bugs in browsers */
804 top: 0; left: 0;
805 border: 1px solid #d8d8d8;
806 padding: 2px;
807 background-color: #f0f0f0;
808 font-style: normal;
809 color: #545454;
810 cursor: auto;
811}
812
813.close-button { /* close timezone selection UI without selecting */
814 /* float doesn't work within absolutely positioned container,
815 * if width of container is not set explicitly */
816 /* float: right; */
817 position: absolute;
818 top: 0px; right: 0px;
819 border: 1px solid #ffaaaa;
820 margin: 1px 1px 1px 1px;
821 padding-bottom: 2px;
822 width: 12px;
823 height: 10px;
824 font-size: 9px;
825 font-weight: bold;
826 text-align: center;
827 background-color: #ffdddd;
828 cursor: pointer;
829}
830
831/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
832
833/* Highlighting theme definition: */
834
835.num { color:#6ecf36; }
836.esc { color:#ff00ff; }
837.str { color:#ff00d3; background-color: #edc9ec }
838.dstr { color:#818100; }
839.slc { color:#838183; font-style:italic; }
840.com { color:#838183; font-style:italic; }
841.dir { color:#008200; }
842.sym { color:#000000; }
843.line { color:#555555; }
844.kwa { color:#666666; font-weight:bold; }
845.kwb { color:#6b3099; }
846.kwc { color:#d4663d; }
847.kwd { color:#2928ff; }
848
d5af761b 849/*
850 * Styling for my custom added sections
851 */
852
853/* Header */
854div.site-header {
855 background-color: var(--bg-alt);
856 color: var(--fg);
769ac656 857 padding: 1em;
d5af761b 858}
859div.site-header h1 {
860 text-transform: uppercase;
a6a0a341 861 font-size: 2em;
d5af761b 862}
863div.site-header h1 span.evident {
864 background-color: var(--accent);
865 color: var(--bg);
866}