2020-06-11 22:15:40 +00:00
|
|
|
.catlinks {
|
2021-01-18 20:18:39 +00:00
|
|
|
padding-top: 2.4rem;
|
2020-06-11 22:15:40 +00:00
|
|
|
line-height: 1.2;
|
|
|
|
|
|
|
|
.mw-normal-catlinks {
|
|
|
|
font-size: 0; // Hide colon
|
|
|
|
|
|
|
|
> a {
|
|
|
|
display: block;
|
|
|
|
color: @color-content-caption;
|
|
|
|
font-size: @content-caption-size;
|
|
|
|
letter-spacing: 1px;
|
2021-01-11 16:45:52 +00:00
|
|
|
text-transform: uppercase;
|
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;
|
2020-06-11 22:15:40 +00:00
|
|
|
font-size: @content-caption-size; // Reset font
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2021-01-11 16:45:52 +00:00
|
|
|
margin: 0 @margin-side / 2 @margin-side / 2 0;
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
2021-01-11 16:45:52 +00:00
|
|
|
padding: @margin-side / 4 @margin-side / 2;
|
2021-01-12 19:31:35 +00:00
|
|
|
border: 1px solid var( --border-color-base--lighter );
|
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
color: var( --color-base--subtle ) !important; // Override
|
2020-06-11 22:15:40 +00:00
|
|
|
transition: @transition-background-quick, @transition-color-quick, @transition-border-quick, @transition-transform-quick, @transition-box-shadow-quick;
|
2021-01-11 16:45:52 +00:00
|
|
|
.boxshadow(1);
|
2020-06-11 22:15:40 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
border-color: var( --color-primary--hover );
|
|
|
|
background-color: var( --color-primary--hover );
|
2020-06-11 22:15:40 +00:00
|
|
|
color: @base-100 !important;
|
|
|
|
transform: translateY( -2px );
|
|
|
|
.boxshadow(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new:hover {
|
2021-01-14 17:53:29 +00:00
|
|
|
border-color: var( --color-destructive--hover );
|
|
|
|
background-color: var( --color-destructive--hover );
|
2020-06-11 22:15:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|