Browse Source

body class

windhamdavid 1 year ago
parent
commit
1c3d4550a3
3 changed files with 25 additions and 3 deletions
  1. 1 1
      inc/template.php
  2. 23 1
      style.css
  3. 1 1
      style.min.css

+ 1 - 1
inc/template.php

@@ -28,7 +28,7 @@ function page_bodyclass() {
 		$page = 'search';
 	}
 	if ($page)
-		echo 'class="'. $page. '"';
+		echo 'class="page '. $page. '"';
 }
 endif;
 

+ 23 - 1
style.css

@@ -45,12 +45,22 @@ a img {border: 0;}
 
 body { 
 	background: rgba(242,242,242,.7);
-	background-color: #f2f2f2 !important;
+	background-color: #f2f2f2;
+}
+body.page {
+	background: rgba(97, 102, 116, 1);
+	background-color: #616674;
 }
+	body.page .site-title a {
+		color:#fff;
+	}
 body.desk { 
 	background: rgba(242,242,242,.7);
 	background-color: #f2f2f2;
 }
+	body.desk .site-title a {
+		color:#000;
+	}
 body.single {
 	background: rgba(85,94,104,0.68);
 	background-color: #5f6577;
@@ -72,6 +82,18 @@ body.search {
 	body.search .site-title a {
 		color:#fff;
 	}
+body.sitemap {
+	background-color: #42546F;
+}
+	body.sitemap .site-title a {
+		color:#fff;
+	}
+body.contact {
+	background-color: #F6F6F6;
+}
+	body.contact .site-title a {
+		color:#000;
+	}
 
 @media screen and (max-width: 768px) {
 	body {

File diff suppressed because it is too large
+ 1 - 1
style.min.css