stretching blocks with flex
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 18f9446..32cf162 100644 (file)
@@ -66,13 +66,9 @@ a { outline: none; }
   --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 {
@@ -221,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);
@@ -242,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;
+  justify-content: space-between;
+  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;
 }
 
@@ -272,27 +266,15 @@ td, th {
 .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;