2019-08-15 17:40:13 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Related Articles Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
2019-12-29 09:47:56 +00:00
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
@import '../../../resources/mixins.less';
|
2019-08-15 17:40:13 +00:00
|
|
|
|
|
|
|
.ext-related-articles-card-list {
|
2019-12-26 10:21:50 +00:00
|
|
|
margin-top: 0;
|
|
|
|
padding-top: @content-margin-top; // Give room for shadows and translate
|
|
|
|
overflow: visible; // Show shadow
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
.ext-related-articles-card {
|
|
|
|
border: 1px solid @base-80 !important;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
.boxshadow(1);
|
|
|
|
transition: @transition-transform-quick;
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
&:hover {
|
|
|
|
.boxshadow(3);
|
|
|
|
transform: translateY( -2px );
|
|
|
|
}
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
> a:hover {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-04 19:50:49 +00:00
|
|
|
.ext-related-articles-card-extract:after {
|
2019-12-26 10:21:50 +00:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 10%;
|
|
|
|
height: 1em;
|
|
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
2019-12-04 19:50:49 +00:00
|
|
|
}
|
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
@media ( prefers-color-scheme: dark ) {
|
|
|
|
.ext-related-articles-card-list {
|
|
|
|
.ext-related-articles-card {
|
|
|
|
border-color: @dark-bg-40 !important;
|
|
|
|
background-color: @dark-bg-30;
|
|
|
|
}
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
.ext-related-articles-card-thumb {
|
|
|
|
background-color: @dark-bg-10;
|
|
|
|
}
|
2019-12-07 20:28:21 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
h3 {
|
|
|
|
&:after {
|
|
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ), @dark-bg-30 50% );
|
|
|
|
}
|
2019-12-04 19:09:57 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
a {
|
|
|
|
color: @dark-text-100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-04 19:50:49 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
.ext-related-articles-card-extract:after {
|
|
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ), @dark-bg-30 50% );
|
|
|
|
}
|
|
|
|
}
|