2023-09-11 19:59:07 +02:00
|
|
|
@import 'styles_config';
|
|
|
|
|
|
|
|
.project-lawful-ebook-blogpost
|
|
|
|
{
|
|
|
|
code {
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
border-radius: 2px;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(6, auto) 1fr;
|
|
|
|
grid-template-rows: auto auto;
|
|
|
|
grid-column-gap: 1rem;
|
|
|
|
}
|
|
|
|
|
2023-09-15 22:57:54 +02:00
|
|
|
.variant .header {
|
|
|
|
grid-row: 1;
|
|
|
|
grid-column: 1/-1;
|
|
|
|
|
|
|
|
margin: 1em 0;
|
|
|
|
gap: 0.5em;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
h3{ text-decoration: underline; margin: 0; }
|
|
|
|
}
|
2023-09-11 19:59:07 +02:00
|
|
|
|
|
|
|
.variant .dlbutton {
|
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
border:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton img {
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton a {
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr auto auto;
|
|
|
|
grid-row-gap: 4px;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
|
|
|
padding: 0.5rem;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
color: $COL_BUTTON_GENERIC_FG;
|
|
|
|
background-color: $COL_BUTTON_GENERIC_BG;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
border: 1px solid black;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton a:hover {
|
|
|
|
background-color: $COL_BUTTON_GENERIC_HOVER;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton a .span_dl {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.33em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton a .span_mb {
|
|
|
|
font-size: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant .dlbutton svg {
|
|
|
|
fill: #BBB;
|
|
|
|
}
|
|
|
|
|
|
|
|
.variant img {
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid #555;
|
|
|
|
}
|
2023-09-12 16:48:45 +02:00
|
|
|
|
|
|
|
@include rdmedia(0) {
|
|
|
|
.variant .dlbutton svg { width: 16px; }
|
|
|
|
.variant .dlbutton a .span_dl { display: none; }
|
|
|
|
.variant .dlbutton a .span_mb { display: none; }
|
2023-09-15 22:57:54 +02:00
|
|
|
.variant .header { flex-direction: column; }
|
2023-09-12 16:48:45 +02:00
|
|
|
}
|
|
|
|
@include rdmedia(1) {
|
|
|
|
.variant .dlbutton svg { width: 32px; }
|
|
|
|
.variant .dlbutton a .span_dl { font-size: 1em; }
|
|
|
|
.variant .dlbutton a .span_mb { }
|
2023-09-15 22:57:54 +02:00
|
|
|
.variant .header { flex-direction: column; }
|
2023-09-12 16:48:45 +02:00
|
|
|
}
|
|
|
|
@include rdmedia(2) {
|
|
|
|
.variant .dlbutton svg { width: 48px; }
|
|
|
|
.variant .dlbutton a .span_dl { }
|
|
|
|
.variant .dlbutton a .span_mb { }
|
|
|
|
}
|
|
|
|
@include rdmedia(3) {
|
|
|
|
.variant .dlbutton svg { width: 48px; }
|
|
|
|
.variant .dlbutton a .span_dl { font-size: 1em; }
|
|
|
|
.variant .dlbutton a .span_mb { }
|
|
|
|
}
|
2023-09-11 19:59:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.project-lawful-ebook-blogpost
|
|
|
|
{
|
|
|
|
.variant.alt-variants {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dlbtn_alt {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 24px auto 1fr auto;
|
|
|
|
grid-column-gap: 1rem;
|
|
|
|
|
|
|
|
color: $COL_BUTTON_GENERIC_FG;
|
|
|
|
background-color: $COL_BUTTON_GENERIC_BG;
|
|
|
|
border: 1px solid black;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
padding: 6px;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dlbtn_alt:hover {
|
|
|
|
background-color: $COL_BUTTON_GENERIC_HOVER;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dlbtn_alt svg {
|
|
|
|
fill: #BBB;
|
|
|
|
}
|
|
|
|
|
2023-09-12 16:48:45 +02:00
|
|
|
@include rdmedia_range(0, 3) { .dlbtn_alt svg { width: 16px; } }
|
|
|
|
|
2023-09-11 19:59:07 +02:00
|
|
|
.dlbtn_alt .span_mb {
|
|
|
|
font-size: 0.75em;
|
|
|
|
grid-column: 4;
|
|
|
|
}
|
|
|
|
}
|