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;
|
2024-11-08 02:10:30 +00:00
|
|
|
margin-inline: auto;
|
2019-12-29 18:45:17 +00:00
|
|
|
|
|
|
|
h2 {
|
2022-11-16 22:43:57 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
margin-top: 0;
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2022-11-16 22:43:57 +00:00
|
|
|
font-weight: var( --font-weight-normal );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-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 {
|
2024-10-23 21:34:41 +00:00
|
|
|
font-weight: var( --font-weight-semi-bold );
|
2024-10-23 21:33:46 +00:00
|
|
|
line-height: var( --line-height-xxx-small );
|
2022-11-16 22:43:57 +00:00
|
|
|
|
|
|
|
a {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
|
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;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-medium ) !important; // Same border-radius regardless
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card > a {
|
|
|
|
&:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2024-07-25 01:53:51 +00:00
|
|
|
box-shadow: var( --box-shadow-drop-medium ); // reset
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--active );
|
2022-11-16 22:43:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-extract {
|
|
|
|
margin-top: var( --space-xxs );
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-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
|
|
|
}
|
|
|
|
}
|