X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=11dd78dcc6ab900cd579caa36e1040f31505fc75;hb=020d4a03b299ea1dfca71d9f5cdc016d4832fe0a;hp=146ec488a9f5ad23764b37357c26eddb826683ed;hpb=c63d74b2e4656dcb084ba0473079377b71b0cdf6;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 146ec48..11dd78d 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 { @@ -201,61 +208,89 @@ td, th { /* Page Footer ---------------------------------------------------------------------------- */ +.page_footer, +.site-footer { + width: 100%; + background: var(--bg-alt); + margin: 0; +} + .page_footer { + height: 40px; position: absolute; left: 0; bottom: 0; - width: 100%; - height: 80px; - line-height: 80px; - margin-top: 15px; - background: var(--bg-alt); + 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 { - float: right; - padding: 3px 1px; - width: 35px; - line-height: 10px; - border: 1px solid; - border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e; - color: #ffffff; - background-color: #ff6600; - font-weight: bold; - font-family: 'Montserrat', sans-serif; - font-size: 80%; - text-align: center; - text-decoration: none; - margin-top: 30px; - margin-left: 5px; +.site-footer { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-around; + align-items: stretch; + align-content: stretch; } -a.rss_logo:hover { - background-color: #ee5500; +.site-footer .columns { + width: 30%; + display: block; + flex-grow: 0; + flex-shrink: 1; + flex-basis: auto; + align-self: auto; + order: 0; } -.rss_logo { - margin-right: 25px; - background: yellow; +.social-links ul li { + display: inline-block; + margin: 1em; + padding: 0.5em; } -.rss_logo:last-child { - margin-right: 5px; +.social-links ul li a { + height: 32px; +} +.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 { + border: 0; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(100%); + height: 1px; + overflow: hidden; + padding: 0; + position: absolute; + white-space: nowrap; + width: 1px; } + /* Index include ---------------------------------------------------------------------------- */