masonry visual improvements

This commit is contained in:
rimu 2024-01-31 20:35:47 +13:00
parent a3777e7ff8
commit 9d96436992
2 changed files with 20 additions and 2 deletions

View file

@ -709,14 +709,25 @@ fieldset legend {
}
.post_list_masonry .post_teaser .masonry_info .row .col a, .post_list_masonry_wide .post_teaser .masonry_info .row .col a {
color: white;
padding-top: 6px;
}
@media (min-width: 1280px) {
.post_list_masonry .post_teaser .masonry_info .row .col a, .post_list_masonry_wide .post_teaser .masonry_info .row .col a {
padding-top: 0;
}
}
.post_list_masonry .post_teaser .masonry_info .row .col .upvote_button, .post_list_masonry .post_teaser .masonry_info .row .col .downvote_button, .post_list_masonry_wide .post_teaser .masonry_info .row .col .upvote_button, .post_list_masonry_wide .post_teaser .masonry_info .row .col .downvote_button {
display: inline;
color: white;
padding-top: 5px;
padding-top: 10px;
width: 50%;
position: relative;
}
@media (min-width: 1280px) {
.post_list_masonry .post_teaser .masonry_info .row .col .upvote_button, .post_list_masonry .post_teaser .masonry_info .row .col .downvote_button, .post_list_masonry_wide .post_teaser .masonry_info .row .col .upvote_button, .post_list_masonry_wide .post_teaser .masonry_info .row .col .downvote_button {
padding-top: 5px;
}
}
.post_list_masonry .post_teaser .masonry_info .row .col .upvote_button .htmx-indicator, .post_list_masonry .post_teaser .masonry_info .row .col .downvote_button .htmx-indicator, .post_list_masonry_wide .post_teaser .masonry_info .row .col .upvote_button .htmx-indicator, .post_list_masonry_wide .post_teaser .masonry_info .row .col .downvote_button .htmx-indicator {
position: absolute;
width: 20px;

View file

@ -337,12 +337,19 @@ nav, etc which are used site-wide */
a {
color: white;
padding-top: 6px;
@include breakpoint(laptop) {
padding-top: 0;
}
}
.upvote_button, .downvote_button {
display: inline;
color: white;
padding-top: 10px;
@include breakpoint(laptop) {
padding-top: 5px;
}
width: 50%;
position: relative;