Permalink
Browse files

ACTUALLY FIX THE INDENT THING HOLY SHIT

  • Loading branch information...
1 parent d952fb9 commit 848c72e9cc4ef1311abce5ad3a87ab14276e9e89 @zakkain zakkain committed Mar 4, 2013
Showing with 13 additions and 5 deletions.
  1. +1 −1 css/demo.css
  2. +1 −1 css/main.css
  3. +4 −1 css/typeplate-unminified.css
  4. +1 −1 demo.html
  5. +2 −1 scss/_typeplate.scss
  6. +4 −0 scss/demo.scss
View
Oops, something went wrong.
View
Oops, something went wrong.
@@ -124,9 +124,12 @@ h6,
margin-bottom: 1.65rem;
}
+p {
+ margin: 0 0 1.5em;
+}
p + p {
text-indent: 1.5em;
- margin: 0;
+ margin-top: -1.5em;
}
pre code {
View
@@ -58,7 +58,7 @@
<h2><small>by <cite>Oscar Wilde</cite></small></h2>
</header>
- <p class="delta">High above the city, on a tall column, stood the statue of the Happy Prince. He was gilded all over with thin leaves of fine gold, for eyes he had two bright sapphires, and a large red ruby glowed on his sword&ndash;hilt.</p>
+ <p class="delta lede">High above the city, on a tall column, stood the statue of the Happy Prince. He was gilded all over with thin leaves of fine gold, for eyes he had two bright sapphires, and a large red ruby glowed on his sword&ndash;hilt.</p>
<p>He was very much admired indeed. “He is as beautiful as a weathercock,” remarked one of the Town Councillors who wished to gain a reputation for having artistic taste; “only not quite so useful,” he added, fearing lest people should think him unpractical, which he really was not.</p>
@@ -426,10 +426,11 @@ h6 { @extend .zeta; @extend %hN; }
// --------------------------------------------------------------------------
p {
+ margin: 0 0 $indent-val;
& + p {
//siblings indentation
text-indent: $indent-val;
- margin: 0;
+ margin-top: -$indent-val;
}
}
View
@@ -29,6 +29,10 @@ img {
max-width: 100%;
}
+.lede {
+ padding-bottom: 1.2375rem;
+}
+
// $Top Banner Stripe
// ============================================================

0 comments on commit 848c72e

Please sign in to comment.