2019-09-09 23:02:17 +02:00
|
|
|
.fjomp_card {
|
2019-09-09 22:22:09 +02:00
|
|
|
--figure-size: 0.9in;
|
|
|
|
width: 2.5in;
|
|
|
|
height: 3.5in;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-radius: 2mm;
|
|
|
|
border-width: 2mm;
|
|
|
|
border-color: black;
|
2019-09-09 23:02:17 +02:00
|
|
|
border-style: solid;
|
2019-09-09 22:22:09 +02:00
|
|
|
background-color: #444;
|
|
|
|
|
|
|
|
font-size: 3mm;
|
|
|
|
font-family: sans-serif;
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 5fr 3fr;
|
|
|
|
grid-template-rows: 1.5em var(--figure-size) 2.1em auto;
|
2019-09-09 23:02:17 +02:00
|
|
|
grid-template-areas:
|
2019-09-09 22:22:09 +02:00
|
|
|
"title title"
|
|
|
|
"figure properties"
|
|
|
|
"costbar costbar"
|
|
|
|
"description description";
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
header {
|
|
|
|
grid-area: title;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1em;
|
|
|
|
margin-top: -1mm;
|
|
|
|
border-radius: 1mm 1mm 0 0;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #222;
|
|
|
|
border-radius: 0;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
figure {
|
|
|
|
grid-area: figure;
|
|
|
|
background-color: #333;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
div {
|
2019-09-11 05:09:42 +02:00
|
|
|
--figure-color: #bbb;
|
|
|
|
color: var(--figure-color);
|
2019-09-09 22:22:09 +02:00
|
|
|
position: absolute;
|
|
|
|
top:0;right:0;left:0;bottom:0;
|
|
|
|
height: var(--figure-size);
|
|
|
|
width: var(--figure-size);
|
|
|
|
margin: auto;
|
|
|
|
text-align: center;
|
|
|
|
>* {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2019-09-11 05:09:42 +02:00
|
|
|
img {
|
2019-09-19 02:43:21 +02:00
|
|
|
width: calc(var(--figure-size) * 0.9);
|
|
|
|
height: calc(var(--figure-size) * 0.9);
|
|
|
|
object-fit: contain;
|
2019-09-11 05:09:42 +02:00
|
|
|
}
|
|
|
|
img.colored {
|
|
|
|
transform: translateY(-10000px);
|
|
|
|
filter: drop-shadow(0px 10000px var(--figure-color));
|
|
|
|
}
|
2019-09-09 22:22:09 +02:00
|
|
|
.mdi,
|
|
|
|
.fa,
|
2019-09-11 05:09:42 +02:00
|
|
|
.oi,
|
2019-09-09 22:22:09 +02:00
|
|
|
.material-icons.figure {
|
|
|
|
font-size: calc(var(--figure-size) * 0.9);
|
|
|
|
line-height: var(--figure-size);
|
|
|
|
}
|
|
|
|
.lnr{
|
|
|
|
font-size: calc(var(--figure-size) * 0.8);
|
|
|
|
line-height: var(--figure-size);
|
|
|
|
}
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
aside {
|
|
|
|
grid-area: properties;
|
|
|
|
border-left: solid 0.3mm black;
|
|
|
|
background-color: #aaa;
|
|
|
|
padding: 0.5mm;
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
li{
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-06 12:58:50 +02:00
|
|
|
.costbar {
|
2019-09-09 22:22:09 +02:00
|
|
|
grid-area: costbar;
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: black;
|
|
|
|
color:white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
section{
|
|
|
|
font-size: 0.8em;
|
|
|
|
margin-left: 0.5mm;
|
|
|
|
margin-right: 0.5mm;
|
|
|
|
line-height: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
2019-10-06 12:58:50 +02:00
|
|
|
.description {
|
2019-09-09 22:22:09 +02:00
|
|
|
grid-area: description;
|
|
|
|
margin: 1mm;
|
|
|
|
border-radius: 1mm;
|
|
|
|
background-color: #aaa;
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
ul, ol {
|
|
|
|
padding-left: 1.5em;
|
|
|
|
li {
|
2019-09-09 23:02:17 +02:00
|
|
|
|
2019-09-09 22:22:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-09-09 23:02:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fjomp_card.white {
|
|
|
|
border-radius: 0mm;
|
|
|
|
border-width: 0.3mm;
|
|
|
|
background-color: #fff;
|
|
|
|
grid-template-rows: 1.6em var(--figure-size) 2.1em auto;
|
|
|
|
header {
|
2019-09-19 02:43:21 +02:00
|
|
|
margin-top: 0;
|
2019-09-09 23:02:17 +02:00
|
|
|
background-color: #ddd;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
figure {
|
|
|
|
background-color: #fff;
|
|
|
|
div {
|
2019-09-11 05:09:42 +02:00
|
|
|
--figure-color: #555;
|
2019-09-09 23:02:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
aside {
|
|
|
|
border-left: solid 0.3mm #ccc;
|
|
|
|
background-color: #ddd;
|
|
|
|
color: #444 ;
|
|
|
|
|
|
|
|
}
|
2019-10-06 12:58:50 +02:00
|
|
|
.costbar {
|
2019-09-09 23:02:17 +02:00
|
|
|
background-color: #555;
|
|
|
|
color: white;
|
|
|
|
}
|
2019-10-06 12:58:50 +02:00
|
|
|
.description {
|
2019-09-09 23:02:17 +02:00
|
|
|
background-color: #ddd;
|
|
|
|
}
|
2019-09-09 22:22:09 +02:00
|
|
|
}
|
2019-09-19 02:43:21 +02:00
|
|
|
|
|
|
|
.fjomp_card.item {
|
|
|
|
--figure-size: 1.35in;
|
|
|
|
--figure-size: 1.5in;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-areas:
|
|
|
|
"title"
|
|
|
|
"figure"
|
|
|
|
"costbar"
|
|
|
|
"description";
|
|
|
|
aside {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|