diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2019-09-25 12:43:26 +0300 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-28 18:29:42 +0200 |
commit | 8a2beaf52b848c9069856e28ab25c7ce6df92459 (patch) | |
tree | bc238e87ea5e71ce941b92e710fbc5e036d76b4d /Libraries/LibHTML | |
parent | db8a1a6abaef4a1fd20943cb5c239d61f663c612 (diff) | |
download | serenity-8a2beaf52b848c9069856e28ab25c7ce6df92459.zip |
LibHTML: Tweak the default CSS style
Diffstat (limited to 'Libraries/LibHTML')
-rw-r--r-- | Libraries/LibHTML/CSS/Default.css | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/Libraries/LibHTML/CSS/Default.css b/Libraries/LibHTML/CSS/Default.css index edd42426c3..481b265e83 100644 --- a/Libraries/LibHTML/CSS/Default.css +++ b/Libraries/LibHTML/CSS/Default.css @@ -15,15 +15,26 @@ body { margin-bottom: 8; } -h1 { +h1, h2 { display: block; font-family: Pebbleton; +} + +h3 { + display: block; font-weight: bold; } pre { display: block; + margin-bottom: 8; + margin-top: 8; + white-space: pre; +} + +code { font-family: Csilla; + font-weight: lighter; } u, ins { @@ -31,7 +42,7 @@ u, ins { } strong, b { - font-family: KaticaBold; + font-weight: bold; } p { @@ -39,3 +50,16 @@ p { margin-bottom: 8; margin-top: 8; } + +ul, ol { + display: block; + margin-top: 8; + margin-bottom: 8; +} + +li { + display: list-item; + margin-left: 8; + margin-top: 2; + margin-bottom: 2; +} |