aboutsummaryrefslogtreecommitdiff
path: root/sass/css/yaroslavps.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/css/yaroslavps.scss')
-rw-r--r--sass/css/yaroslavps.scss25
1 files changed, 24 insertions, 1 deletions
diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss
index e10d200..723d3a5 100644
--- a/sass/css/yaroslavps.scss
+++ b/sass/css/yaroslavps.scss
@@ -1,9 +1,14 @@
-@import "normalize";
@import "colors";
@import "fonts";
@import "newyear";
+* {
+ box-sizing: border-box;
+}
+
html, body {
+ margin: 0;
+ padding: 0;
width: 100%;
min-height: 100vh;
background-color: $bg1;
@@ -194,12 +199,30 @@ h2 > span.publish-date {
.post-container {
padding: 1em 2em;
+ overflow: auto;
+}
+
+.post-container.partial img {
+ float: left;
+ max-width: 50%;
+ padding-right: 1em;
+}
+
+.post-container.full img {
+ display: block;
+ margin: 0 auto;
+ max-width: 100%;
+ max-height: 40vh;
}
.post-container img {
max-width: 100%;
}
+.post-container.full img:nth-of-type(1) {
+ max-height: 60vh;
+}
+
.footnote-definition:first-of-type {
border-top: 1px solid $gray;
padding-top: 1em;