Skip to content

Instantly share code, notes, and snippets.

@nightpool
Last active April 12, 2024 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nightpool/541fe000909357e88d3b9ce809b2bdf3 to your computer and use it in GitHub Desktop.
Save nightpool/541fe000909357e88d3b9ce809b2bdf3 to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name Sidebars to the side
@namespace github.com/nightpool
@version 1.0.1
@description Tumblr sidebar fix v1
@author nightpool
==/UserStyle== */
@-moz-document domain("www.tumblr.com") {
#base-container:has(:is(.ogC81)) {
--minimized-conversation-width: calc(48px + 16px);
}
:is(.peM4H, .BSxQO, .NENaP, .ZkG01, .ah4XU, .vWxXZ, .klGip, .X4W3M, .g8SYn, .r1Zq6, .ZmMA3, .KjB_o, .SUVQv, .y0ud2) {
justify-content: space-between !important;
}
:is(.h_Erh) {
margin-left: 1rem;
}
:is(._3xgk):has(main) {
display: contents !important;
}
:is(._3xgk):has(main) > :is(.iM0gm, .I1C5C, .XKCjm, .M4csE, .gG278, .GzZtE, .gPQR5, .zNXsU, .pgfyp, .X4sMj, .dzJuF, .QiSmE, .GIEHd, .q1ZAL, .Qq2kF, .aVu3s, .HT4SV, .y8Hml, .veGhd, .gg0IL, .RkANE, .S3E1Y, .M4ozn, .Jexdo, .pNyDU, .HEmvO, .NRB1z, .PenwM, .sGELZ, .FQkf4, .IO8lN, .Ax_5I, .rGuEh, .BGh2j, ._45C1, .Qihwb, .VE_M2, .n4if2, .DqHCa, .uzQXY, .leVy7, .yCNr1, .X2bNy, .xMd0G, ._72ef2, .Rn2ZH, .XuT0g, .UH33k, .v4Qva, .HaeOc, .c7xit, .Jslv2, .PuLtZ, .UPJCY, .vHT8v, .o1SJL, .WEIv6, .cfBaP, .As9E4, .q9Ryt, .EatnB, .Yunii, .p3LhK, .skjTR) {
display: contents !important;
}
:is(._3xgk) > div > :is(.ECTnf, .v56Q7, .yaHgq, .lSyOz, .mCoUP, .FAvnQ, .eNZLV, .kbHcG, .oPeob, .D628P, .gp1sd, .yu39u, .Z1Cpp, .sl6qr) {
border-right: unset !important;
}
:is(._3xgk) > div > :is(.e1knl, .mK27Z, .z0cjt, .vM8CJ) {
margin-right: calc(8px + var(--minimized-conversation-width, 8px));
border-left: 1px solid rgba(var(--white-on-dark), .13);
padding-left: 5px !important;
}
@media (max-width: 1200px) {
:is(._3xgk) > div > :is(.e1knl, .mK27Z, .z0cjt, .vM8CJ) {
margin-right: 1rem;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment