Roughly mimics the current Reddit UI: large thumbnails; view posts without reloading.
For "Larger thumbnails; view without reload" userscript, see notes!
Authorhyacinth
LicenseCC Zero/public domain
Categoryraddle.me
Created
Updated
Size1.7 kB
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Roughly mimics the current Reddit UI: large thumbnails; view posts without reloading.
For "Larger thumbnails; view without reload" userscript, see notes!
This is designed to work with the accompanying "Larger thumbnails; view without reload" userscript.
/* ==UserStyle==
@name Larger thumbnails; display posts as overlays - raddle.me. Intended for use with an accompanying userscript.
// @namespace https://raddle.me/
// @version 1.1
// @author hyacinth
// @licence CC0/public domain
// ==/UserStyle== */
@-moz-document domain("raddle.me") {
/* This is designed to accompany the "Larger thumbnails; display posts as overlays" userscript! */
main {
max-width: 500px;
margin: 0 auto;
}
.submission:not(.submission--expanded) .submission__row {
border-bottom: 2px solid #b9b9b9;
box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.2);
border-radius: 1rem;
padding: 0.5rem 1rem 0.5rem 0;
}
.postImageLink {
max-height: 80vh;
}
.postImageCard {
margin: 1rem;
border-radius: 1rem;
padding: 1rem;
box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.2);
width: calc(100% - 4rem - 1px);
max-width: calc(100% - 4rem - 1px);
}
.postImageCard > img {
width: 100%;
object-fit: contain;
max-height: 80vh;
}
.postOverlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background-color: #fafafa;
min-height: 100vh;
}
.postOverlay.postOverlayLoading {
backdrop-filter: blur(10px);
background-color: rgba(255,255,255, 0.2);
display: flex;
align-items: center;
justify-content: center;
position: fixed;
}
html > body.postOverlayOpen:not(.postOverlayLoadingBody) > .site-content {
max-height: 100vh;
overflow: hidden;
}
.displayNone {
display: none !important;
}
.paddingLeft0 {
padding-left: 0 !important;
}
}