158 lines
2.5 KiB
CSS
158 lines
2.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;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|