2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2021-08-31 16:29:49 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:RelatedArticles
|
|
|
|
* Module: ext.relatedArticles.readMore
|
2022-11-16 22:43:57 +00:00
|
|
|
* Version: REL1_39 f513e5c
|
2021-08-31 16:29:49 +00:00
|
|
|
*
|
2022-11-16 22:43:57 +00:00
|
|
|
* Date: 2022-11-16
|
2019-12-29 18:45:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
.ra-read-more {
|
2022-11-16 22:43:57 +00:00
|
|
|
max-width: var( --width-layout--extended );
|
|
|
|
padding: var( --space-md ) 0 0;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2019-12-29 18:45:17 +00:00
|
|
|
|
|
|
|
h2 {
|
2022-11-16 22:43:57 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-top: 0;
|
2022-11-23 19:47:14 +00:00
|
|
|
font-size: 0.8125rem;
|
2022-11-16 22:43:57 +00:00
|
|
|
font-weight: var( --font-weight-normal );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-11-16 22:43:57 +00:00
|
|
|
text-transform: none;
|
2023-07-28 01:19:27 +00:00
|
|
|
letter-spacing: 0.05em;
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-list {
|
2022-11-17 00:05:08 +00:00
|
|
|
gap: var( --space-xs );
|
2022-11-16 22:43:57 +00:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
|
|
|
line-height: var( --line-height-xs );
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
&::after {
|
2023-02-06 20:03:02 +00:00
|
|
|
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ), var( --color-surface-2 ) 50% );
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card {
|
|
|
|
overflow: hidden; // Enforce rounded corner
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2023-03-01 21:14:07 +00:00
|
|
|
border-color: var( --border-color-base ) !important;
|
2022-11-16 22:43:57 +00:00
|
|
|
border-radius: var( --border-radius--medium ) !important; // Same border-radius regardless
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card > a {
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
box-shadow: var( --box-shadow-card ); // reset
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --background-color-quiet--active );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-extract {
|
|
|
|
margin-top: var( --space-xxs );
|
|
|
|
font-size: 0.8125rem;
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-thumb {
|
|
|
|
margin-right: var( --space-sm );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media all and ( min-width: @min-width-breakpoint-tablet ) {
|
2022-11-16 22:43:57 +00:00
|
|
|
.ext-related-articles-card-list {
|
2022-11-17 00:05:08 +00:00
|
|
|
gap: var( --space-sm );
|
|
|
|
|
2022-11-16 22:43:57 +00:00
|
|
|
.ext-related-articles-card {
|
|
|
|
// Magic
|
|
|
|
width: ~'calc( 100% / 3 - var( --space-xs ) )';
|
|
|
|
margin-right: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|