X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=d29dc6c86c308538f7be13d7edf2d0a630b87c79;hb=34c8b4ae1eedcdbca51187a94eefc2a300a95bfd;hp=80e5cc8bcc315495519a444bc33ab44eded8d3db;hpb=29e3a25d283818b94238f2344d67fc3c21157e05;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 80e5cc8..d29dc6c 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -55,6 +55,8 @@ a { outline: none; } --link-visited: #e7b788; --border: 34,40,49,0.035; --accent: #FD7014; + --dark-grey: #393E46; +/* Icons */ --file-icon: url("file-dark.svg"); --dir-icon: url("folder-dark.svg"); --ref-icon: url("commit-dark.svg"); @@ -62,6 +64,11 @@ a { outline: none; } --branch-icon: url("merge-dark.svg"); --rss-icon:url("rss-dark.svg"); --opml-icon:url("opml-dark.svg"); +/* social colors */ + --twitter: #1DA1F2; + --instagram: #E4405F; + --spotify: #1ed760; + --github: #6e5494; } @media screen and (prefers-color-scheme: dark) { :root { @@ -198,34 +205,85 @@ td, th { margin-right: 5px; } +.page_header:before { + content: 'You\'re in: '; +} + /* Page Footer ---------------------------------------------------------------------------- */ -.page_footer { - position: absolute; - left: 0; - bottom: 0; +.page_footer, +.site-footer { width: 100%; - height: 80px; - line-height: 80px; - margin-top: 15px; background: var(--bg-alt); + margin: 0; +} + +.page_footer { + height: 40px; + line-height: 40px; border-top: 2px solid var(--border); border-bottom: 1px solid var(--border); } .page_footer_text { color: var(--fg); + text-align: right; + padding-right: 2em; display: inline; - float: left; - margin-left: 25px; - width: 80%; + float: right; + width: calc(100% - 2em); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } -a.rss_logo { +.site-footer { + position: absolute; + left: 0; + bottom: 0; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-around; + align-items: center; + align-content: stretch; +} + +.site-footer .columns { + display: block; + flex-grow: 1; + flex-basis: 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.twitter a { + color: var(--twitter); +} +.social-links ul li.instagram a { + color: var(--instagram); +} +.social-links ul li.github a { + color: var(--github); +} + +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%); @@ -320,7 +378,7 @@ th .header { .projsearch { position: absolute; right: 4%; - top: 15px; + top: 40px; } .projsearch a { @@ -328,7 +386,7 @@ th .header { } .commit_search { - background: #eaeaea; + background: var(--fg); } .page_nav, @@ -807,6 +865,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);