2020-06-11 22:15:40 +00:00
|
|
|
.catlinks {
|
2022-10-01 23:36:09 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-03-09 18:39:55 +00:00
|
|
|
clear: both;
|
2022-11-01 00:34:00 +00:00
|
|
|
gap: var( --space-xl );
|
2022-10-25 20:42:19 +00:00
|
|
|
line-height: var( --line-height-xs );
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
.mw-normal-catlinks {
|
|
|
|
font-size: 0; // Hide colon
|
2021-03-07 18:53:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-hidden-catlinks {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
font-size: @ui-menu-text;
|
2022-10-28 03:26:52 +00:00
|
|
|
letter-spacing: 0.05em;
|
2021-03-07 18:53:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-normal-catlinks,
|
|
|
|
.mw-hidden-catlinks {
|
2020-06-11 22:15:40 +00:00
|
|
|
> a {
|
|
|
|
display: block;
|
2021-03-01 16:30:06 +00:00
|
|
|
color: var( --color-base--subtle );
|
|
|
|
font-size: @ui-menu-text;
|
2022-10-28 03:26:52 +00:00
|
|
|
letter-spacing: 0.05em;
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2022-06-02 15:48:42 +00:00
|
|
|
padding-top: 0.5rem;
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0;
|
2021-03-07 18:53:11 +00:00
|
|
|
/* Reset font */
|
|
|
|
font-size: @content-caption-size;
|
2022-06-02 15:48:42 +00:00
|
|
|
gap: 0.375rem;
|
|
|
|
letter-spacing: 0; // hidden-catlink title does not have a selector
|
2020-06-11 22:15:40 +00:00
|
|
|
|
2022-10-01 19:24:18 +00:00
|
|
|
> li {
|
2020-06-11 22:15:40 +00:00
|
|
|
display: block;
|
|
|
|
|
2022-10-01 19:24:18 +00:00
|
|
|
> a {
|
2021-03-06 19:20:03 +00:00
|
|
|
display: inline-block;
|
2022-06-02 15:48:42 +00:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border: 1px solid var( --border-color-base--darker );
|
|
|
|
border-radius: 100px;
|
2022-05-01 22:45:48 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-05-01 23:14:17 +00:00
|
|
|
transition: @transition-background;
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
background-color: var( --color-primary--hover );
|
2022-05-01 22:45:48 +00:00
|
|
|
color: #fff;
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|
|
|
|
|
2022-06-02 15:48:42 +00:00
|
|
|
&.new {
|
|
|
|
border-style: dashed;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-destructive--hover );
|
|
|
|
}
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-03-01 15:37:07 +00:00
|
|
|
|
|
|
|
.mw-hidden-cats-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|