summaryrefslogtreecommitdiff
path: root/design/sass
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2014-11-02 10:17:19 -0500
committerluxagraf <sng@luxagraf.net>2014-11-02 10:17:19 -0500
commita12365dae4798471eb59758fe870b34491123f3a (patch)
tree25acc6fecb80126e48e79f85838b700ff3186f3b /design/sass
parent27737a16074f8dd9abb34a851b95b4bc56f28fcf (diff)
rewrote blog to make homepage banner an optional thing for each post.
defaults to false
Diffstat (limited to 'design/sass')
-rw-r--r--design/sass/_writing_details.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss
index db741b9..d0101ac 100644
--- a/design/sass/_writing_details.scss
+++ b/design/sass/_writing_details.scss
@@ -163,6 +163,30 @@
}
}
+.embed-wrapper {
+ @include breakpoint(gamma) {
+ width: 960px;
+ max-width: 960px;
+ margin-left: auto;
+ margin-right: auto;
+ border: 5px solid $brown;
+ }
+}
+.embed-container {
+ position: relative;
+ padding-bottom: 56.25%;
+ height: 0;
+ overflow: hidden;
+ max-width: 100%;
+ height: auto;
+}
+.embed-container iframe, .embed-container object, .embed-container embed {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+}
//### PAGE NAVIGATION ###
#page-navigation {