Skip to content

Commit

Permalink
Bigger margins for images, videos, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
eshlox committed May 10, 2018
1 parent 5e0d15b commit cfc3c63
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion data/assets.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": {
"js": "main.82829af440c4.js",
"css": "main.e49376a6da0d.css"
"css": "main.e22ac844dc49.css"
}
}
2 changes: 1 addition & 1 deletion src/styles/_components/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body {
flex: 1;
margin: 0 auto;
max-width: 900px;
padding: $navbar-height+2rem 1rem 2rem 1rem;
padding: $navbar-height+1rem 1rem 2rem 1rem;
width: 100%;
}
}
22 changes: 11 additions & 11 deletions src/styles/_components/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ body {
text-align: justify;

blockquote {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);

border-left: 0.1rem $color-black solid;
font-style: italic;
Expand All @@ -30,7 +30,7 @@ body {
}

figure {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);

padding: 0;

Expand Down Expand Up @@ -104,11 +104,11 @@ body {
}

iframe.instagram-media {
@include element-margin($itemMargin, true, true);
@include element-margin($itemMargin * 2, true, true);
}

img {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);

display: block;
height: auto;
Expand Down Expand Up @@ -143,7 +143,7 @@ body {
}

pre {
@include bottom-margin($itemMargin);
@include element-margin($itemMargin * 2, false, false);

background-color: $color-lead;
color: $color-ancestral-water;
Expand All @@ -160,7 +160,7 @@ body {
}

table:not(.highlight) { // disable for table inside Github gist
@include bottom-margin($itemMargin);
@include element-margin($itemMargin * 2, false, false);

border-collapse: collapse;
border-style: hidden;
Expand Down Expand Up @@ -201,14 +201,14 @@ body {
}

video {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);

display: block;
width: 100%
}

.embed-container {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);

height: 0;
max-width: 100%;
Expand All @@ -226,15 +226,15 @@ body {
}

.gist {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);
}

.speakerdeck {
@include element-margin($itemMargin, false, true);
@include element-margin($itemMargin * 2, false, true);
}

.twitter-tweet {
@include element-margin($itemMargin, true, true);
@include element-margin($itemMargin * 2, true, true);

@media (max-width: 550px) {
width: 0 !important;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/_components/homepage.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
body {
main {
.homepage-avatar {
@include element-margin($itemMargin, false, false);

border-radius: 50%;
}

Expand Down
6 changes: 6 additions & 0 deletions static/assets/css/main.e22ac844dc49.css

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions static/assets/css/main.e49376a6da0d.css

This file was deleted.

0 comments on commit cfc3c63

Please sign in to comment.