You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by wa...@apache.org on 2021/06/14 21:32:17 UTC

[chemistry-site] 03/08: fix pre to match .codehilite

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

wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/chemistry-site.git

commit 49fade0009ec64d97c2f863f14bfa2f5720e43c2
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Mon Jun 14 13:21:02 2021 -0700

    fix pre to match .codehilite
---
 content/resources/site.css | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/content/resources/site.css b/content/resources/site.css
index c03bb1d..ecc8735 100644
--- a/content/resources/site.css
+++ b/content/resources/site.css
@@ -214,7 +214,13 @@ ul, ol {
 }
 
 pre {
-    padding: 0px;
+    border: 1px dashed #3c78b5;
+    font-size: 11px;
+    font-family: Courier;
+    margin: 10px;
+    line-height: 13px;
+    background-color: #f0f0f0;
+    padding: 3px;
     margin-top: 5px;
     margin-left: 15px;
     margin-bottom: 5px;
@@ -1569,7 +1575,7 @@ div.auto_complete ul strong.highlight {
 
 /* added */
 
-code .codehilite {
+.codehilite {
    border: 1px dashed #3c78b5;
    font-size: 11px;
    font-family: Courier;