X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=f4df6fc095be064898e6ff2829c6a2ce5e2a038c;hb=c5b578815d07d5f1439e63936ea0ae2468c99fa3;hp=3c7a7b122e39a29f7cf5a35562c4d303ac3ae92c;hpb=27ee5f03b06ddad40fe3b201f9ddc08240d41667;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 3c7a7b1..f4df6fc 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 { @@ -205,23 +212,20 @@ td, th { .site-footer { width: 100%; background: var(--bg-alt); + margin: 0; } .page_footer { height: 40px; - position: absolute; - left: 0; - bottom: 0; line-height: 40px; - margin-top: 15px; border-top: 2px solid var(--border); border-bottom: 1px solid var(--border); } .page_footer_text { - background-color: var(--accent); color: var(--fg); text-align: right; + padding-right: 2em; display: inline; float: right; width: calc(100% - 2em); @@ -231,10 +235,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: 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 { +a.rss_logo, +div.social-links ul li a span { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(100%);