mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
masonry visual improvements
This commit is contained in:
parent
a3777e7ff8
commit
9d96436992
2 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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: 5px;
|
||||
padding-top: 10px;
|
||||
@include breakpoint(laptop) {
|
||||
padding-top: 5px;
|
||||
}
|
||||
width: 50%;
|
||||
position: relative;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue