From 88d205bad3c6e2e211a79711ab5bf4a30a0e84a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Sat, 7 Oct 2017 05:50:58 +0200 Subject: [PATCH] Css floating figure on html edit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- .../themes/nextcloud_com/static/styles.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/_shared_assets/themes/nextcloud_com/static/styles.css b/_shared_assets/themes/nextcloud_com/static/styles.css index fc5434a98..59dbf42ce 100644 --- a/_shared_assets/themes/nextcloud_com/static/styles.css +++ b/_shared_assets/themes/nextcloud_com/static/styles.css @@ -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; +}