153 lines
2.4 KiB
SCSS
153 lines
2.4 KiB
SCSS
@use "@styles/common";
|
|
@use "@styles/var";
|
|
@use "@styles/color";
|
|
@use "@styles/page.project.panel";
|
|
|
|
$thumbnail-max-size: 60px;
|
|
|
|
#map {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
@include common.font();
|
|
|
|
.maplibregl-marker-covered {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.maplibregl-popup {
|
|
max-width: 300px;
|
|
}
|
|
|
|
.maplibregl-popup-tip {
|
|
border-top-color: color.$default-bg-light;
|
|
}
|
|
|
|
.maplibregl-popup-content {
|
|
padding: var.$block-spacing;
|
|
background-color: color.$default-bg-light;
|
|
|
|
.header h1 {
|
|
font-size: 1.4em;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
|
|
span.hitchhiking {
|
|
font-size: calc(1em / 1.4 * 1.2);
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.description {
|
|
text-align: center;
|
|
}
|
|
|
|
.separator {
|
|
border-top: 1px solid color.$default-bg;
|
|
margin: var.$elem-spacing 0;
|
|
}
|
|
|
|
.section {
|
|
font-size: 1.0em;
|
|
margin: var.$elem-spacing 0 0 0;
|
|
|
|
&:first-child {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: color.$default;
|
|
}
|
|
}
|
|
|
|
.track-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var.$elem-spacing var.$block-spacing;
|
|
}
|
|
|
|
.medias-list {
|
|
line-height: 0;
|
|
|
|
a.media-link {
|
|
img {
|
|
width: auto;
|
|
height: auto;
|
|
image-orientation: from-image;
|
|
transition: All 0.2s;
|
|
border-radius: var.$block-radius;
|
|
}
|
|
|
|
&.drill {
|
|
.drill-image {
|
|
color: transparent;
|
|
}
|
|
.drill-video {
|
|
color: color.$over-img-bg;
|
|
}
|
|
|
|
&:hover {
|
|
.drill-video, .drill-image {
|
|
color: color.$default-bg;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.message {
|
|
.medias-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var.$elem-spacing;
|
|
align-items: center;
|
|
margin-top: var.$elem-spacing;
|
|
|
|
a.media-link {
|
|
flex: 0 0 auto;
|
|
|
|
img {
|
|
max-width: $thumbnail-max-size;
|
|
max-height: calc($thumbnail-max-size * 2/3);
|
|
}
|
|
|
|
&.drill .drill-icon {
|
|
font-size: 1.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.media {
|
|
.medias-list {
|
|
a.media-link img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.project {
|
|
.year {
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
}
|
|
|
|
.maplibregl-ctrl-bottom-right {
|
|
margin: var.$block-spacing;
|
|
transition: transform 0.5s;
|
|
@extend .panel-control;
|
|
|
|
.maplibregl-ctrl-scale {
|
|
margin: 0;
|
|
background-color: transparent;
|
|
border-color: color.$default;
|
|
color: color.$default;
|
|
}
|
|
}
|
|
} |