styling the readme amongst other things
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index c083b95..b65942a 100644 (file)
@@ -57,6 +57,7 @@ a { outline: none; }
   --accent: #FD7014;
   --bluish-grey: #3f4c77;
   --dark-grey: #393E46;
+  --light-grey: #ababcf;
 /* Icons */
   --file-icon: url("file-dark.svg");
   --dir-icon: url("folder-dark.svg");
@@ -177,7 +178,7 @@ td, th {
   font-size: 20px;
   font-family: 'Montserrat', Helvetica, Arial, Freesans, Clean, sans-serif;
   background: var(--bluish-grey); /* old browsers */
-  background: linear-gradient(112deg, var(--bluish-grey) 10%, var(--accent) 75%);
+  background: linear-gradient(112deg, var(--bluish-grey) 10%, var(--light-grey) 75%);
   border-bottom: 1px solid rgba(var(--border));
 }
 
@@ -215,7 +216,7 @@ td, th {
 .site-footer {
   width: 100%;
   background: var(--bluish-grey); /* old browsers */
-  background: linear-gradient(112deg, var(--bluish-grey) 65%, var(--accent) 100%);
+  background: linear-gradient(112deg, var(--bluish-grey) 65%, var(--light-grey) 100%);
   margin: 0;
 }
 
@@ -327,7 +328,8 @@ div.page_header a img.logo {
 .shortlog th,
 .tree th,
 .commit_search th {
-  color: var(--bluish-grey);
+  background-color: var(--bluish-grey);
+  color: var(--light-grey);
   font-weight: normal;
 }
 
@@ -339,7 +341,7 @@ div.page_header a img.logo {
 .shortlog tr,
 .tree tr,
 .commit_search tr {
-  background: var(--bg-alt);
+  background: var(--light-grey);
   height: 2.5em;
   text-align: left;
   color: var(--fg);
@@ -351,11 +353,8 @@ 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(--dark-grey);
   height: 2.5em;
   border-bottom: 1px solid #e1e1e1;
 }
@@ -391,9 +390,9 @@ th .header {
 .page_path,
 .search {
   width: 94%;
-  background: #eaeaea;
-  color: #545454;
-  border: 1px solid #d8d8d8;
+  background: var(--fg);
+  color: var(--bg);
+  border: 1px solid var(--border);
   padding: 5px;
   margin: 0 auto 15px auto;
 }
@@ -403,6 +402,8 @@ th .header {
 }
 
 .title {
+  font-size: 2em;
+  font-style: capitalize;
   margin: 0 auto 15px auto;
   padding: 5px;
   width: 95%;
@@ -464,7 +465,8 @@ th .header {
   margin-bottom: 0;
 }
 
-.readme pre {
+.readme pre,
+.readme code {
   font-family: 'Red Hat Mono', monospace;
   margin: 1em 0;
   white-space: pre;
@@ -481,8 +483,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;
@@ -724,13 +726,13 @@ div.chunk_block div.new {
 td.category {
   background: var(--accent); /* old browsers */
   color: var(--dark-grey);
-  padding-left: 2em;
+  padding-left: 3em;
   font-weight: bold;
   border-bottom: 1px solid var(--border);
   border-top: 1px solid var(--border);
 }
 td.category:before {
-  content: "Cat.:";
+  content: "Cat.: ";
 }
 /* Age
 ---------------------------------------------------------------------------- */