Commits

Taylor Venable committed 183a10d

Some classy updates to my org-mode CSS stylesheet

Comments (0)

Files changed (1)

Documents/org-mode.css

  * @import url("http://fonts.googleapis.com/css?family=UnifrakturCook:700");
  * @import url("http://fonts.googleapis.com/css?family=Alegreya:400,400italic,700");
  * @import url("http://fonts.googleapis.com/css?family=PT+Mono");
+ * @import url("http://fonts.googleapis.com/css?family=Droid+Sans+Mono");
  */
 
 @import url("http://fonts.googleapis.com/css?family=UnifrakturMaguntia");
-@import url("http://fonts.googleapis.com/css?family=Droid+Sans+Mono");
 @import url("http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700");
+@import url("http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700");
+@import url("http://fonts.googleapis.com/css?family=PT+Mono");
 
 html {
-    font-family: "PT Serif", sans-serif;
-    font-size: 14pt;
-    width: 60%;
-    padding-left: 20%;
+    font-family: "PT Sans", sans-serif;
+    font-size: 13pt;
+    width: 60em;
+    margin-left: auto;
+    margin-right: auto;
 }
 
 h1.title {
 }
 h1.title:before { content: "✥ "; }
 h1.title:after { content: " ✥"; }
+h2 {
+    font-size: 24pt;
+    border-bottom: solid 4px #800020;
+}
+h3 {
+    font-size: 20pt;
+    border-bottom: solid 2px #A04040;
+}
+h4 {
+    font-size: 16pt;
+    border-bottom: solid 1px #C08080;
+}
 
 pre.src-output {
     background: -moz-repeating-linear-gradient(-45deg, #F3F5F7, #F3F5F7 40px, #DAE6F2 50px, #DAE6F2 60px, #F3F5F7 70px);
 }
 
-.todo   { color: red; }
-.done   { color: green; }
-.tag    { background-color: #add8e6; font-weight:normal }
-.target { }
-.timestamp { color: #bebebe; }
-.timestamp-kwd { color: #5f9ea0; }
-p.verse { margin-left: 3% }
-div#postamble { font-size: small; }
-div#postamble p {
-    margin-top: 0px;
-    margin-bottom: 0px;
-}
-div#postamble p.creator { font-style: italic; }
 code {
-    font-family: "Droid Sans Mono", monospace;
+    font-family: "PT Mono", monospace;
 }
 pre {
     border: 1pt solid #AEBDCC;
     background-color: #F3F5F7;
     padding: 5pt;
-    font-family: "Droid Sans Mono", monospace;
+    font-family: "PT Mono", monospace;
     font-size: 90%;
     overflow:auto;
 }
-table { border-collapse: collapse; }
-td, th { vertical-align: top; }
-dt { font-weight: bold; }
-div.figure { padding: 0.5em; }
-div.figure p { text-align: center; }
-textarea { overflow-x: auto; }
-.linenr { font-size:smaller }
-.code-highlighted {background-color:#ffff00;}
-.org-info-js_info-navigation { border-style:none; }
-#org-info-js_console-label {
-    font-size:10px; font-weight:bold;
-    white-space:nowrap;
-}
-.org-info-js_search-highlight {
-    background-color:#ffff00;
-    color:#000000;
-    font-weight:bold;
-}
-p.tagline span#name { font-size: 24pt; font-family: UnifrakturMaguntia; }
+
+p.tagline span#name { font-size: 24pt; font-family: "UnifrakturMaguntia"; }
 
 span.tag {
     float: right;
-    background-color: transparent;
 }
 
+/*
 span.tag span {
     padding: 4px;
     margin: 4px;
     border: outset 4px #808080;
     display: inline-block;
 }
+*/
 
 span.tag span.bug {
     background-color: #FFC0C0;
 }
 
+div#text-table-of-contents {
+    font-size: 90%;
+    margin-left: -1em;
+}
+div#text-table-of-contents ul {
+    list-style-type: none;
+    margin-left: -1em;
+}
 div#text-table-of-contents a {
     text-decoration: none;
 }
+
+div#postamble {
+    font-size: 80%;
+}
+div#postamble p {
+    margin-top: 0;
+    margin-bottom: 0;
+}
+
+table { margin-left: auto; margin-right: auto; }
+table { border: solid 1px black; }
+table th { background-color: #C0C0C0; }
+table.bordered { border: solid 1px black; }
+table.narrow td {
+    padding-top: 0.1ex;
+    padding-bottom: 0.1ex;
+}
+
+div.spacious > ul > li {
+    margin-top: 2ex;
+}
+div.spacious > ul > li:first-child {
+    margin-top: 0;
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.