Created
February 27, 2014 21:15
-
-
Save danielauener/9259722 to your computer and use it in GitHub Desktop.
plattan changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/content/themes/plattan/assets/scss/_base.scss | |
+++ b/content/themes/plattan/assets/scss/_base.scss | |
@@ -37,4 +37,8 @@ iframe, | |
embed, | |
object { | |
width: 100%; | |
+} | |
+ | |
+.site { | |
+ overflow: hidden; | |
} | |
\ No newline at end of file | |
diff --git a/content/themes/plattan/assets/scss/_content.scss b/content/themes/plattan/assets/scss/_content.scss | |
index faedd58..b53b2ce 100644 | |
--- a/content/themes/plattan/assets/scss/_content.scss | |
+++ b/content/themes/plattan/assets/scss/_content.scss | |
@@ -85,7 +85,14 @@ article.post { | |
} | |
} | |
-.post-template .post-content img:first-of-type { | |
+.post-template .post-content :first-child img, | |
+.post-template .post-content :first-child .fluid-width-video-wrapper, | |
+.post-template .post-content>img:first-child, | |
+.post-template .post-content>.fluid-width-video-wrapper:first-child, | |
+.home-template .post-content :first-child img, | |
+.home-template .post-content :first-child .fluid-width-video-wrapper, | |
+.home-template .post-content>img:first-child, | |
+.home-template .post-content>.fluid-width-video-wrapper:first-child { | |
display:none; | |
} | |
diff --git a/content/themes/plattan/doc/index.html b/content/themes/plattan/doc/index.html | |
index cd17281..de1d0ae 100644 | |
--- a/content/themes/plattan/page.hbs | |
+++ b/content/themes/plattan/page.hbs | |
@@ -21,9 +21,7 @@ | |
<div class="post-content" itemprop="articleBody"> | |
- <p> | |
- {{content}} | |
- </p> | |
+ {{content}} | |
</div> | |
diff --git a/content/themes/plattan/post.hbs b/content/themes/plattan/post.hbs | |
index aec3ede..e1f86f6 100755 | |
--- a/content/themes/plattan/post.hbs | |
+++ b/content/themes/plattan/post.hbs | |
@@ -36,9 +36,7 @@ | |
<div class="post-content" itemprop="articleBody"> | |
- <p> | |
- {{content}} | |
- </p> | |
+ {{content}} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment