feat: image upload / display

This commit is contained in:
Nick committed 2019-05-21 16:45:54 -04:00
1 parent 10a3727604
commit 35bc745826
14 files changed
+297 -47

No files matched your search

+28 -1
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 @@ .contents {
}
&::before {
color: mc('grey', '400');
content: '';
display: none;
}
@at-root .theme--dark & {
@@ -457,4 +459,29 @@ .contents {
}
}
// ---------------------------------
// 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;
}
}
}