collapsesection: tweak CSS - jscancer - Javascript crap (relatively small) | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 126e293e7cb38739b37d7bcaeeb29b640a0b95a1 | |
parent 9f86cf357aebc129b665c634b4bbb93123cdd7ce | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 19 Jul 2019 11:37:23 +0200 | |
collapsesection: tweak CSS | |
Diffstat: | |
M collapsesection/example.html | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/collapsesection/example.html b/collapsesection/example.html | |
@@ -2,11 +2,12 @@ | |
details summary { | |
cursor: pointer; | |
} | |
+details > div { | |
+ margin-left: 1em; | |
+} | |
details[open] { | |
- color: #333; | |
} | |
details[open] div { | |
- margin-left: 1em; | |
} | |
</style> | |