X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=fca3986c4e56f085de8a51142e8a5b36c41753c7;hb=8eded2c6e3c3f9c214738a669c4a38bf802405d2;hp=18f944643160d7363b1a82b8187d97dada5efefe;hpb=a7e6a25bbdfb68eafa98d89fd5555e03036aa405;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 18f9446..fca3986 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -55,6 +55,7 @@ a { outline: none; } --link-visited: #e7b788; --border: 34,40,49,0.035; --accent: #FD7014; + --bluish-grey: #3f4c77; --dark-grey: #393E46; /* Icons */ --file-icon: url("file-dark.svg"); @@ -66,13 +67,9 @@ a { outline: none; } --opml-icon:url("opml-dark.svg"); /* social colors */ --twitter: #1DA1F2; - --twitter-filter: 'invert(58%) sepia(29%) saturate(5279%) hue-rotate(176deg) brightness(96%) contrast(99%)'; --instagram: #E4405F; - --instagram-filter: 'invert(40%) sepia(71%) saturate(3199%) hue-rotate(325deg) brightness(92%) contrast(94%)'; --spotify: #1ed760; - --spotify-filter: 'invert(80%) sepia(16%) saturate(3018%) hue-rotate(79deg) brightness(90%) contrast(86%)'; --github: #6e5494; - --github-filter: 'invert(34%) sepia(20%) saturate(1263%) hue-rotate(222deg) brightness(96%) contrast(84%)'; } @media screen and (prefers-color-scheme: dark) { :root { @@ -91,7 +88,7 @@ a { outline: none; } } -/* General +/* Main ---------------------------------------------------------------------------- */ html { @@ -179,10 +176,8 @@ td, th { margin-bottom: 20px; font-size: 20px; font-family: 'Montserrat', Helvetica, Arial, Freesans, Clean, sans-serif; - background: var(--bg); /* old browsers */ - background: -moz-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--bg-alt))); /* webkit */ - background: -o-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%); + background: var(--bluish-grey); /* old browsers */ + background: linear-gradient(112deg, var(--bluish-grey) 10%, var(--accent) 75%); border-bottom: 1px solid rgba(var(--border)); } @@ -209,28 +204,30 @@ td, th { margin-right: 5px; } +.page_header:before { + content: 'You\'re in: '; +} + /* Page Footer ---------------------------------------------------------------------------- */ .page_footer, .site-footer { width: 100%; - background: var(--bg-alt); + background: var(--bluish-grey); /* old browsers */ + background: linear-gradient(112deg, var(--bluish-grey) 65%, var(--accent) 100%); margin: 0; } .page_footer { height: 40px; - position: absolute; - left: 0; - bottom: 0; line-height: 40px; border-top: 2px solid var(--border); border-bottom: 1px solid var(--border); } .page_footer_text { - color: var(--fg); + color: var(--bg); text-align: right; padding-right: 2em; display: inline; @@ -242,59 +239,50 @@ td, th { } .site-footer { + position: absolute; + left: 0; + bottom: 0; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-around; - align-items: stretch; + align-items: center; align-content: stretch; } .site-footer .columns { - width: 30%; display: block; - flex-grow: 0; - flex-shrink: 1; + flex-grow: 1; flex-basis: auto; - align-self: auto; + align-self: stretch; order: 0; } .social-links ul li { display: inline-block; margin: 1em; - padding: 0.5em; } .social-links ul li a { height: 32px; + text-align: center; } .social-links ul li.spotify a { color: var(--spotify); } -.social-links ul li.spotify a img.img-spotify { - filter: var(--spotify-filter); -} .social-links ul li.twitter a { color: var(--twitter); } -.social-links ul li.twitter a img.img-twitter { - filter: var(--twitter-filter); -} .social-links ul li.instagram a { color: var(--instagram); } -.social-links ul li.instagram a img.img-instagram { - filter: var(--instagram-filter); -} .social-links ul li.github a { color: var(--github); } -.social-links ul li.github a img.img-github { - filter: var(--github-filter); -} -a.rss_logo { +a.rss_logo, +div.social-links ul li a span, +div.page_header a img.logo { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(100%); @@ -313,8 +301,6 @@ a.rss_logo { .index_include { width: 95%; margin: 0 auto 15px; - background: -moz-linear-gradient(center top , var(--bg) 0%, var(--bg-alt) 100%) repeat scroll 0 0 transparent; - border: 1px solid var(--border); padding: 8px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; @@ -341,7 +327,8 @@ a.rss_logo { .shortlog th, .tree th, .commit_search th { - color: #afafaf; + background-color: var(--bluish-grey); + color: var(--fg); font-weight: normal; } @@ -353,10 +340,10 @@ a.rss_logo { .shortlog tr, .tree tr, .commit_search tr { - background: #eaeaea; + background: var(--bg-alt); height: 2.5em; text-align: left; - color: #545454; + color: var(--fg); } .project_list tr.dark, .project_list tr.light, @@ -389,7 +376,7 @@ th .header { .projsearch { position: absolute; right: 4%; - top: 15px; + top: 40px; } .projsearch a { @@ -397,7 +384,7 @@ th .header { } .commit_search { - background: #eaeaea; + background: var(--fg); } .page_nav, @@ -736,16 +723,16 @@ div.chunk_block div.new { ---------------------------------------------------------------------------- */ td.category { - background: #E6F1F6; /* old browsers */ - background: -moz-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%); /* firefox */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C8D8E7), color-stop(100%,#E6F1F3)); /* webkit */ - filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C8D8E7', endColorstr='#E6F1F3',GradientType=0 ); /* ie */ - background: -o-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%); + background: var(--accent); /* old browsers */ + color: var(--dark-grey); + padding-left: 3em; font-weight: bold; - border-bottom: 1px solid #D1D1D1; - border-top: 1px solid #D1D1D1; + border-bottom: 1px solid var(--border); + border-top: 1px solid var(--border); +} +td.category:before { + content: "Cat.: "; } - /* Age ---------------------------------------------------------------------------- */ @@ -876,6 +863,15 @@ div.site-header { div.site-header h1 { text-transform: uppercase; font-size: 2em; + padding: 0; + margin: 0; + line-height: 2em; +} +div.site-header h1 img.site-logo { + height: 50px; + width: auto; + position: relative; + top: 15px; } div.site-header h1 span.evident { background-color: var(--accent);