aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/sass/partials
diff options
context:
space:
mode:
Diffstat (limited to '.themes/classic/sass/partials')
-rw-r--r--.themes/classic/sass/partials/_blog.scss19
-rw-r--r--.themes/classic/sass/partials/_syntax.scss3
-rw-r--r--.themes/classic/sass/partials/sidebar/_base.scss5
3 files changed, 12 insertions, 15 deletions
diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss
index 8d9d5f80..558f0a22 100644
--- a/.themes/classic/sass/partials/_blog.scss
+++ b/.themes/classic/sass/partials/_blog.scss
@@ -44,21 +44,12 @@ article {
line-height: 1.3em;
}
img, video, .flash-video {
- max-width: 100%;
- height: auto;
- border: .5em solid #fff;
- @include border-radius(.3em);
- @include box-shadow(rgba(#000, .15) 0 1px 4px);
- @include box-sizing(border-box);
- display: block;
- margin: 0 auto 1.5em;
+ @extend .flex-content;
+ @extend .basic-alignment;
+ @include shadow-box;
}
- img {
- &.left { float: left; margin-right: 1.5em; }
- &.right { float: right; margin-left: 1.5em; }
- &.left, &.right { margin-bottom: .8em; }
- }
- video { display: block; margin-bottom: 1.5em; width: 100%; }
+ video, .flash-video { margin: 0 auto 1.5em; }
+ video { display: block; width: 100%; }
.flash-video {
> div {
position: relative;
diff --git a/.themes/classic/sass/partials/_syntax.scss b/.themes/classic/sass/partials/_syntax.scss
index 9bee3020..7e8ed8d5 100644
--- a/.themes/classic/sass/partials/_syntax.scss
+++ b/.themes/classic/sass/partials/_syntax.scss
@@ -85,7 +85,8 @@ h3.filename {
+ pre { @include border-top-radius(0px); }
}
-p code {
+p code,
+li code {
@extend .mono;
display: inline-block;
white-space: no-wrap;
diff --git a/.themes/classic/sass/partials/sidebar/_base.scss b/.themes/classic/sass/partials/sidebar/_base.scss
index 08f04d23..a0d1c09e 100644
--- a/.themes/classic/sass/partials/sidebar/_base.scss
+++ b/.themes/classic/sass/partials/sidebar/_base.scss
@@ -20,6 +20,11 @@ aside[role=sidebar] {
}
}
}
+ img {
+ @extend .flex-content;
+ @extend .basic-alignment;
+ @include shadow-box($border: #fff .3em solid);
+ }
ul {
margin-bottom: 0.5em;
margin-left: 0;