summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-09-25 12:43:26 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-09-28 18:29:42 +0200
commit8a2beaf52b848c9069856e28ab25c7ce6df92459 (patch)
treebc238e87ea5e71ce941b92e710fbc5e036d76b4d /Libraries
parentdb8a1a6abaef4a1fd20943cb5c239d61f663c612 (diff)
downloadserenity-8a2beaf52b848c9069856e28ab25c7ce6df92459.zip
LibHTML: Tweak the default CSS style
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibHTML/CSS/Default.css28
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;
+}