From 2d8ef15fe13dd98bb8579ecf62a5802705b0f175 Mon Sep 17 00:00:00 2001 From: endiliey Date: Sat, 14 Jul 2018 15:15:04 +0800 Subject: [PATCH 1/4] Fix phrase emphasis not italicized --- lib/static/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/static/css/main.css b/lib/static/css/main.css index 42577bdff924..ce54e9dbb8d9 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -629,6 +629,10 @@ blockquote { padding: 0; } +.mainContainer .wrapper em, .mainContainer .wrapper i { + font-style: italic; +} + .mainContainer .wrapper .post { position: relative; } From 5015d6eea90118240ad90dac97e87b16ca0c8af8 Mon Sep 17 00:00:00 2001 From: endiliey Date: Sat, 14 Jul 2018 15:31:49 +0800 Subject: [PATCH 2/4] use it in base css instead: --- lib/static/css/main.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/static/css/main.css b/lib/static/css/main.css index ce54e9dbb8d9..961c838228cf 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -115,6 +115,10 @@ strong { font-weight: 600; } +em { + font-style: italic; +} + [type='checkbox'] { box-sizing: border-box; padding: 0; @@ -629,10 +633,6 @@ blockquote { padding: 0; } -.mainContainer .wrapper em, .mainContainer .wrapper i { - font-style: italic; -} - .mainContainer .wrapper .post { position: relative; } From e33ad737a2dd658ea08d7b603f076aa6b8845934 Mon Sep 17 00:00:00 2001 From: endiliey Date: Sat, 14 Jul 2018 15:32:35 +0800 Subject: [PATCH 3/4] i tag as well --- lib/static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/static/css/main.css b/lib/static/css/main.css index 961c838228cf..a40edeae18be 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -115,7 +115,7 @@ strong { font-weight: 600; } -em { +em, i { font-style: italic; } From 19daf71712afeb2b84ad11f3c8a3ccbedaa98073 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sat, 14 Jul 2018 22:37:43 -0700 Subject: [PATCH 4/4] Update main.css --- lib/static/css/main.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/static/css/main.css b/lib/static/css/main.css index a40edeae18be..322673ebd2af 100644 --- a/lib/static/css/main.css +++ b/lib/static/css/main.css @@ -111,11 +111,13 @@ body { box-sizing: border-box; } -strong { +strong, +b { font-weight: 600; } -em, i { +em, +i { font-style: italic; }