Browse Source

worg.css: Soften code blocks

This makes the background of code blocks closer to the background
color and removes the border.  Code blocks still stand out, but not as
much.  This is meant to improve readability.

ob-doc-java.org: Removed formatting that was added to the main css.
Ian Martins 2 months ago
parent
commit
1a780c4198
2 changed files with 4 additions and 8 deletions
  1. 0 3
      org-contrib/babel/languages/ob-doc-java.org
  2. 4 5
      style/worg.css

+ 0 - 3
org-contrib/babel/languages/ob-doc-java.org

@@ -6,9 +6,6 @@
 #+AUTHOR:     Ian Martins
 #+EMAIL:      ianxm at jhu dot edu
 #+LANGUAGE:   en
-#+HTML_HEAD_EXTRA:      <style type="text/css">h1,h2 { padding-top: 3em; font-family: sans-serif; }</style>
-#+HTML_HEAD_EXTRA:      <style type="text/css">h3,h4 { padding-top: 1.5em; font-family: sans-serif; }</style>
-#+HTML_HEAD_EXTRA:      <style type="text/css">pre { border: none; box-shadow: none; background-color: #f2f2f2; border-radius: 5px; }</style>
 #+HTML_LINK_UP:    index.html
 #+HTML_LINK_HOME:  https://orgmode.org/worg/
 #+EXCLUDE_TAGS: noexport

+ 4 - 5
style/worg.css

@@ -196,7 +196,6 @@
     code {
 	font-size: 100%;
 	color: black;
-	border: 1px solid #DEDEDE;
 	padding: 0px 0.2em;
     }
 
@@ -220,11 +219,11 @@
 	font-family: Droid Sans Mono, Monaco, Consolas, "Lucida Console", monospace;
 	color: black;
 	font-size: 90%;
-	background-color: #eee;
-	padding: 1.2em;
-	border: 2px solid #dddddd;
-	border-radius: 3px;
+	padding: 0.5em;
 	overflow: auto;
+	border: none;
+	background-color: #f2f2f2;
+	border-radius: 5px;
     }
 
     .org-info-box {