feat: image upload / display

This commit is contained in:
Nick
2019-05-21 16:45:27 -04:00
parent 10a3727604
commit 35bc745826
14 changed files with 297 additions and 47 deletions

View File

@@ -3,6 +3,7 @@
.contents {
color: mc('grey', '800');
padding-bottom: 50px;
position: relative;
@at-root .theme--dark & {
color: mc('grey', '300');
@@ -309,7 +310,8 @@
}
&::before {
color: mc('grey', '400');
content: '';
display: none;
}
@at-root .theme--dark & {
@@ -457,4 +459,29 @@
}
}
// ---------------------------------
// IMAGES
// ---------------------------------
img {
&.align-left {
float: left;
margin: 0 1rem 1rem 0;
}
&.align-right {
float: right;
margin: 0 0 1rem 1rem;
}
&.align-center {
display: block;
max-width: 100%;
margin: auto;
}
&.align-abstopright {
position: absolute;
top: -90px;
right: 1rem;
}
}
}