styling the footer with flex
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 3c7a7b1..417face 100644 (file)
@@ -219,9 +219,9 @@ td, th {
 }
 
 .page_footer_text {
-  background-color: var(--accent);
   color: var(--fg);
   text-align: right;
+  padding-right: 2em;
   display: inline;
   float: right;
   width: calc(100% - 2em);
@@ -231,9 +231,23 @@ td, th {
 }
 
 .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;
+}
 a.rss_logo {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);