jormungandr-bite/custom/assets/instance.css

269 lines
5.9 KiB
CSS
Raw Normal View History

/*
* !!! 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.
*/
2024-07-11 02:07:08 -06:00
2024-07-14 03:36:34 -06:00
/** jormungandr css **/
2024-09-15 05:31:08 -06:00
/* enlarge the emoji picker */
html body div#iceshrimp_app div.mk-deck div._root_1ixi5_90._popup_1ixi5_119 div._content_1ixi5_5._fixed_1ixi5_122 div.omfetrab.s1.w3.h2.ryghynhb._popup._shadow {
width: 56%;
margin-left: 22%;
}
2024-07-14 03:44:19 -06:00
/* hide default emoji list on main page */
/* (you cant even set this woithout changing code, why is it there?) */
div.emojis:nth-child(6) {
2024-09-10 20:12:37 -06:00
display: none;
2024-07-14 03:44:19 -06:00
}
2024-07-14 03:37:19 -06:00
/* hide the public note view on main page */
.civpbkhh {
2024-09-10 20:12:37 -06:00
display: none;
2024-07-14 03:37:19 -06:00
}
2024-07-14 03:36:34 -06:00
2024-07-14 03:37:19 -06:00
/* Make foreground of mobile pencil icon dark */
2024-07-14 03:36:34 -06:00
.postButton .ph-pencil {
color: var(--bg);
}
/* 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)
}
2024-08-25 23:05:47 -06:00
2024-07-14 03:36:34 -06:00
#iceshrimp_app div.mk-deck div.main div.columns.left section.dnpfarvg._narrow_.paged.active.column div 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)
}
/* blur background */
html body div#iceshrimp_app div.mk-app div.main div.contents main div div.rsqzvsbo div.top div.xfbouadm.bg {
filter: blur(8px);
-webkit-filter: blur(8px);
}
/* hide icon */
html body div#iceshrimp_app div.mk-app div.main div.contents main div div.rsqzvsbo div.top div.main img.icon {
2024-09-10 20:12:37 -06:00
display: none;
2024-07-14 03:36:34 -06:00
}
/** 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);
}
2024-08-25 23:05:47 -06:00
.list .notes button.muted {
display: none;
}
2024-07-14 03:36:34 -06:00
2024-08-25 23:05:47 -06:00
/* hide muted posts in tl */
._shadow,
#iceshrimp_app>div>._button {
--shadow: rgba(0, 0, 0, 0.5);
}
/* add missing shadows */
2024-07-14 03:36:34 -06:00
/* 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;
}
2024-08-25 23:05:47 -06:00
._root_b6w6v_1 {
padding: var(--thePadding) !important;
}
2024-08-08 17:21:57 -06:00
2024-08-25 23:05:47 -06:00
a.mention>.main>.host {
display: none;
}
/* hide instance in all mentions */
2024-07-14 03:36:34 -06:00
2024-08-25 23:05:47 -06:00
section.modal._popup>div.form>textarea {
resize: vertical !important;
}
/* resize fix */
2024-07-14 03:36:34 -06:00
2024-07-11 04:04:18 -06:00
/** ThatOneCalculator MisskeyTweaks **/
.profile .banner::after,
._popup .banner::after {
2024-08-25 23:05:47 -06:00
content: "";
background-image: inherit;
position: fixed;
inset: 0;
background-size: cover;
background-position: center;
pointer-events: none;
opacity: 0.1;
filter: blur(10px);
2024-07-11 04:04:18 -06:00
}
/*** BETTER PROFILES ***/
.narrow {
position: relative;
2024-08-25 23:05:47 -06:00
}
.wide>.main+.sub {
2024-07-11 04:04:18 -06:00
position: sticky;
height: max-content;
min-height: calc(100vh - 35px);
bottom: 15px;
align-self: flex-end;
2024-08-25 23:05:47 -06:00
}
.profile {
2024-07-11 04:04:18 -06:00
margin-bottom: var(--margin);
2024-08-25 23:05:47 -06:00
}
.profile .banner-container,
.profile .banner,
.profile .fade {
2024-07-11 04:04:18 -06:00
border-bottom-left-radius: var(--radius) !important;
border-bottom-right-radius: var(--radius) !important;
2024-08-25 23:05:47 -06:00
}
.profile~.contents {
2024-07-11 04:04:18 -06:00
position: relative;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content.omitted>div {
2024-07-11 04:04:18 -06:00
padding-inline: 0;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content.omitted .stream {
2024-07-11 04:04:18 -06:00
display: flex;
overflow-x: auto;
scroll-padding: 24px;
padding-left: 24px;
scrollbar-color: transparent transparent;
2024-08-25 23:05:47 -06:00
mask: linear-gradient(to right, #000 calc(100% - 400px), rgba(0, 0, 0, 0.4), transparent);
}
.profile~.contents>div>._panel .content.omitted .stream a {
2024-07-11 04:04:18 -06:00
min-width: max-content;
scroll-snap-align: start;
height: 100px;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content.omitted button.fade {
2024-07-11 04:04:18 -06:00
background: linear-gradient(to right, transparent, var(--panel));
background: none;
top: 0;
bottom: 0;
right: 0;
left: unset;
height: unset;
width: auto;
padding: 24px;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content:not(.omitted) {
2024-07-11 04:04:18 -06:00
padding: 0 14px !important;
padding: 0 !important;
padding-top: 14px !important;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content:not(.omitted)>div {
2024-07-11 04:04:18 -06:00
padding: 0;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content:not(.omitted) .stream {
2024-07-11 04:04:18 -06:00
display: flex;
flex-wrap: wrap;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content:not(.omitted) .stream a {
2024-07-11 04:04:18 -06:00
flex-grow: 1;
height: auto;
max-height: 60vh;
border-radius: 0;
2024-08-25 23:05:47 -06:00
}
.profile~.contents>div>._panel .content:not(.omitted) .empty {
2024-07-11 04:04:18 -06:00
display: none;
2024-08-25 23:05:47 -06:00
}
2024-09-07 22:50:14 -06:00
/* Koppers Pixelated Image CSS
2024-09-07 22:50:14 -06:00
.emoji>img,
.MkCustomEmoji-root-eJ4G,
.mk-emoji.custom,
.custom-emoji {
image-rendering: pixelated;
}*/