mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-27 11:28:38 +01:00
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
This commit is contained in:
parent
f30e850bf1
commit
715e66fa00
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue