X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=gitweb-danixland%2Fgitweb.css;h=aae401ba49e875325d5ad9acd3337180f2ab64e4;hb=fdd09006af106339e54720a36887feadb401f6db;hp=5a06b4667df7e3e8b0049de438f30491234738ab;hpb=a8dc308ab504fa777b9a2b304d0575869764a295;p=gitweb-theme-danix.git diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 5a06b46..aae401b 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -60,6 +60,8 @@ a { outline: none; } --ref-icon: url("commit-dark.svg"); --tag-icon: url("tag-dark.svg"); --branch-icon: url("merge-dark.svg"); + --rss-icon:url("rss-dark.svg"); + --opml-icon:url("opml-dark.svg"); } @media screen and (prefers-color-scheme: dark) { :root { @@ -72,6 +74,8 @@ a { outline: none; } --ref-icon: url("commit.svg"); --tag-icon: url("tag.svg"); --branch-icon: url("merge.svg"); + --rss-icon:url("rss.svg"); + --opml-icon:url("opml.svg"); } } @@ -145,7 +149,7 @@ td, th { #generating_info { font-size: 10px; - color: #aaa; + color: var(--fg); text-align: center; } @@ -163,7 +167,7 @@ td, th { padding: 0 27px; margin-bottom: 20px; font-size: 20px; - font-family: Helvetica, Arial, Freesans, Clean, sans-serif; + 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 */ @@ -197,24 +201,28 @@ td, th { /* 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); + background: var(--bg-alt); border-top: 2px solid var(--border); border-bottom: 1px solid var(--border); } +.page_footer { + position: absolute; + left: 0; + bottom: 0; +} + .page_footer_text { color: var(--fg); display: inline; - float: left; - margin-left: 25px; + float: right; + margin-right: 25px; width: 80%; overflow: hidden; white-space: nowrap; @@ -222,35 +230,17 @@ td, th { } 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: sans-serif; - font-size: 80%; - text-align: center; - text-decoration: none; - margin-top: 30px; - margin-left: 5px; -} - -a.rss_logo:hover { - background-color: #ee5500; -} - -.rss_logo { - margin-right: 25px; - background: yellow; + 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; } -.rss_logo:last-child { - margin-right: 5px; -} /* Index include ---------------------------------------------------------------------------- */ @@ -424,13 +414,13 @@ th .header { } .readme pre { - font-family: monospace; + font-family: 'Red Hat Mono', monospace; margin: 1em 0; white-space: pre; } .readme tt, .readme code, .readme kbd, .readme samp { - font-family: monospace; + font-family: 'Red Hat Mono', monospace; } .readme blockquote { @@ -539,8 +529,8 @@ span.refs span { color: #707070; display: inline-block; margin: 0; - background-color: #eee; - border: 1px solid #ccc; + background-color: var(--bg); + border: 1px solid var(--border); border-radius: 3px; height: 18px; padding: 0 6px; @@ -551,8 +541,8 @@ span.refs span.ref { color: #707070; display: inline-block; margin: 0; - background-color: #c4c4ff; - border: 1px solid #7878ff; + background-color: var(--bg-alt); + border: 1px solid var(--link); border-radius: 3px; height: 18px; padding: 0 6px;