stretching blocks with flex
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 8879b7a..32cf162 100644 (file)
@@ -67,7 +67,7 @@ a { outline: none; }
 /* social colors */
   --twitter: #1DA1F2;
   --instagram: #E4405F;
-  --spotify: ##1ed760;
+  --spotify: #1ed760;
   --github: #6e5494;
 }
 @media screen and (prefers-color-scheme: dark) {
@@ -217,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);
@@ -238,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;
 }
 
@@ -263,19 +261,19 @@ td, th {
 }
 
 .social-links ul li a {
-  color: var(--dark-grey);
+  height: 32px;
 }
 .social-links ul li.spotify a {
-  background-color: var(--spotify);
+  color: var(--spotify);
 }
 .social-links ul li.twitter a {
-  background-color: var(--twitter);
+  color: var(--twitter);
 }
 .social-links ul li.instagram a {
-  background-color: var(--instagram);
+  color: var(--instagram);
 }
 .social-links ul li.github a {
-  background-color: var(--github);
+  color: var(--github);
 }
 
 a.rss_logo {