mediawiki-skins-Citizen/resources/skins.citizen.styles/Catlinks.less
alistair3149 aaad2bb92a
feat(core): move footer info into body footer
They are related to the article/page instead of the whole site
2022-10-01 17:25:20 -04:00

68 lines
1.2 KiB
Plaintext

.catlinks {
clear: both;
line-height: 1.2;
.mw-normal-catlinks {
font-size: 0; // Hide colon
}
.mw-hidden-catlinks {
color: var( --color-base--subtle );
font-size: @ui-menu-text;
letter-spacing: 0.75px;
}
.mw-normal-catlinks,
.mw-hidden-catlinks {
padding: @content-margin-top 0;
> a {
display: block;
color: var( --color-base--subtle );
font-size: @ui-menu-text;
letter-spacing: 0.75px;
}
> ul {
display: flex;
flex-wrap: wrap;
padding-top: 0.5rem;
margin: 0;
/* Reset font */
font-size: @content-caption-size;
gap: 0.375rem;
letter-spacing: 0; // hidden-catlink title does not have a selector
> li {
display: block;
> a {
display: inline-block;
padding: 0.5rem 1rem;
border: 1px solid var( --border-color-base--darker );
border-radius: 100px;
color: var( --color-base--subtle );
transition: @transition-background;
&:hover {
background-color: var( --color-primary--hover );
color: #fff;
}
&.new {
border-style: dashed;
&:hover {
background-color: var( --color-destructive--hover );
}
}
}
}
}
}
.mw-hidden-cats-hidden {
display: none;
}
}