thats-me/dot-line-system/.history/src/style_20250522112612.css
Kevin Adametz c62234e1ca docker setup
# Conflicts:
#	.gitignore
#	backend/vite.config.js
#	frontend/package-lock.json
2026-03-06 13:46:43 +01:00

140 lines
No EOL
2.4 KiB
CSS

body {
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
font-size: 16px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
margin: 0;
padding: 0;
box-sizing: border-box;
overflow-x: hidden;
}
.controls {
display: flex;
justify-content: space-between;
width: 100%;
max-width: 500px;
margin-bottom: 10px;
}
.button {
padding: 6px 12px;
background-color: #4f46e5;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.visualization-container {
position: absolute;
width: 100vw;
height: 100vh;
overflow-x: hidden;
overflow-y: hidden;
left: 0;
right: 0;
margin-left: calc(-50vw + 50%);
}
.gradient-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
min-width: 100%;
background: linear-gradient(to bottom, #4f46e5, #60a5fa, #4ade80);
z-index: -1;
}
.median {
position: fixed;
top: 50%;
left: 0;
height: 1px;
width: 100%;
z-index: -1;
background-color: rgba(255, 255, 255, 0.1);
}
.scroll-container {
position: relative;
height: 100%;
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
}
.scroll-container:active {
cursor: grabbing;
/* Change cursor when active */
}
.spacer {
height: 100vh;
}
.dot-tooltip .tooltip-background {
fill: rgba(0, 0, 0, 0.0);
}
.dot-tooltip .tooltip-content {
display: flex;
flex-direction: column;
justify-content: center;
/* Center vertically */
align-items: center;
/* Center horizontally */
width: 100%;
height: 100%;
color: white;
/* Text color */
}
.dot-tooltip .image_container {
margin-top: 8px;
}
.dot-tooltip .tooltip-image {
width: auto;
height: 100%;
}
.dot-tooltip .tooltip-title {
font-size: 12px;
font-weight: 300;
margin-bottom: 2px;
text-align: center;
text-wrap: balance;
hyphens: auto;
}
.dot-tooltip .tooltip-description {
font-size: 12px;
font-weight: 200;
}
.dot-tooltip .image_container {
width: 80px;
height: 80px;
overflow: hidden;
border-radius: 50%;
border: 2px solid white;
}
.dot-tooltip .tooltip-arrow {
/* fill: rgba(255, 255, 255, 1); */
/* fill: linear-gradient(to right, transparent, black, transparent); */
width: 1px;
height: 20px;
background: linear-gradient(to bottom, transparent, white, transparent);
}