Permalink
Browse files

Disabled automatic first line indent

I commented them out.
  • Loading branch information...
Abekonge committed Dec 5, 2014
1 parent facf842 commit 99f93e376dd196e24e23b5a49707b65fa60bc4ab
Showing with 26 additions and 20 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 public/create/stylesets/Chapter.html
  3. +23 −18 public/create/stylesets/non-editable.css
View
@@ -10,4 +10,5 @@ config/*
debug.log
exceptions.log
tmp/*
*.epub
*.epub
public/create/stylesets/Colophon_template.html
@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<head>
<link href="meta.css" rel="stylesheet" type="text/css" />
<link href="meta-bw.css" rel="stylesheet" type="text/css" />
<link href="non-editable.css" rel="stylesheet" type="text/css" />
<title></title>
@@ -122,26 +122,26 @@ body.cover {
/*PARAGRAPH RULES*/
/*This makes first line indents on paragraphs that follows paragraphs. And removes the margin-top.*/
/*This makes first line indents on paragraphs that follows paragraphs (this is currently disabled). And removes the margin-top.*/
p + p {
text-indent: 1.5em;
/*text-indent: 1.5em;*/
margin: 0;
}
/*This removes first line indent from paragraphs that comes after empty paragraphs*/
p.empty-paragraph + p {
/*Currently disabled: This removes first line indent from paragraphs that comes after empty paragraphs*/
/*p.empty-paragraph + p {
text-indent: 0;
}
}*/
/*When empty paragraphs are added, the should not have margin-top, since they are themselves acting as a sort of margin-top with their emptyness. The line-height is then specified to have the same height as the same removed margin-top.*/
p.empty-paragraph {
line-height:1.5em;
margin-top:0;
}
p.toc-item-h1 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 items in toc*/
/*p.toc-item-h1 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h1 + p.toc-item-h2 {
text-indent:0.5em;
@@ -163,9 +163,10 @@ p.toc-item-h1 + p.toc-item-h6 {
text-indent:4em;
}
p.toc-item-h2 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 following h2 items in toc*/
/*p.toc-item-h2 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h2 + p.toc-item-h2 {
text-indent:0.5em;
@@ -187,9 +188,10 @@ p.toc-item-h2 + p.toc-item-h6 {
text-indent:4em;
}
p.toc-item-h3 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 following h3 items in toc*/
/*p.toc-item-h3 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h3 + p.toc-item-h2 {
text-indent:0.5em;
@@ -211,9 +213,10 @@ p.toc-item-h3 + p.toc-item-h6 {
text-indent:4em;
}
p.toc-item-h4 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 following h4 items in toc*/
/*p.toc-item-h4 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h4 + p.toc-item-h2 {
text-indent:0.5em;
@@ -235,9 +238,10 @@ p.toc-item-h4 + p.toc-item-h6 {
text-indent:4em;
}
p.toc-item-h5 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 following h5 items in toc*/
/*p.toc-item-h5 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h5 + p.toc-item-h2 {
text-indent:0.5em;
@@ -259,9 +263,10 @@ p.toc-item-h5 + p.toc-item-h6 {
text-indent:4em;
}
p.toc-item-h6 + p.toc-item-h1 {
/*Currently disabled: This removes first line indent in h1 following h6 items in toc*/
/*p.toc-item-h6 + p.toc-item-h1 {
text-indent:0;
}
}*/
p.toc-item-h6 + p.toc-item-h2 {
text-indent:0.5em;

0 comments on commit 99f93e3

Please sign in to comment.