hiding text in social links
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index f848301..f4df6fc 100644 (file)
@@ -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 {
@@ -210,9 +217,6 @@ td, th {
 
 .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);
@@ -231,21 +235,22 @@ td, th {
 }
 
 .site-footer {
+  position: absolute;
+  left: 0;
+  bottom: 0;
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
   justify-content: space-around;
-  align-items: stretch;
+  align-items: center;
   align-content: stretch;
 }
 
 .site-footer .columns {
-  width: 30%;
   display: block;
-  flex-grow: 0;
-  flex-shrink: 1;
+  flex-grow: 1;
   flex-basis: auto;
-  align-self: auto;
+  align-self: stretch;
   order: 0;
 }
 
@@ -253,11 +258,27 @@ td, th {
   display: inline-block;
   margin: 1em;
   padding: 0.5em;
-  background-color: var(--fg);
-  color: var(--bg);
 }
 
-a.rss_logo {
+.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 {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);
   clip-path: inset(100%);