removing styles on other elements too. KISS rulez
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index b1f977b..2fbc2e3 100644 (file)
@@ -55,7 +55,10 @@ a { outline: none; }
   --link-visited: #e7b788;
   --border: 34,40,49,0.035;
   --accent: #FD7014;
+  --shadow: 0,0,0,0.2;
+  --bluish-grey: #3f4c77;
   --dark-grey: #393E46;
+  --light-grey: #ababcf;
 /* Icons */
   --file-icon: url("file-dark.svg");
   --dir-icon: url("folder-dark.svg");
@@ -76,6 +79,7 @@ a { outline: none; }
     --bg-alt: #222831;
     --fg: #D8D9CF;
     --border: 216,217,207,0.2;
+    --shadow: 255,255,255,0.2;
   --file-icon: url("file.svg");
   --dir-icon: url("folder.svg");
   --ref-icon: url("commit.svg");
@@ -167,6 +171,7 @@ td, th {
 /* Page Header
 ---------------------------------------------------------------------------- */
 
+/* breadcrumbs */
 .page_header {
   height: 50px;
   line-height: 50px;
@@ -175,10 +180,6 @@ td, th {
   margin-bottom: 20px;
   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(--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));
 }
 
@@ -215,18 +216,14 @@ td, th {
 .page_footer,
 .site-footer {
   width: 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%);
   margin: 0;
 }
 
 .page_footer {
   height: 40px;
   line-height: 40px;
-  border-top: 2px solid var(--border);
-  border-bottom: 1px solid var(--border);
+  border-top: 2px solid rgba(var(--border));
+  border-bottom: 1px solid rgba(var(--border));
 }
 
 .page_footer_text {
@@ -264,14 +261,6 @@ td, th {
 .social-links ul li {
   display: inline-block;
   margin: 1em;
-  padding: 0.5em;
-  width: 3em;
-  height: 3em;
-  text-align: center;
-  border: 1px solid var(--fg);
-  -webkit-border-radius: 2em;
-  -moz-border-radius: 2em;
-  border-radius: 2em;
 }
 
 .social-links ul li a {
@@ -312,8 +301,6 @@ div.page_header a img.logo {
 .index_include {
   width: 95%;
   margin: 0 auto 15px;
-  background: -moz-linear-gradient(center top , var(--bg) 0%, var(--bg-alt) 100%) repeat scroll 0 0 transparent;
-  border: 1px solid var(--border);
   padding: 8px;
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
@@ -330,32 +317,33 @@ div.page_header a img.logo {
 .history {
   width: 95%;
   margin: 0 auto 15px auto;
-  border: 1px solid var(--border);
-  -moz-box-shadow: 0 0 3px rgba(0,0,0,0.2);
-  -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
-  box-shadow: 0 0 3px rgba(0,0,0,0.2);
+  border: 1px solid rgba(var(--border));
+  -moz-box-shadow: 0 0 3px rgba(var(--shadow));
+  -webkit-box-shadow: 0 0 3px rgba(var(--shadow));
+  box-shadow: 0 0 3px rgba(var(--shadow));
 }
 
 .project_list th,
 .shortlog th,
 .tree th,
 .commit_search th {
-  color: #afafaf;
-  font-weight: normal;
+/*  background-color: var(--bluish-grey);
+  color: var(--light-grey);
+  font-weight: normal;*/
 }
 
 .project_list th {
-  font-weight: bold;
+/*  font-weight: bold;*/
 }
 
 .project_list tr,
 .shortlog tr,
 .tree tr,
 .commit_search tr {
-  background: #eaeaea;
+/*  background: var(--light-grey);
   height: 2.5em;
   text-align: left;
-  color: #545454;
+  color: var(--fg);*/
 }
 
 .project_list tr.dark, .project_list tr.light,
@@ -364,20 +352,17 @@ div.page_header a img.logo {
 .commit_search tr.dark, .commit_search tr.light,
 .history tr.dark, .history tr.light,
 .heads tr.dark, .heads tr.light {
-  background: #F9F9F9; /* old browsers */
-  background: -moz-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%); /* firefox */
-  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F9F9F9), color-stop(100%,#EFEFEF)); /* webkit */
-  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#F9F9F9', endColorstr='#EFEFEF',GradientType=0 ); /* ie */
-  background: -o-linear-gradient(top, #F9F9F9 0%, #EFEFEF 100%);
+/*  background-color: var(--bg-alt);
+  color: var(--fg);
   height: 2.5em;
-  border-bottom: 1px solid #e1e1e1;
+  border-bottom: 1px solid rgba(var(--border));*/
 }
 
 th .header {
-  background: transparent;
+/*  background: transparent;
   border: 0;
   padding: 0;
-  font-weight: bold;
+  font-weight: bold;*/
 }
 
 .tree {
@@ -404,26 +389,31 @@ th .header {
 .page_path,
 .search {
   width: 94%;
-  background: #eaeaea;
-  color: #545454;
-  border: 1px solid #d8d8d8;
+  background: var(--fg);
+  color: var(--bg);
+  border: 1px solid rgba(var(--border));
   padding: 5px;
   margin: 0 auto 15px auto;
 }
+.page_nav {
+  text-align: center;
+}
 
 .history {
   background: #eaeaea;
 }
 
 .title {
+  font-size: 2em;
+  font-style: capitalize;
   margin: 0 auto 15px auto;
   padding: 5px;
   width: 95%;
 }
 
 .readme {
-  background: #eaf2f5;
-  border: 1px solid #bedce7;
+  background: var(--bg-alt);
+  border: 1px solid rgba(var(--border));
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
@@ -477,7 +467,8 @@ th .header {
   margin-bottom: 0;
 }
 
-.readme pre {
+.readme pre,
+.readme code {
   font-family: 'Red Hat Mono', monospace;
   margin: 1em 0;
   white-space: pre;
@@ -494,8 +485,8 @@ th .header {
 .projects_list,
 .tags {
   width: 95%;
-  background: #f0f0f0;
-  color: #545454;
+  background: var(--bluish-grey);
+  color: var(--light-grey);
   border: 1px solid #d8d8d8;
   padding: 5px;
   margin: 0 auto 15px auto;
@@ -511,9 +502,8 @@ th .header {
 
 .header {
   width: 94%;
-  margin: 0 auto 15px auto;
-  background: #eaf2f5;
-  border: 1px solid #bedce7;
+  margin: 0 auto;
+  border: 2px solid rgba(var(--border));
   padding: 5px;
 }
 
@@ -594,7 +584,7 @@ span.refs span {
   display: inline-block;
   margin: 0;
   background-color: var(--bg);
-  border: 1px solid var(--border);
+  border: 1px solid rgba(var(--border));
   border-radius: 3px;
   height: 18px;
   padding: 0 6px;
@@ -735,15 +725,16 @@ div.chunk_block div.new {
 ---------------------------------------------------------------------------- */
 
 td.category {
-  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%);
+  background: var(--accent); /* old browsers */
+  color: var(--dark-grey);
+  padding-left: 3em;
   font-weight: bold;
-  border-bottom: 1px solid var(--border);
-  border-top: 1px solid var(--border);
+  border-bottom: 3px solid rgba(var(--border));
+  border-left: 3px solid rgba(var(--border));
+}
+td.category:before {
+  content: "Category: ";
 }
-
 /* Age
 ---------------------------------------------------------------------------- */
 
@@ -878,6 +869,11 @@ div.site-header h1 {
   margin: 0;
   line-height: 2em;
 }
+div.site-header h1 a,
+div.site-header h1 a:hover {
+  text-decoration: none;
+  color: var(--fg);
+}
 div.site-header h1 img.site-logo {
   height: 50px;
   width: auto;