Css floating figure on html edit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv)
2017-10-07 05:50:58 +02:00
parent b3fcb907d0
commit 88d205bad3

View File

@@ -55,6 +55,7 @@ body {
h1, h2, h3 {
font-weight: 300;
margin-top: 40px !important;
}
h1 {
font-size: 45px;
@@ -1142,3 +1143,15 @@ a.headerlink {
li.next {
float: right;
}
/* Floating image on code */
.figure.align-right img {
margin: 0;
}
.figure.align-right {
float: right;
margin: 1em;
padding: 1em;
border: 1px solid #ccc;
background-color: #f5f5f5;
}