mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
138 lines
3.7 KiB
CSS
138 lines
3.7 KiB
CSS
/*
|
|
* !!! WARNING !!!
|
|
* Editing this file may cause your instance to break for EVERYONE.
|
|
* Please know what you're doing and test it out with regular user custom CSS.
|
|
* With that said, GLHF!
|
|
* This may eventuallly be replaced with a function in the admin panel.
|
|
*/
|
|
|
|
/*
|
|
* Change this for border-radius values
|
|
*/
|
|
|
|
/** jormungandr css **/
|
|
/* Make foreground of mobile pencil icon dark */
|
|
|
|
|
|
.postButton .ph-pencil {
|
|
color: var(--bg);
|
|
}
|
|
|
|
/* transparency to menuBar and navbar and widgets */
|
|
#iceshrimp_app div.dkgtipfy.isMobile div.buttons {
|
|
opacity: var(--transparency);
|
|
}
|
|
|
|
#iceshrimp_app div.dkgtipfy.isMobile div.menuDrawer {
|
|
opacity: var(--transparency);
|
|
-webkit-box-shadow: 0 0 20px var(--fgOnAccent);
|
|
-moz-box-shadow: 0 0 20px var(--fgOnAccent);
|
|
box-shadow: 0 0 20px var(--fgOnAccent);
|
|
}
|
|
.widgetsDrawer {
|
|
opacity: var(--transparency);
|
|
}
|
|
|
|
/* make "new beeps available" button have proper radius */
|
|
#iceshrimp_app #maincontent div div div._root_b6w6v_1 div._content_b6w6v_6 div.cmuxhskf div.tl._block div.swiper.swiper-virtual.swiper-initialized.swiper-horizontal.swiper-watch-progress div.swiper-wrapper div.swiper-slide.swiper-slide-visible div.new button._buttonPrimary._shadow {
|
|
border-radius: var(--radius)
|
|
}
|
|
|
|
|
|
|
|
/** Sophie/Zvava CSS https://zvava.org **/
|
|
/* floating mobile navbar - */
|
|
#iceshrimp_app {
|
|
--thePadding: 12px;
|
|
}
|
|
|
|
@media (min-width: 401px) {
|
|
#iceshrimp_app {
|
|
--thePadding: 24px;
|
|
}
|
|
}
|
|
|
|
#iceshrimp_app>.isMobile::after {
|
|
content: "";
|
|
background: var(--bg);
|
|
display: block;
|
|
width: 100vw;
|
|
height: 28px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 9;
|
|
}
|
|
|
|
#iceshrimp_app>.isMobile>.postButton {
|
|
bottom: 103px;
|
|
right: calc(var(--thePadding) / 2);
|
|
}
|
|
|
|
#iceshrimp_app>.isMobile>.buttons {
|
|
background: var(--panelHighlight) !important;
|
|
border-radius: 10px;
|
|
margin: 0 var(--thePadding) 18px;
|
|
width: calc(100vw - var(--thePadding) * 2) !important;
|
|
box-shadow: rgba(0, 0, 0, .5) 0 0 25px;
|
|
}
|
|
|
|
#iceshrimp_app>.isMobile>.buttons>.button {
|
|
height: 3.33rem !important;
|
|
}
|
|
|
|
#iceshrimp_app>.isMobile>.buttons>.button>.button-wrapper.on {
|
|
transform: unset !important;
|
|
}
|
|
|
|
|
|
/* deck mode fixes */
|
|
#iceshrimp_app>.mk-deck .columns section header {
|
|
border-bottom-left-radius: var(--radius);
|
|
border-bottom-right-radius: var(--radius);
|
|
margin-bottom: .4em;
|
|
}
|
|
|
|
#iceshrimp_app>.mk-deck .columns section header+div {
|
|
border-top-left-radius: var(--radius);
|
|
border-top-right-radius: var(--radius);
|
|
}
|
|
|
|
.list .notes button.muted { display: none; } /* hide muted posts in tl */
|
|
|
|
._shadow, #iceshrimp_app > div > ._button { --shadow: rgba(0, 0, 0, 0.5); } /* add missing shadows */
|
|
|
|
/* navbar stuff? */
|
|
header>.body>.top {
|
|
padding: 1rem 0 !important;
|
|
}
|
|
|
|
header>.body>.bottom {
|
|
padding: .5rem 0 0 !important;
|
|
}
|
|
|
|
header>.body>.middle>.item {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
header.sidebar {
|
|
--navBg: transparent;
|
|
border-inline: .5px solid var(--divider);
|
|
border-left: none;
|
|
}
|
|
|
|
/* hide instance in all mentions */
|
|
|
|
.list .notes .article .mention .host { display: none; }
|
|
|
|
/* compact notifications */
|
|
|
|
.list.notifications > .noGap .body > .mfm-object { white-space: nowrap; overflow: hidden visible; text-overflow: ellipsis; display: inline-block; width: 100%; -webkit-line-clamp: 1 !important; height: 2em; margin-bottom: -.7em;}
|
|
.list.notifications > .noGap > .notification > .note-container > .article { padding: 6.5rem 0 0 0;
|
|
& .renote, & > .main > footer, & > .main > .header-container { display: none; }}
|
|
.list.notifications > .noGap > .note-container { padding: 1rem 0 .5rem !important;
|
|
& > .note-context, & > .article > .main > footer { display: none; } }
|
|
.list.notifications > .noGap > .notification._panel { padding: 1rem 2.5rem;
|
|
& > .meta { padding: 0; } }
|
|
|
|
section.modal._popup > div.form > textarea { resize: vertical !important; } /* resize fix */
|