Skip to content

Instantly share code, notes, and snippets.

@wont-work
Last active December 19, 2023 07:49
Show Gist options
  • Save wont-work/7c812a68b815fa6f93501e0596c2cdee to your computer and use it in GitHub Desktop.
Save wont-work/7c812a68b815fa6f93501e0596c2cdee to your computer and use it in GitHub Desktop.
Userstyle "lemmy for the old.reddit.com refugee"
/* ==UserStyle==
@name lemmy for the old.reddit.com refugee
@namespace github.com/ShittyKopper
@version 1.0.1
@description tweaks
@author @ShittyKopper@lemmy.blahaj.zone
@updateURL https://gist.githubusercontent.com/ShittyKopper/7c812a68b815fa6f93501e0596c2cdee/raw/lemmy.user.css
==/UserStyle== */
@-moz-document domain("beehaw.org"),
regexp("https?://lemmy.*")
{
/* LAYOUT */
.container-lg {
max-width: 1600px;
/* site w */
}
.container-lg > .row {
justify-content: space-between;
}
/* sidebar */
.container-lg > .row > .col-md-4 {
/* sidebar w */
max-width: 360px;
}
/* main content */
.container-lg > .row > .col-md-8 {
max-width: 1000px;
/* main content w */
margin: 0 auto;
flex-grow: 1;
}
.navbar > .container-lg {
max-width: none;
}
/* STRETCH MARKS */
.vote-bar {
max-width: 4rem;
}
/* thumbnail */
.vote-bar + .col-sm-2 {
max-width: 128px;
flex: 1;
}
/* MISC */
.badge-light {
/* just a little reminder of what could have been */
background: orangered;
color: white;
border-radius: 4px;
}
.comment video {
max-width: 500px;
}
/* block community btn */
.container-lg > .row > .col-md-4 .btn-danger {
background: transparent;
border: none;
color: var(--red);
font-weight: 900;
font-size: 7pt;
padding: 0;
}
/* collapse on the very left */
.comment .d-flex button[aria-label='Collapse'],
.comment .d-flex button[aria-label='Expand'] {
order: -1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment