diff options
author | xengineering <me@xengineering.eu> | 2021-12-02 14:36:13 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-12-02 14:37:53 +0100 |
commit | f5db6c7befc613142f2e93575c417f2a2884f805 (patch) | |
tree | 9340071c3931fac7dbfacf7187b4fd72bcbf056b | |
parent | 81b24013dbcf04a7c4522f083a32de86458f6962 (diff) | |
download | libweb-f5db6c7befc613142f2e93575c417f2a2884f805.tar libweb-f5db6c7befc613142f2e93575c417f2a2884f805.tar.zst libweb-f5db6c7befc613142f2e93575c417f2a2884f805.zip |
Center all Headings in Mobile View
-rw-r--r-- | libweb.css | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -116,30 +116,35 @@ h1 { } h2 { + text-align: center; margin-top: var(--vertical-space-big); margin-bottom: var(--vertical-space-small); font-size: 2.0em; } h3 { + text-align: center; margin-top: var(--vertical-space-big); margin-bottom: var(--vertical-space-small); font-size: 1.8em; } h4 { + text-align: center; margin-top: var(--vertical-space-big); margin-bottom: var(--vertical-space-small); font-size: 1.6em; } h5 { + text-align: center; margin-top: var(--vertical-space-big); margin-bottom: var(--vertical-space-small); font-size: 1.4em; } h6 { + text-align: center; margin-top: var(--vertical-space-big); margin-bottom: var(--vertical-space-small); font-size: 1.2em; @@ -232,6 +237,11 @@ footer { /********************************** TABLET ************************************/ @media only screen and (min-aspect-ratio: 11/12) { + +h1, h2, h3, h4, h5, h6 { + text-align: left; +} + } /******************************************************************************/ @@ -275,10 +285,6 @@ main { padding-right: 15vw; } -h1 { - text-align: left; -} - button:hover { background-color: var(--background-color-dark2); } |