From 1d6ae0a5070504d9fcbfcac402bcb0be788935c6 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Mon, 20 Jan 2020 21:18:12 +0700 Subject: [PATCH] Narrow generic styles scope --- assets/css/ghost/content.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/css/ghost/content.css b/assets/css/ghost/content.css index 2cdcb103..8c47bce7 100644 --- a/assets/css/ghost/content.css +++ b/assets/css/ghost/content.css @@ -93,20 +93,20 @@ margin-top: 6vmin; } -.gh-canvas blockquote, -.gh-canvas ol, -.gh-canvas ul, -.gh-canvas dl, -.gh-canvas p { +.gh-canvas > blockquote, +.gh-canvas > ol, +.gh-canvas > ul, +.gh-canvas > dl, +.gh-canvas > p { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1.6em; } -.gh-content ul, -.gh-content ol, -.gh-content dl { +.gh-content > ul, +.gh-content > ol, +.gh-content > dl { padding-left: 1.9em; }