You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by je...@apache.org on 2019/07/21 20:25:02 UTC

[sling-site] branch SLING-8588 updated: SLING-8588 cleaned up code examples

This is an automated email from the ASF dual-hosted git repository.

jeb pushed a commit to branch SLING-8588
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/SLING-8588 by this push:
     new 12cddb8  SLING-8588 cleaned up code examples
12cddb8 is described below

commit 12cddb8879d32b75a41836963d3e83d48970a9fe
Author: Jason E Bailey <je...@apache.org>
AuthorDate: Sun Jul 21 16:24:56 2019 -0400

    SLING-8588 cleaned up code examples
---
 src/main/jbake/assets/res/css/site.css | 47 +++++++++-------------------------
 1 file changed, 12 insertions(+), 35 deletions(-)

diff --git a/src/main/jbake/assets/res/css/site.css b/src/main/jbake/assets/res/css/site.css
index 3be3caa..bdf41af 100644
--- a/src/main/jbake/assets/res/css/site.css
+++ b/src/main/jbake/assets/res/css/site.css
@@ -1,10 +1,10 @@
 body {
-    background-color: #ffffff;
+    background-color: #fcfcfc;
     color: #3b3b3b;
 }
 
 h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited {
-	color:black;
+	color:#3b3b3b;
 	text-decoration:none;
 }
 
@@ -37,7 +37,6 @@ a:hover {
 }
 
 .sidemenu ul,.sidemenu p {
-    background-color: #fdf5d9;
     color: #4a4a43
 }
 
@@ -49,15 +48,6 @@ a:hover {
     border-top: 10px solid #cde0ea;
 }
 
-.preformatted {
-    color: black;
-    background-color: #eeeeee;
-    border: solid 1px black;
-}
-
-.preformattedContent pre {
-    margin: 0em
-}
 
 table {
     border-collapse: collapse;
@@ -142,23 +132,6 @@ td {
     text-align: left;
 }
 
-blockquote {
-    font-style: italic;
-    margin: 0;
-    padding-left: 1em;
-    border-left: 1px solid black;
-}
-
-pre {
-    color: black;
-    background-color: #f0f0f0;
-    border: solid 1px #f5f5f5;
-    margin-top: 0.5em;
-    margin-bottom: 0.5em;
-    padding: 0.5em;
-    width: 100%;
-}
-
 .draft {
 	font-size:150%;
 	font-weight:bold;
@@ -166,14 +139,18 @@ pre {
     text-align:center;
 }
 
-.footer {
-    padding-top: 1em; 
+.menu-list a {
+    padding: 0em;
 }
 
-.tags .tag {
-    background-color: #EEE;
+code {
+    color: #000000;
 }
 
-.menu-list a {
-    padding: 0em;
+.content pre {
+    background-color: #fcfcfc;
+}
+
+.content pre code {
+    border: 1px solid #cde0ea;
 }