119 lines
2.2 KiB
Plaintext
119 lines
2.2 KiB
Plaintext
.info-wrapper {
|
|
float: right;
|
|
max-width: 360px;
|
|
font-family: 'Shippori Mincho', serif;
|
|
|
|
display: grid;
|
|
grid-template-rows: auto;
|
|
grid-template-columns: 1fr .6fr 1fr;
|
|
row-gap: var(--space);
|
|
|
|
margin-left: calc(var(--space) * 2);
|
|
margin-bottom: calc(var(--space) * 2);
|
|
margin-top: calc(var(--space) / 2 * -1);
|
|
|
|
padding-bottom: var(--space);
|
|
border-bottom: 2px solid var(--gold-4);
|
|
|
|
}
|
|
|
|
.info-title, .info-image, .info-datablock {
|
|
grid-column: 1 / 4;
|
|
}
|
|
|
|
.info-datablock {
|
|
display: grid;
|
|
grid-template-columns: subgrid;
|
|
column-gap: var(--space);
|
|
font-size: .9em;
|
|
align-items: center;
|
|
line-height: 1em;
|
|
}
|
|
|
|
dt.infobox {
|
|
line-height: 1em;
|
|
}
|
|
|
|
dt.infobox.info-title, dd.infobox.info-data, dt.infobox.info-label {
|
|
margin: unset;
|
|
}
|
|
|
|
dt.infobox.info-label {
|
|
grid-column: 1 / 2;
|
|
text-align: right;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.info-data {
|
|
grid-column: 2 / 4;
|
|
text-align: left;
|
|
}
|
|
|
|
.info-title {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.info-title, .info-label {
|
|
@media (prefers-color-scheme: dark) {
|
|
color: var(--gold-2);
|
|
}
|
|
color: var(--gold-7);
|
|
}
|
|
|
|
.info-title {
|
|
display: flex;
|
|
gap: calc(var(--space) / 2);
|
|
text-align: center;
|
|
}
|
|
|
|
.info-title::before,
|
|
.info-title::after
|
|
{
|
|
display: block;
|
|
background-size: 100% 2px;
|
|
background-repeat: no-repeat;
|
|
background-position-y: 58%;
|
|
content: ' ';
|
|
min-width: calc(var(--space) * 2);
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.info-title::after {
|
|
background-image: linear-gradient(90deg, transparent, var(--gold-4));
|
|
}
|
|
|
|
.info-title::before {
|
|
background-image: linear-gradient(270deg, transparent, var(--gold-4));
|
|
}
|
|
|
|
// border-image: linear-gradient(127deg, transparent 5%, var(--gold-3) 40%, var(--gold-3) 60%, transparent 95%) 1;
|
|
// border: 2px solid transparent;
|
|
|
|
|
|
|
|
@media (min-width: 1201px) {
|
|
.info-wrapper {
|
|
margin-right: calc(var(--space) * 18 * -1);
|
|
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.info-wrapper {
|
|
|
|
}
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.info-wrapper {
|
|
float: unset;
|
|
width: auto;
|
|
max-width: unset;
|
|
margin-top: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-title:first-child {
|
|
display: none;
|
|
}
|
|
} |