playing with social icons again
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 8879b7a..bea080f 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) {
@@ -87,7 +87,7 @@ a { outline: none; }
 }
 
 
-/* General
+/* Main
 ---------------------------------------------------------------------------- */
 
 html {
@@ -176,9 +176,9 @@ td, th {
   font-size: 20px;
   font-family: 'Montserrat', Helvetica, Arial, Freesans, Clean, sans-serif;
   background: var(--bg); /* old browsers */
-  background: -moz-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%); /* firefox */
-  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--bg-alt))); /* webkit */
-  background: -o-linear-gradient(top, var(--bg) 0%, var(--bg-alt) 100%);
+  background: -moz-linear-gradient(top, var(--bg) 0%, var(--fg) 100%); /* firefox */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--fg))); /* webkit */
+  background: -o-linear-gradient(top, var(--bg) 0%, var(--fg) 100%);
   border-bottom: 1px solid rgba(var(--border));
 }
 
@@ -205,21 +205,25 @@ td, th {
   margin-right: 5px;
 }
 
+.page_header:before {
+  content: 'You\'re in: ';
+}
+
 /* Page Footer
 ---------------------------------------------------------------------------- */
 
 .page_footer,
 .site-footer {
   width: 100%;
-  background: var(--bg-alt);
+  background: var(--bg); /* old browsers */
+  background: -moz-linear-gradient(top, var(--bg) 0%, var(--fg) 100%); /* firefox */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--fg))); /* webkit */
+  background: -o-linear-gradient(top, var(--bg) 0%, var(--fg) 100%);
   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);
@@ -238,21 +242,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;
 }
 
@@ -260,25 +265,34 @@ td, th {
   display: inline-block;
   margin: 1em;
   padding: 0.5em;
+  width: 3em;
+  height: 3em;
+  border: 1px solid var(--fg);
+  -webkit-border-radius: 1.5em;
+  -moz-border-radius: 1.5em;
+  border-radius: 1.5em;
 }
 
 .social-links ul li a {
-  color: var(--dark-grey);
+  height: 32px;
+  text-align: center;
 }
 .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 {
+a.rss_logo,
+div.social-links ul li a span,
+div.page_header a img.logo {
   border: 0;
   clip: rect(1px, 1px, 1px, 1px);
   clip-path: inset(100%);
@@ -373,7 +387,7 @@ th .header {
 .projsearch {
   position: absolute;
   right: 4%;
-  top: 15px;
+  top: 40px;
 }
 
 .projsearch a {
@@ -381,7 +395,7 @@ th .header {
 }
 
 .commit_search {
-  background: #eaeaea;
+  background: var(--fg);
 }
 
 .page_nav,
@@ -720,14 +734,13 @@ div.chunk_block div.new {
 ---------------------------------------------------------------------------- */
 
 td.category {
-  background: #E6F1F6; /* old browsers */
-  background: -moz-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%); /* firefox */
-  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C8D8E7), color-stop(100%,#E6F1F3)); /* webkit */
-  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C8D8E7', endColorstr='#E6F1F3',GradientType=0 ); /* ie */
-  background: -o-linear-gradient(top, #C8D8E7 0%, #E6F1F3 100%);
+  background: var(--bg); /* old browsers */
+  background: -moz-linear-gradient(top, var(--bg) 0%, var(--fg) 100%); /* firefox */
+  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,var(--bg)), color-stop(100%,var(--fg))); /* webkit */
+  background: -o-linear-gradient(top, var(--bg) 0%, var(--fg) 100%);
   font-weight: bold;
-  border-bottom: 1px solid #D1D1D1;
-  border-top: 1px solid #D1D1D1;
+  border-bottom: 1px solid var(--border);
+  border-top: 1px solid var(--border);
 }
 
 /* Age
@@ -860,6 +873,15 @@ div.site-header {
 div.site-header h1 {
   text-transform: uppercase;
   font-size: 2em;
+  padding: 0;
+  margin: 0;
+  line-height: 2em;
+}
+div.site-header h1 img.site-logo {
+  height: 50px;
+  width: auto;
+  position: relative;
+  top: 15px;
 }
 div.site-header h1 span.evident {
   background-color: var(--accent);