social links coloring svgs
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index aae401b..18f9446 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,15 @@ 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;
+  --twitter-filter: 'invert(58%) sepia(29%) saturate(5279%) hue-rotate(176deg) brightness(96%) contrast(99%)';
+  --instagram: #E4405F;
+  --instagram-filter: 'invert(40%) sepia(71%) saturate(3199%) hue-rotate(325deg) brightness(92%) contrast(94%)';
+  --spotify: #1ed760;
+  --spotify-filter: 'invert(80%) sepia(16%) saturate(3018%) hue-rotate(79deg) brightness(90%) contrast(86%)';
+  --github: #6e5494;
+  --github-filter: 'invert(34%) sepia(20%) saturate(1263%) hue-rotate(222deg) brightness(96%) contrast(84%)';
 }
 @media screen and (prefers-color-scheme: dark) {
   :root {
@@ -204,31 +215,85 @@ 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;
+}
+
+.social-links ul li a {
+  height: 32px;
+}
+.social-links ul li.spotify a {
+  color: var(--spotify);
+}
+.social-links ul li.spotify a img.img-spotify {
+  filter: var(--spotify-filter);
+}
+.social-links ul li.twitter a {
+  color: var(--twitter);
+}
+.social-links ul li.twitter a img.img-twitter {
+  filter: var(--twitter-filter);
+}
+.social-links ul li.instagram a {
+  color: var(--instagram);
+}
+.social-links ul li.instagram a img.img-instagram {
+  filter: var(--instagram-filter);
+}
+.social-links ul li.github a {
+  color: var(--github);
+}
+.social-links ul li.github a img.img-github {
+  filter: var(--github-filter);
+}
+
 a.rss_logo {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);