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

73 lines
1.3 KiB
Plaintext
Raw Normal View History

2020-06-11 22:15:40 +00:00
.catlinks {
2021-03-07 23:44:24 +00:00
margin-top: @content-margin-top * 2;
2021-03-09 18:39:55 +00:00
clear: both;
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;
letter-spacing: 0.75px;
2020-06-11 22:15:40 +00:00
}
> ul {
display: flex;
flex-wrap: wrap;
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;
overflow: hidden;
2020-06-11 22:15:40 +00:00
padding: 0;
border: 0;
2022-04-24 19:38:17 +00:00
border: 1px solid var( --border-color-base );
margin: 0 @margin-side / 2 @margin-side / 2 0;
background-color: var( --background-color-framed );
border-radius: 100px;
2020-06-11 22:15:40 +00:00
&:first-of-type {
margin-left: 0;
}
a {
display: inline-block;
padding: 7px 15px;
color: var( --color-base--subtle );
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 );
color: #fff;
2020-06-11 22:15:40 +00:00
}
&.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
}