cumtanks.snowsune.net/www/styles.css

276 lines
4.5 KiB
CSS

body {
margin: 0;
padding: 0;
background: #23232b;
font-family: Arial, sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
.container {
width: 100%;
max-width: 1200px;
padding: 20px;
}
h1 {
color: white;
text-align: center;
margin: 20px 0;
}
.tank-container {
position: relative;
width: 100%;
height: 850px;
background: #23232b;
overflow: hidden;
border-radius: 0;
margin: 0 auto;
width: 1200px;
left: 0;
top: 0;
padding: 0;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
}
.background-image {
position: absolute;
width: auto;
height: 100%;
max-width: 110%;
max-height: 110%;
object-fit: contain;
border: 4px solid #000;
box-sizing: border-box;
pointer-events: none;
left: 50%;
top: 0;
transform: translateX(-50%);
margin: 0;
padding: 0;
}
.background-image-back {
z-index: 1;
}
.background-image-fore {
z-index: 3;
}
.liquid-layer {
position: absolute;
width: 80%;
left: 50%;
transform: translateX(-50%);
transition: all 0.3s ease;
z-index: 2;
overflow: hidden;
background-position: top center;
background-repeat: no-repeat;
background-size: contain;
}
.liquid-layer > div {
width: 100%;
height: 100%;
position: relative;
}
.liquid-label {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
font-weight: bold;
z-index: 2;
padding: 5px 10px;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
text-align: center;
white-space: nowrap;
font-size: 1.2em;
}
.liquid-link {
color: white;
text-decoration: none;
cursor: pointer;
transition: opacity 0.2s ease;
}
.liquid-link:hover {
opacity: 0.8;
text-decoration: underline;
}
/* Settings are hidden but still in the DOM for development */
.settings {
display: none;
}
.artist-credit {
text-align: center;
padding: 1rem;
color: #666;
font-size: 0.9rem;
font-style: italic;
margin-top: 2rem;
}
.artist-link {
position: absolute;
top: 80px;
right: 100px;
transform: rotate(51deg);
z-index: 100;
width: 150px;
height: 100px;
pointer-events: auto;
/* DEBUG: Temporary visible area for clickable link */
/* outline: 2px dashed #ff0;
background: rgba(255, 255, 0, 0.2); */
}
.artist-link a {
display: block;
width: 100%;
height: 100%;
text-indent: -9999px;
background: transparent;
border: none;
outline: none;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.artist-link a:hover {
background: #fff;
color: #23232b;
}
/* Footer */
.tiny-footer {
font-size: 0.75rem;
color: #aaa;
text-align: center;
margin-top: -10px; /* shifts footer upward */
padding: 5px 10px;
}
.tiny-footer a {
color: #aaa;
text-decoration: underline;
}
.tiny-footer a:hover {
color: #fff;
}
.logbook {
position: absolute;
left: 24px;
top: 20px;
width: 260px;
height: 850px;
background: rgba(30, 30, 40, 0.95);
border: 4px solid #000;
box-sizing: border-box;
font-size: 0.85em;
color: #eee;
overflow-y: auto;
z-index: 10;
padding: 16px 10px 16px 16px;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.logbook h2 {
font-size: 1em;
margin: 0 0 8px 0;
color: #fff;
text-align: left;
}
#logList {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.85em;
display: flex;
flex-direction: column;
gap: 4px;
}
#logList li {
color: #ccc;
font-size: 0.95em;
word-break: break-word;
}
.log-shimmer {
background: linear-gradient(
90deg,
#fff 0%,
#f8f8ff 20%,
#ffe 40%,
#fff 60%,
#e0e0e0 80%,
#fff 100%
);
background-size: 400% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 6s linear infinite;
font-weight: bold;
filter: drop-shadow(0 0 2px #fff8);
}
@keyframes shimmer {
0% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
.homepage-link {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
}
.homepage-link a {
display: inline-block;
padding: 8px 16px;
background: rgba(0, 0, 0, 0.7);
color: #fff;
text-decoration: none;
border-radius: 6px;
font-size: 14px;
font-weight: bold;
transition: all 0.3s ease;
border: 2px solid rgba(255, 255, 255, 0.2);
}
.homepage-link a:hover {
background: rgba(255, 255, 255, 0.9);
color: #23232b;
border-color: rgba(255, 255, 255, 0.8);
transform: translateY(-1px);
}