Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ------------------------------
- GLOBAL STYLES & BACKGROUND
- ------------------------------ */
- /* Set custom cursor and apply layered background images (animated + static) */
- body {
- cursor: url("https://img.itch.zone/aW1nLzIzNjU3NTc1LnBuZw==/original/T1p4KV.png"), auto;
- background-image:
- url('https://img.itch.zone/aW1nLzIyNjYzNzAyLmdpZg==/original/4iy%2Bz9.gif'), /* Top animated layer */
- url('https://img.itch.zone/aW1nLzIyNjYzNDYzLmpwZw==/original/scC%2BSI.jpg'); /* Base static layer */
- background-size:
- calc(max(100vw, 1920px)) calc(max(100vh, 1080px)), /* Ensure minimum Full HD scaling */
- calc(max(100vw, 1920px)) calc(max(100vh, 1080px));
- background-attachment: fixed, fixed;
- background-position: center, center;
- background-repeat: no-repeat, no-repeat;
- }
- /* Adjust background layout for smaller screens */
- @media (max-width: 600px) {
- body {
- background-position: center top;
- background-size:
- cover, /* Top layer fills screen */
- calc(max(100vw, 1920px)) calc(max(100vh, 1080px)); /* Base layer remains fixed */
- }
- }
- /* Overlay top layer image above all content */
- body::before {
- content: "";
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- background-image: url('https://img.itch.zone/aW1nLzI0MDg0MjQ0LnBuZw==/original/H1AlPz.png');
- background-size: calc(max(100vw, 1920px)) calc(max(100vh, 1080px));
- background-attachment: fixed;
- background-position: center;
- background-repeat: no-repeat;
- z-index: 1;
- pointer-events: none; /* Prevents blocking interaction with content below */
- }
- /* ------------------------------
- USER LINK STYLING
- ------------------------------ */
- /* Layout for user links container */
- .user_links {
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- gap: 10px;
- }
- /* Styling for individual user links */
- .user_links a {
- display: inline-block;
- margin: 0 5px;
- text-decoration: none;
- transition: transform 200ms ease, filter 150ms ease;
- cursor: url("https://img.itch.zone/aW1nLzIzNjU3NTgxLnBuZw==/original/wVvaPK.png"), pointer;
- }
- /* Hover and active effects for links */
- .user_links a:hover,
- a:hover {
- cursor: url("https://img.itch.zone/aW1nLzIzNjU3NTgxLnBuZw==/original/wVvaPK.png"), pointer;
- transform: scale(1.05);
- filter: brightness(1.02);
- }
- .user_links a:active,
- a:active {
- cursor: grabbing;
- transform: scale(1.02);
- }
- /* ------------------------------
- IMAGE HOVER EFFECTS
- ------------------------------ */
- /* Slight zoom effect when hovering over images */
- .formatted img:hover {
- z-index: 2;
- transition: transform 200ms ease;
- transform: scale(1.04);
- }
- /* ------------------------------
- TEXT SPLIT LAYOUT
- ------------------------------ */
- /* Wrapper for 30/70 text layout */
- .custom-text-split-wrapper {
- text-align: center;
- max-width: 1000px;
- margin: 1px auto;
- padding: 1px;
- box-sizing: border-box;
- }
- /* Left and right column styles */
- .custom-text-split-left,
- .custom-text-split-right {
- display: inline-block;
- vertical-align: top;
- box-sizing: border-box;
- padding: 1px;
- text-align: center;
- }
- /* Widths for desktop layout */
- .custom-text-split-left { width: 30%; }
- .custom-text-split-right { width: 65%; }
- /* Add spacing between columns on wider screens */
- @media (min-width: 760px) {
- .custom-text-split-left { margin-right: 4%; }
- }
- /* ------------------------------
- READ MORE TOGGLE
- ------------------------------ */
- /* Mask content when spoiler is collapsed */
- .custom-read-more:has(> details:not([open])) > .custom-content {
- max-height: 5.5em;
- --mask: linear-gradient(to bottom, black 50%, transparent);
- -webkit-mask-image: var(--mask);
- mask-image: var(--mask);
- }
- /* Reveal full content when spoiler is open */
- .custom-read-more:has(> details[open]) > .custom-content {
- max-height: unset !important;
- }
- /* Summary styling for read-more toggle */
- .custom-read-more > details > summary {
- display: flex;
- width: min-content;
- margin-top: 0.5em;
- white-space: nowrap;
- color: var(--l);
- text-decoration: 1px underline;
- cursor: pointer;
- }
- /* Remove default triangle marker */
- .custom-read-more > details > summary::-webkit-details-marker {
- display: none;
- }
- /* Custom label for collapsed state */
- .custom-read-more > details > summary::after {
- content: var(--read-more-cls, "Read more...");
- }
- /* Custom label for expanded state */
- .custom-read-more > details[open] > summary::after {
- content: var(--read-more-opn, "Read less...");
- }
- /* Indent summary if preceded by a list */
- .custom-read-more > .custom-tl-list + details > summary {
- padding-left: 1em;
- }
- /* Center summary toggle */
- .custom-read-more.custom-center > details > summary {
- margin-left: auto;
- margin-right: auto;
- }
- /* Right-align summary toggle */
- .custom-read-more.custom-right > details > summary {
- margin-left: auto;
- }
- /* Hide toggle after opening once */
- .custom-read-more.custom-once > details[open] {
- display: none;
- }
- /* ------------------------------
- SPOILER TOGGLE
- ------------------------------ */
- /* Remove triangle and center image toggle */
- .custom-spoiler summary {
- list-style: none;
- cursor: pointer;
- text-align: center;
- }
- /* Visual cue when spoiler is open */
- .custom-spoiler[open] summary img {
- filter: brightness(0.8);
- transform: scale(0.98);
- transition: all 200ms ease;
- }
- /* Remove triangle globally */
- summary {
- list-style: none;
- }
- /* ------------------------------
- CODE BLOCK STYLING
- ------------------------------ */
- /* Style for displaying code snippets */
- .custom-code-block {
- background: rgba(0, 0, 0, 0.7);
- color: #e0e0e0;
- font-family: monospace;
- font-size: 0.9em;
- padding: 1em;
- border-radius: 6px;
- overflow-x: auto;
- white-space: pre-wrap;
- word-break: break-word;
- margin: 1em auto;
- max-width: 90%;
- box-shadow: 0 0 8px rgba(0,0,0,0.4);
- }
- /* ------------------------------
- MOBILE TEXT SPLIT ADJUSTMENTS
- ------------------------------ */
- @media (max-width: 759px) {
- .custom-text-split-left,
- .custom-text-split-right {
- display: block;
- width: 92%;
- margin: 0 auto 18px auto;
- text-align: center;
- }
- .custom-text-split-left p,
- .custom-text-split-right p {
- text-align: left;
- margin: 0 4%;
- }
- .custom-text-split-left h1,
- .custom-text-split-right h1,
- .custom-text-split-left h2,
- .custom-text-split-right h2 {
- text-align: center;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment