2019-12-29 18:45:17 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Related Articles Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
@import '../../../resources/mixins.less';
|
|
|
|
|
|
|
|
.ext-related-articles-card-list {
|
|
|
|
overflow: visible; // Show shadow
|
2021-01-11 16:45:52 +00:00
|
|
|
padding-top: @content-margin-top; // Give room for shadows and translate
|
|
|
|
margin-top: 0;
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2021-03-03 08:14:55 +00:00
|
|
|
h3 {
|
2021-03-03 17:27:13 +00:00
|
|
|
a {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2021-03-01 16:47:42 +00:00
|
|
|
|
2021-03-03 08:14:55 +00:00
|
|
|
&:after {
|
|
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ), var( --background-color-dp-04 ) 50% );
|
|
|
|
}
|
|
|
|
}
|
2021-03-03 08:15:38 +00:00
|
|
|
|
2019-12-29 18:45:17 +00:00
|
|
|
.ext-related-articles-card {
|
2021-03-01 16:47:42 +00:00
|
|
|
border-color: var( --border-color-base ) !important;
|
|
|
|
background-color: var( --background-color-dp-04 );
|
2019-12-29 18:45:17 +00:00
|
|
|
transition: @transition-transform-quick;
|
2021-01-11 16:45:52 +00:00
|
|
|
.boxshadow(1);
|
2019-12-29 18:45:17 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.boxshadow(3);
|
|
|
|
transform: translateY( -2px );
|
|
|
|
}
|
|
|
|
|
|
|
|
> a:hover {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2021-03-01 16:47:42 +00:00
|
|
|
|
|
|
|
.ext-related-articles-card-thumb {
|
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-extract {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ext-related-articles-card-extract:after {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 10%;
|
|
|
|
height: 1em;
|
2021-03-01 16:47:42 +00:00
|
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ), var( --background-color-dp-04 ) 50% );
|
2021-01-11 16:45:52 +00:00
|
|
|
content: '';
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|