2020-06-11 22:15:40 +00:00
|
|
|
.catlinks {
|
2021-03-07 23:44:24 +00:00
|
|
|
margin-top: @content-margin-top * 2;
|
2020-06-11 22:15:40 +00:00
|
|
|
line-height: 1.2;
|
|
|
|
|
|
|
|
.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;
|
|
|
|
letter-spacing: 0.75px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-normal-catlinks,
|
|
|
|
.mw-hidden-catlinks {
|
|
|
|
margin-top: @content-margin-top;
|
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;
|
2021-03-01 16:31:07 +00:00
|
|
|
letter-spacing: 0.75px;
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2021-01-11 16:45:52 +00:00
|
|
|
padding-top: @content-margin-top;
|
|
|
|
margin: 0;
|
2021-03-07 18:53:11 +00:00
|
|
|
/* Reset font */
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
letter-spacing: 0;
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
2021-03-06 19:20:03 +00:00
|
|
|
overflow: hidden;
|
2020-06-11 22:15:40 +00:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2021-03-06 19:20:03 +00:00
|
|
|
border: 1px solid var( --border-color-base--lighter );
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0 @margin-side / 2 @margin-side / 2 0;
|
2021-03-06 19:20:03 +00:00
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
border-radius: 100px;
|
|
|
|
.boxshadow(1);
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-03-06 19:20:03 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 7px 15px;
|
2021-01-12 19:31:35 +00:00
|
|
|
color: var( --color-base--subtle ) !important; // Override
|
2021-03-06 19:20:03 +00:00
|
|
|
transition: @transition-background-quick;
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
background-color: var( --color-primary--hover );
|
2020-06-11 22:15:40 +00:00
|
|
|
color: @base-100 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
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
|
|
|
}
|