Compare commits
3 Commits
eb0f7c6c7e
...
528254875d
Author | SHA1 | Date |
---|---|---|
jorge | 528254875d | |
jorge | 2fbe867757 | |
jorge | 72a1d805bb |
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,26 @@
|
|||
@include breakpoint(small) {
|
||||
dl {
|
||||
.property {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
dt {
|
||||
width: 14rem;
|
||||
max-width: 14rem;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,14 +137,25 @@
|
|||
|
||||
// -- Modules
|
||||
.media-list {
|
||||
width: 100%;
|
||||
.resource-link {
|
||||
width: auto;
|
||||
display:inline-block;
|
||||
> * {
|
||||
float: left;
|
||||
clear: both;
|
||||
@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,17 +51,14 @@ $("#archive_page_title").html('<?php echo $_html ?>');
|
|||
<div class="media-list" style="display: flex;">
|
||||
<?php foreach ($itemMedia as $media): ?>
|
||||
<?php echo $media->linkPretty(); ?>
|
||||
<br />
|
||||
<div style="display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
padding: 0 10px 10px 0;">
|
||||
<a href="<?= $media->originalUrl(); ?>">
|
||||
<div class="resource">
|
||||
<a class="resource-link" href="<?= $media->originalUrl(); ?>">
|
||||
<img src="<?= $media->thumbnailUrl("square"); ?>" />
|
||||
<br />
|
||||
<?= $media->displayTitle(); ?>
|
||||
<span class="resource-name">
|
||||
<?= $media->displayTitle(); ?>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue