From b0e45c230b925effb8d1f3493e1e5fd8f59d50a2 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 4 Sep 2020 22:19:22 +0200 Subject: [PATCH] Changed in-text font and slightly modified padding. --- components/02_Molecules/textSection/_textSection.scss | 6 +++++- components/04_Templates/codex/_codex.scss | 5 ----- public/main.css | 10 ++++------ 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/components/02_Molecules/textSection/_textSection.scss b/components/02_Molecules/textSection/_textSection.scss index 680ec2b..f2049db 100644 --- a/components/02_Molecules/textSection/_textSection.scss +++ b/components/02_Molecules/textSection/_textSection.scss @@ -10,7 +10,11 @@ .LP-TextSection{ - .LP-Text { + &__Text { line-height: 1.4rem; + .LP-Link{ + font-family: $-primary-serif-font; + margin: 0 3px; + } } } \ No newline at end of file diff --git a/components/04_Templates/codex/_codex.scss b/components/04_Templates/codex/_codex.scss index 9e40e51..5160cb1 100644 --- a/components/04_Templates/codex/_codex.scss +++ b/components/04_Templates/codex/_codex.scss @@ -1,10 +1,5 @@ .LP-TextSection{ - .LP-Link{ - font-family: $-primary-serif-font; - margin: 0 3px; - padding: 4px 4px; - } .LP-UnorderedList{ font-family: $-primary-serif-font; font-size: 1.4rem; diff --git a/public/main.css b/public/main.css index 370c1d7..ab2c444 100644 --- a/public/main.css +++ b/public/main.css @@ -855,8 +855,11 @@ body { .LP-Content { padding: 15px; } } -.LP-TextSection .LP-Text { +.LP-TextSection__Text { line-height: 1.4rem; } + .LP-TextSection__Text .LP-Link { + font-family: "Crimson Text", Times, serif; + margin: 0 3px; } .LP-PlaceTeaser { width: 280px; } @@ -1493,11 +1496,6 @@ body { padding: 0; margin-bottom: 25px; } } -.LP-TextSection .LP-Link { - font-family: "Crimson Text", Times, serif; - margin: 0 3px; - padding: 4px 4px; } - .LP-TextSection .LP-UnorderedList { font-family: "Crimson Text", Times, serif; font-size: 1.4rem; }