Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 182 additions & 14 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,69 @@
/* Layout */
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
sans-serif;
transition: background-color 0.3s ease, color 0.3s ease;
}

button {
/* Themes */
body.light-theme {
background-color: #fdfdfd;
color: #111;
}

body.dark-theme {
background-color: #050509;
color: #f5f5f5;
}

/* Button */
button#kinky-button {
height: 50px;
width: 200px;
font-size: large;
cursor: pointer;
border-radius: 8px;
border: none;
background: linear-gradient(135deg, #ff4b6e, #ff9f1c);
color: #fff;
font-weight: 600;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

body.dark-theme button#kinky-button {
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

button#kinky-button:hover {
filter: brightness(1.05);
}

button#kinky-button:active {
transform: translateY(1px) scale(0.99);
box-shadow: 0 5px 14px rgba(0, 0, 0, 0.35);
}

/* Click counter */
#click-count {
font-size: 10px;
font-family: "Courier New", Courier, monospace;
font-weight: bold;
padding: 5px;
margin-top: 10px;
border: 1px solid currentColor;
border-radius: 5px;
text-align: center;
background-color: transparent;
}

/* Footer */
footer {
display: flex;
flex-direction: row;
Expand All @@ -22,6 +72,7 @@ footer {
padding: 30px 10px;
align-items: center;
width: 100vw;
box-sizing: border-box;
}

footer section {
Expand All @@ -40,36 +91,153 @@ footer section#footer-left {
left: 40px;
}

footer p#footer-desc {
font-size: small;
}

footer p#footer-desc,
footer p#copyright {
font-size: small;
}

/* Floating messages */
.floating-message {
position: fixed;
transform: translate(-50%, -50%);
color: black;
font-size: 18px;
pointer-events: none;
opacity: 1;
transition: opacity 2s ease;
z-index: 1000;
max-width: 60vw;
text-align: center;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body.light-theme .floating-message {
color: #111;
text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6);
}

body.dark-theme .floating-message {
color: #f5f5f5;
}

.floating-message.fade-out {
opacity: 0;
}

#click-count {
font-size: 10px;
font-family: "Courier New", Courier, monospace;
font-weight: bold;
padding: 5px;
/* Settings toggle button */
#settings-toggle {
position: fixed;
right: 16px;
bottom: 16px;
width: 40px;
height: 40px;
border-radius: 999px;
border: none;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.08);
backdrop-filter: blur(10px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
transition: transform 0.15s ease, box-shadow 0.15s ease,
background-color 0.15s ease;
z-index: 1100;
}

body.dark-theme #settings-toggle {
background: rgba(255, 255, 255, 0.04);
color: #f5f5f5;
}

#settings-toggle:hover {
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

#settings-toggle:active {
transform: translateY(0);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Settings modal */
#settings-modal {
position: fixed;
inset: 0;
display: none;
align-items: center;
justify-content: center;
z-index: 1200;
}

#settings-modal.open {
display: flex;
}

#settings-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
}

#settings-content {
position: relative;
z-index: 1;
width: min(360px, 90vw);
border-radius: 16px;
padding: 20px 22px 18px;
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
background: #ffffff;
color: #111;
}

body.dark-theme #settings-content {
background: #15151c;
color: #f5f5f5;
}

#settings-content h2 {
margin: 0 0 12px;
font-size: 20px;
}

.settings-group {
margin-top: 10px;
border: 1px solid black;
border-radius: 5px;
text-align: center;
margin-bottom: 6px;
}

.settings-group h3 {
margin: 6px 0;
font-size: 14px;
opacity: 0.8;
}

.settings-group label {
display: inline-flex;
align-items: center;
margin-right: 10px;
margin-bottom: 4px;
gap: 4px;
font-size: 13px;
cursor: pointer;
}

.settings-actions {
margin-top: 12px;
display: flex;
justify-content: flex-end;
}

#settings-close {
border-radius: 999px;
padding: 6px 16px;
border: none;
background: #e0e0e0;
cursor: pointer;
font-size: 13px;
}

body.dark-theme #settings-close {
background: #2b2b38;
color: #f5f5f5;
}
Loading