summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-22 12:35:54 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-27 21:44:07 +0100
commit2f3e24d71ec9797a8c770d4920f74de5bf69f4a4 (patch)
tree88a9e940401dd8e41b2aa7307c5cb194f779bbe1 /Userland/Libraries/LibWeb
parentd702678d16753f9bb81c6a46cffe0cb43133c267 (diff)
downloadserenity-2f3e24d71ec9797a8c770d4920f74de5bf69f4a4.zip
LibWeb: Add rudimentary styling to `<details>` and `<summary>`
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Default.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Default.css b/Userland/Libraries/LibWeb/CSS/Default.css
index d0ff729b4b..3ba22059cf 100644
--- a/Userland/Libraries/LibWeb/CSS/Default.css
+++ b/Userland/Libraries/LibWeb/CSS/Default.css
@@ -233,3 +233,13 @@ input[type=text] {
option {
display: none;
}
+
+details {
+ display: block;
+ padding-left: 1em;
+}
+
+summary {
+ display: block;
+ font-weight: bold;
+}