Compare commits
No commits in common. "528254875d29afff384e9821dc6c3de693b96de5" and "eb0f7c6c7e9270c02f66fb951081c1bb1e9e922e" have entirely different histories.
528254875d
...
eb0f7c6c7e
File diff suppressed because one or more lines are too long
|
@ -1,26 +1,9 @@
|
|||
@include breakpoint(small) {
|
||||
dl {
|
||||
.property {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
dt {
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium) {
|
||||
dl {
|
||||
.property {
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
dt {
|
||||
min-width: 14rem;
|
||||
max-width: 14rem;
|
||||
width: 14rem;
|
||||
}
|
||||
max-width: 14rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,26 +137,15 @@
|
|||
|
||||
// -- Modules
|
||||
.media-list {
|
||||
@include breakpoint(small) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
.resource-link {
|
||||
width: auto;
|
||||
display:inline-block;
|
||||
padding-right: $global-padding;
|
||||
> * {
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
.resource-name {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium) {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -51,12 +51,15 @@ $("#archive_page_title").html('<?php echo $_html ?>');
|
|||
<div class="media-list" style="display: flex;">
|
||||
<?php foreach ($itemMedia as $media): ?>
|
||||
<?php echo $media->linkPretty(); ?>
|
||||
<div class="resource">
|
||||
<a class="resource-link" href="<?= $media->originalUrl(); ?>">
|
||||
<br />
|
||||
<div style="display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
padding: 0 10px 10px 0;">
|
||||
<a href="<?= $media->originalUrl(); ?>">
|
||||
<img src="<?= $media->thumbnailUrl("square"); ?>" />
|
||||
<span class="resource-name">
|
||||
<br />
|
||||
<?= $media->displayTitle(); ?>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
|
Loading…
Reference in New Issue