From 397e75f9ed61e2ef8ba2c646c85a84f369ebdc3c Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 12 Aug 2022 20:26:30 +0100 Subject: [PATCH] Refactor text styles the `vertical-align` wasn't doing anything (since it was broken originally anyway), so removed it. grouped common styles together. --- docs/docs.css | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/docs.css b/docs/docs.css index 3a7eb76..acc1abc 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -73,27 +73,23 @@ h3 { font-size: 1em; } -.dialog-text { - font-family: Chicago_12; - font-size: 1em; - margin-top: 20px; - vertical-align: middle; -} - -.modal-text, .alert-text { - font-family: Chicago_12; - font-size: 1.2em; - margin-top: 10px; - vertical-align: middle; - font-weight: normal; -} - +.alert-text, +.dialog-text, +.modal-text, .modeless-text { font-family: Chicago_12; font-size: 1em; - vertical-align: middle; + font-weight: normal; } +.dialog-text { + margin-top: 20px; +} + +.modal-text, .alert-text { + font-size: 1.2em; + margin-top: 10px; +} p { font-family: Geneva;