229 lines
4.4 KiB
SCSS
229 lines
4.4 KiB
SCSS
.showcase {
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
&__bio {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: $grid_navbar_height * 1.25;
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__nav {
|
|
padding: 0.5rem 0;
|
|
margin-bottom: 0.5rem;
|
|
|
|
@include themify($themes) {
|
|
border-bottom: 1px solid themed('hr-color');
|
|
}
|
|
}
|
|
|
|
&__button {
|
|
border: none;
|
|
outline: none;
|
|
font-family: $title-font;
|
|
font-size: 0.95rem;
|
|
border-top-left-radius: 0.125rem;
|
|
border-top-right-radius: 0.125rem;
|
|
padding: 0.5rem 0;
|
|
margin-right: 1rem;
|
|
position: relative;
|
|
text-decoration: none !important;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
color: themed('navbar-title-color');
|
|
@include on-event {
|
|
color: themed('navbar-title-hover-color');
|
|
}
|
|
}
|
|
|
|
&[data-meta]:after {
|
|
content: attr(data-meta);
|
|
width: 100%;
|
|
padding: 0.125rem 0.35rem;
|
|
border-radius: 0.25rem;
|
|
margin: auto;
|
|
font-size: 12px;
|
|
|
|
@include themify($themes) {
|
|
color: themed('taxo-num-color');
|
|
background-color: themed('taxo-num-background-color');
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
@include themify($themes) {
|
|
color: themed('navbar-title-active-color');
|
|
}
|
|
}
|
|
}
|
|
|
|
&__box {
|
|
width: 100%;
|
|
max-width: 48%;
|
|
height: auto;
|
|
border-radius: 0.2rem;
|
|
padding: 1rem;
|
|
position: relative;
|
|
|
|
&[data-dir="rtl"] {
|
|
&:nth-child(odd) {
|
|
margin: 0.5rem;
|
|
margin-right: 0;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
margin: 0.5rem;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
&[data-dir="ltr"] {
|
|
&:nth-child(odd) {
|
|
margin: 0.5rem;
|
|
margin-left: 0;
|
|
}
|
|
|
|
&:nth-child(even) {
|
|
margin: 0.5rem;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
@include flexbox();
|
|
@include flex-grow(1);
|
|
@include flex-direction(column);
|
|
@include justify-content(flex-start);
|
|
@include themify($themes) {
|
|
border: 1px solid themed('content-box-border-color');
|
|
}
|
|
|
|
@include on-event {
|
|
@include box-shadow(1px, 1px, 3px, 0px, rgba(0, 0, 0, 0.25));
|
|
background-color: rgba(125, 125, 125, 0.1);
|
|
}
|
|
|
|
@media only screen and (max-width: 1180px) {
|
|
max-width: 48%;
|
|
}
|
|
|
|
@media only screen and (max-width: 769px) {
|
|
max-width: 100%;
|
|
margin: 0.5rem 0 !important;
|
|
}
|
|
|
|
&--wrapper {
|
|
@include flexbox();
|
|
@include justify-content(flex-start);
|
|
@include flex-wrap(wrap);
|
|
|
|
&[data-ani="true"] {
|
|
@include animation('slide-in-left-little .2s .25s 1 ease-in both');
|
|
}
|
|
}
|
|
|
|
&--title {
|
|
word-break: break-word;
|
|
font-family: $title-font;
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
color: themed('title-color');
|
|
}
|
|
}
|
|
|
|
&--desc {
|
|
font-size: 0.9rem;
|
|
margin-top: 0.25rem;
|
|
height: 70px;
|
|
}
|
|
|
|
&--img {
|
|
width: auto;
|
|
height: 100%;
|
|
margin: 0.5rem 0;
|
|
max-height: 225px;
|
|
object-fit: cover;
|
|
|
|
img {
|
|
border-radius: 0.2rem;
|
|
display: block;
|
|
margin: auto;
|
|
max-height: 225px;
|
|
}
|
|
|
|
@include flexbox();
|
|
@include justify-content(center);
|
|
@include align-items(center);
|
|
}
|
|
|
|
&--meta {
|
|
margin-top: 0.25rem;
|
|
|
|
@include flexbox();
|
|
@include flex-wrap(wrap);
|
|
@include justify-content(flex-end);
|
|
|
|
.type {
|
|
font-size: 12px;
|
|
text-transform: capitalize;
|
|
margin-top: 0.25rem;
|
|
|
|
@include flexbox();
|
|
@include themify($themes) {
|
|
color: themed('meta-color');
|
|
}
|
|
|
|
svg {
|
|
display: block;
|
|
margin: auto 0.2rem auto 0.35rem;
|
|
}
|
|
|
|
img {
|
|
margin-left: 0.35rem;
|
|
}
|
|
}
|
|
|
|
a.type {
|
|
z-index: z('card-outter');
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
|
|
@include themify($themes) {
|
|
@include on-event {
|
|
color: themed('link-hover');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&--shields {
|
|
margin-top: 0.25rem;
|
|
|
|
@include flexbox();
|
|
@include flex-wrap(wrap);
|
|
|
|
a.type {
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
|
|
&--link {
|
|
z-index: z('card-inner');
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
} |