From 70c577c54c04c098f62dcbfff3ef03370ea02df8 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 31 Jul 2022 15:05:15 +0200 Subject: Changed generic css classes for common text purposes --- assets/sass/_ed.scss | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'assets/sass') diff --git a/assets/sass/_ed.scss b/assets/sass/_ed.scss index b0870dc..a0e0d4f 100644 --- a/assets/sass/_ed.scss +++ b/assets/sass/_ed.scss @@ -495,20 +495,24 @@ a.sidebar-nav-item:focus { ED special layouts */ -p.centered { - text-align: center; +.text-center { + text-align: center!important; +} + +.text-uppercase { + text-transform: uppercase!important; } -p.larger { - font-size: 1.6rem; +.fs-4 { + font-size: 1.6rem!important; } -p.large { - font-size: 1.4rem +.fs-5 { + font-size: 1.4rem!important; } -p.small { - font-size: 0.8rem; +.fs-7 { + font-size: 0.8rem!important; } div.poem, @@ -661,13 +665,8 @@ u, Line layouts for prose-poetry and theater To use these layouts you need to add the classes to your markdown or HTML lines. - (ex. "- {.centered} hello!") */ -li.centered { - text-align: center; -} - li.speaker, li.speakerGroup { text-align: center; -- cgit v1.2.3