From 715e66fa00a6fa4e90ef1d55185fe9648527bdda Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 10 Dec 2025 20:49:17 +0000 Subject: [PATCH] Improve styling of the endpoints list - Add a hover effect over endpoints - Make the method bold to differentiate it from the endpoint itself - Make cs module titles larger --- assets/scss/_styles_project.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index c0a9c457..9e1f6d6a 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -278,10 +278,17 @@ Custom SCSS for the Matrix spec .endpoint-list a { text-decoration: none; color: inherit; + padding: 0.05rem 0.25rem; + border-radius: 0.2rem; + + &:hover { + background-color: $secondary-background; + } } .endpoint-list .http-api-method { margin-right: 0.35rem; + font-weight: $font-weight-bold; } .endpoint-path { @@ -302,7 +309,8 @@ Custom SCSS for the Matrix spec } .endpoint-module-title { - font-weight: $font-weight-bold; + // font-weight: $font-weight-bold; + font-size: 1.20rem; margin-bottom: 0.35rem; } }