From 70742e8bfebdf15065502d0b5ea3d1e533bd7ab4 Mon Sep 17 00:00:00 2001 From: nick evans Date: Fri, 3 Jan 2025 23:41:59 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=F0=9F=92=84=20Update=20rdoc=20attr?= =?UTF-8?q?ibute=20heading=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This styles attr accessor headings more similarly to method headers. Additionally, since a background color has been applied, the link underlines seemed to be too much. So this disables attr/method header link underlines too. --- docs/styles.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/styles.css b/docs/styles.css index e945aea0..1d1e27f1 100644 --- a/docs/styles.css +++ b/docs/styles.css @@ -10,18 +10,28 @@ main .method-detail { justify-content: space-between; } -main .method-header, main .method-controls { +main .method-header, +main .method-controls, +.attribute-method-heading { padding: 0.5em; /* border: 1px solid var(--highlight-color); */ background: var(--table-header-background-color); line-height: 1.6; } +.attribute-method-heading .attribute-access-type { + float: right; +} + main .method-header { border-right: none; border-radius: 4px 0 0 4px; } +main .method-heading :any-link { + text-decoration: none; +} + main .method-controls { border-left: none; border-radius: 0 4px 4px 0;