aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-08-08 13:22:03 -0400
committertdro <tdro@noreply.example.com>2023-08-08 13:23:32 -0400
commit67e10f5f97b8470ad4e882f8c8e0d22ef2db069b (patch)
treef189e66c7603ffd2340f133cd2b0e65fb1fb1155 /assets
parent2136cf96f6dd69ddcaea1cdca611a265d7f31d49 (diff)
downloadcanory-67e10f5f97b8470ad4e882f8c8e0d22ef2db069b.tar.gz
canory-67e10f5f97b8470ad4e882f8c8e0d22ef2db069b.tar.bz2
canory-67e10f5f97b8470ad4e882f8c8e0d22ef2db069b.zip
assets/css/default: Summary color correction
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css28
1 files changed, 15 insertions, 13 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 1e68078..7f7e46a 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -1323,9 +1323,12 @@ micro-summary details[data-disclosure] summary {
padding: 0.25rem;
}
+micro-summary details[data-disclosure] summary:focus a {
+ color: inherit;
+}
+
following-list details summary:focus:after,
following-list details[open] summary:focus:after,
-micro-summary details[data-disclosure] summary:focus a,
micro-summary details[data-disclosure] summary:focus:after,
micro-summary details[data-disclosure][open] summary:focus:after {
color: #111;
@@ -1337,18 +1340,22 @@ following-list details summary:after,
following-list details[open] summary:after,
micro-summary details[data-disclosure] summary:after,
micro-summary details[data-disclosure][open] summary:after {
- padding: 0.125rem 0.25rem;
border-color: var(--border-darker);
border-radius: 0.5rem;
display: inline;
font-size: 85%;
+ vertical-align: middle;
}
-micro-summary details[data-disclosure] summary:hover {
- text-decoration: underline;
+micro-summary details[data-disclosure] summary:hover,
+micro-summary details[data-disclosure] summary:hover:after {
text-shadow: 0 0 currentColor;
}
+micro-summary details[data-disclosure] summary:hover:after {
+ text-decoration: underline;
+}
+
micro-summary details[data-disclosure] summary:after {
content: "HIDDEN";
}
@@ -1705,10 +1712,6 @@ following-list details {
text-transform: uppercase;
}
-following-list details {
- position: relative;
-}
-
following-list details h1 {
display: inline-block;
}
@@ -1737,11 +1740,10 @@ following-list details[open][data-expand="more"] summary:after {
following-list details[data-expand="more"] summary:after,
following-list details[open][data-expand="more"] summary:after {
- margin-left: 0.5rem;
- top: 50%;
- transform: translateY(-50%);
- position: absolute;
- height: 1.5rem;
+ margin-left: 0.25rem;
+ padding: 0 0.5rem;
+ font-size: 100%;
+ vertical-align: baseline;
}
author-list:hover h1,