X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=fc64fe9f5f2a3acf3ed80d43009a8e06c07278ae;hb=f5db486f99bb1c9f6b72a21f74765fa0530ed8df;hp=aae401ba49e875325d5ad9acd3337180f2ab64e4;hpb=fdd09006af106339e54720a36887feadb401f6db;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index aae401b..fc64fe9 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; +/* Icons */ --file-icon: url("file-dark.svg"); --dir-icon: url("folder-dark.svg"); --ref-icon: url("commit-dark.svg"); @@ -62,6 +63,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 { @@ -204,31 +210,72 @@ td, th { .page_footer, .site-footer { width: 100%; - height: 80px; - line-height: 80px; - margin-top: 15px; background: var(--bg-alt); - border-top: 2px solid var(--border); - border-bottom: 1px solid var(--border); + 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); + text-align: right; + padding-right: 2em; display: inline; float: right; - margin-right: 25px; - width: 80%; + width: calc(100% - 2em); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } +.site-footer { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-around; + align-items: stretch; + align-content: stretch; +} + +.site-footer .columns { + width: 30%; + display: block; + flex-grow: 0; + flex-shrink: 1; + flex-basis: auto; + align-self: auto; + order: 0; +} + +.social-links ul li { + display: inline-block; + margin: 1em; + padding: 0.5em; + background-color: var(--fg); + color: var(--bg); +} + +.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);