mediawiki-skins-Citizen/resources/skins.citizen.styles/Catlinks.less

69 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-06-11 22:15:40 +00:00
.catlinks {
display: flex;
flex-direction: column;
2021-03-09 18:39:55 +00:00
clear: both;
gap: var( --space-xl );
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;
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;
letter-spacing: 0.05em;
2020-06-11 22:15:40 +00:00
}
> ul {
display: flex;
flex-wrap: wrap;
padding-top: 0.5rem;
margin: 0;
2021-03-07 18:53:11 +00:00
/* Reset font */
font-size: @content-caption-size;
gap: 0.375rem;
letter-spacing: 0; // hidden-catlink title does not have a selector
2020-06-11 22:15:40 +00:00
> li {
2020-06-11 22:15:40 +00:00
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;
2020-06-11 22:15:40 +00:00
&:hover {
2021-01-14 17:53:29 +00:00
background-color: var( --color-primary--hover );
color: #fff;
2020-06-11 22:15:40 +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
}