From 00bec809414b01a003654d044baf15097ca7bea9 Mon Sep 17 00:00:00 2001 From: Luke Oliff Date: Sat, 14 Nov 2020 10:04:52 +0000 Subject: [PATCH] feat(cms): better post preview and preview styling --- static/admin/index.html | 14 ++++++++++++++ static/admin/netlify-preview.css | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 static/admin/netlify-preview.css diff --git a/static/admin/index.html b/static/admin/index.html index c0d12bc..09d8ab4 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -17,5 +17,19 @@ + \ No newline at end of file diff --git a/static/admin/netlify-preview.css b/static/admin/netlify-preview.css new file mode 100644 index 0000000..9fa1a87 --- /dev/null +++ b/static/admin/netlify-preview.css @@ -0,0 +1,17 @@ +html, +body { + color: #444; + font-size: 14px; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; +} + +body { + padding: 20px; +} + +img { + max-width: 100vw; + max-height: 50vw; + margin: 20px auto; + display: block; +} \ No newline at end of file