2022-08-09 03:37:12 -06:00
|
|
|
/*
|
|
|
|
* !!! 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-05 18:14:26 -06:00
|
|
|
|
2024-07-06 22:58:56 -06:00
|
|
|
/*
|
|
|
|
* Change this for border-radius values
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Jormungandr
|
|
|
|
:root {
|
|
|
|
--radius-xxs: 10px;
|
|
|
|
--radius-xss: 3px; //
|
|
|
|
--radius-xs: 10px;
|
|
|
|
--radius-x: 10px;
|
|
|
|
--radius-s: 10px;
|
|
|
|
--radius-sm: 10px;
|
|
|
|
--radius-m: 10px;
|
|
|
|
--radius: 10px;
|
|
|
|
--radius-md: 10px;
|
|
|
|
--radius-lg: 10px;
|
|
|
|
--radius-xl: 10px;
|
|
|
|
--radius-big: 10px;
|
|
|
|
--radius-ellipse: 10px;
|
|
|
|
--radius-full: 10px;
|
|
|
|
--radius-icon: 0.3rem; //
|
|
|
|
--radius-avatar: 2em; //
|
|
|
|
--radius-online: 120%; //
|
|
|
|
--radius-avatar-2: 20%; //
|
|
|
|
--radius-avatar-3: 75% //
|
|
|
|
--radius-common: 50% //
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Default Iceshrimp
|
|
|
|
:root {
|
|
|
|
--radius-xxs: 2px;
|
|
|
|
--radius-xss: 3px; //
|
|
|
|
--radius-xs: 4px;
|
|
|
|
--radius-x: 5px;
|
|
|
|
--radius-s: 6px;
|
|
|
|
--radius-sm: 8px;
|
|
|
|
--radius-m: 10px;
|
|
|
|
--radius: 12px;
|
|
|
|
--radius-md: 16px;
|
|
|
|
--radius-lg: 24px;
|
|
|
|
--radius-xl: 32px;
|
|
|
|
--radius-big: 100px;
|
|
|
|
--radius-ellipse: 999px;
|
|
|
|
--radius-full: 100%;
|
|
|
|
--radius-icon: 0.3rem; //
|
|
|
|
--radius-avatar: 2em; //
|
|
|
|
--radius-online: 120%; //
|
|
|
|
--radius-avatar-2: 20%; //
|
|
|
|
--radius-avatar-3: 75% //
|
|
|
|
--radius-common: 50% //
|
|
|
|
}
|
|
|
|
*/
|
2024-07-11 02:00:34 -06:00
|
|
|
|
|
|
|
/* floating mobile navbar - https://zvava.org */
|
|
|
|
#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:hover > .button-wrapper, .isMobile > .buttons > .button:active > .button-wrapper { background: var(--accentedBg); }
|
|
|
|
#iceshrimp_app > .isMobile > .buttons > .button > .button-wrapper.on { transform: unset !important; }
|