styles/default.css in glyph-0.5.1 vs styles/default.css in glyph-0.5.2
- old
+ new
@@ -1,5 +1,6 @@
+@import url(http://fonts.googleapis.com/css?family=Crimson+Text:400,700,400italic,700italic|Inconsolata);
* {
font-family: inherit;
border: none;
font-size: 100%;
font-style: inherit;
@@ -10,13 +11,10 @@
background: #fff; }
ol, ul {
margin: 0.3em 0; }
-p {
- margin: 1em 0; }
-
table {
border-collapse: collapse;
border-spacing: 0;
margin: auto;
margin-top: 1em; }
@@ -35,56 +33,64 @@
.titlepage {
margin: auto;
text-align: center; }
.titlepage h1 {
- font-size: 2.5em;
- font-weight: bold;
- line-height: 1.5em;
- margin-bottom: 0.2em; }
+ padding-top: 0;
+ line-height: 1.3em;
+ font-size: 3em;
+ font-style: italic;
+ font-weight: normal; }
+ .titlepage h2 {
+ padding-top: 0;
+ line-height: 1.3em;
+ font-size: 1.5em;
+ font-weight: normal;
+ margin-bottom: 0.5em;
+ prince-bookmark-level: none; }
.halftitlepage h1 {
- font-size: 2.5em;
- font-weight: bold;
- line-height: 1.5em;
+ padding-top: 0;
+ font-size: 3em;
+ font-weight: normal;
+ line-height: 1.3em;
+ font-style: italic;
margin-bottom: 0.2em; }
.halftitlepage h2 {
- font-size: 1.1em;
- font-style: italic;
- font-weight: bold;
- line-height: 1.2em;
- margin-bottom: 0.5em;
+ padding-top: 0;
+ font-size: 1.5em;
+ font-weight: normal;
+ line-height: 1.3em;
prince-bookmark-level: none; }
-.titlepage h2 {
- font-size: 1.1em;
- font-style: italic;
- font-weight: bold;
- line-height: 1.2em;
- margin-bottom: 0.5em;
- prince-bookmark-level: none; }
-
.author {
font-size: 1em; }
.pubdate {
font-size: 0.8em; }
li {
- list-style-type: square;
- margin: 0.4em 0;
- margin-left: 1.5em; }
+ margin: 0;
+ margin-left: 1.3em; }
+ul li {
+ list-style-type: disc; }
+ ul li li {
+ list-style-type: circle; }
+ ul li li li {
+ list-style-type: square; }
+
ol li {
list-style-type: decimal; }
.contents li {
list-style-type: none; }
img {
margin: 0 5px;
- padding: 2px; }
+ padding: 2px;
+ max-width: 675px; }
dt {
font-weight: bold;
margin-top: 1em; }
@@ -95,20 +101,20 @@
margin: 1em 1em;
font-style: italic;
color: #121212; }
table {
- border: 1px solid #e6e6e6; }
+ border: 1px solid black; }
th {
background: #EEE; }
tr, td, th {
padding: 5px; }
-td, tr {
- border: 1px solid #e6e6e6; }
+td, tr, th {
+ border: 1px solid black; }
sup {
font-size: 0.7em;
font-weight: bold;
margin-left: -0.4em; }
@@ -125,29 +131,35 @@
.right {
margin: auto;
text-align: center; }
.note, .important, .tip, .caution, .box {
- border: 1px solid #e6e6e6;
+ border-top: 1px solid black;
+ border-bottom: 1px solid black;
display: block;
- margin: 0.5em auto;
- padding: 0 0.5em;
+ min-height: 50px;
+ margin: 1em auto;
+ padding: 0.5em 0.5em;
width: 600px;
- background: #EEE;
- color: #1F1F1F; }
+ color: #000; }
.note > p, .important > p, .tip > p, .caution > p {
+ display: block;
margin: 0;
padding: 0; }
.note-title {
+ display: block;
+ vertical-align: middle;
font-weight: bold;
+ font-variant: small-caps;
margin-right: 1em; }
.box-title {
display: block;
text-align: center;
+ font-variant: small-caps;
font-weight: bold; }
.comment {
display: block;
border: 1px solid #004D00;
@@ -169,31 +181,36 @@
/* TEXT */
body {
color: #000;
font-size: 1em; }
-h2, section section h1, h1.toc-header {
+h2, section section section h1, h1.toc-header {
display: block;
font-size: 2em;
font-weight: bold;
- margin: 3em 0 1em 0; }
+ margin: 1em 0; }
-h3, section section section h1 {
+h3, section section section section h1 {
font-size: 1.6em;
font-weight: bold;
margin: 3em 0 1em 0; }
-h4, section section section section h1 {
+h4, section section section section section h1 {
font-size: 1.3em;
font-weight: bold;
margin: 3em 0 1em 0; }
-h5, section section section section section h1 {
+h5, section section section section section section h1 {
font-size: 1.2em;
font-weight: bold;
margin: 3em 0 1em 0; }
+h6, section section section section section section section h1 {
+ font-size: 1.1em;
+ font-weight: bold;
+ margin: 3em 0 1em 0; }
+
em {
font-style: italic; }
a {
color: #007bc4;
@@ -219,11 +236,11 @@
nav, .navigation {
display: block;
margin: 1em auto;
text-align: center;
- border: 1px solid #e6e6e6; }
+ border: 1px solid black; }
nav.contents {
margin: auto;
text-align: left;
border: none; }
@@ -247,9 +264,9 @@
.topic {
margin: 2em auto; }
/* FONTS */
body {
- font-family: "Gentium Book Basic", "Book Antiqua", "Times New Roman", "Serif"; }
+ font-family: "Crimson Text", Serif; }
code, pre {
- font-family: "Droid Sans Mono", "Consolas", "Monaco", "Courier", "Monospace"; }
+ font-family: "Inconsolata", Monospace; }