summaryrefslogtreecommitdiffstats
path: root/blog/_assets/stylesheets/_post.scss
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-03-10 19:28:51 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-03-10 19:28:51 +0100
commit7603cecd364eb04fe6eac75971107796171287ef (patch)
tree365ca4077c408c45da535cacd98eeefb8464cc58 /blog/_assets/stylesheets/_post.scss
parent87cd103c98265adc2a0cb256b14cd7b1d2d8e543 (diff)
parent0cb9284d51b16d192f42e2d2a4c12a2911668b2e (diff)
downloadnorsk-urskog-main-7603cecd364eb04fe6eac75971107796171287ef.tar.gz
norsk-urskog-main-7603cecd364eb04fe6eac75971107796171287ef.tar.bz2
norsk-urskog-main-7603cecd364eb04fe6eac75971107796171287ef.zip
Merge branch 'responsive-design'
Diffstat (limited to 'blog/_assets/stylesheets/_post.scss')
-rw-r--r--blog/_assets/stylesheets/_post.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/blog/_assets/stylesheets/_post.scss b/blog/_assets/stylesheets/_post.scss
index 436b828..b2e737f 100644
--- a/blog/_assets/stylesheets/_post.scss
+++ b/blog/_assets/stylesheets/_post.scss
@@ -49,4 +49,27 @@
visibility: hidden;
clear: both;
}
+ .post-image {
+ text-align: center;
+ float: right;
+
+ @media screen and (max-width: 590px){
+ float: none;
+ img {
+ width: 100%;
+ height: 100%;
+ }
+ }
+ }
+}
+
+.post-excerpt {
+ .post-body {
+ .post-image {
+ @media screen and (min-width: 500px) {
+ float: right;
+ width: 300px;
+ }
+ }
+ }
}