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

121 lines
2.1 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.8);
}
.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 .tooltip-image {
width: 80px;
height: 80px;
border-radius: 50%; /* Circular image */
border: 2px solid white;
}
.dot-tooltip .tooltip-title {
font-size: 12px;
font-weight: light;
margin-top: 8px;
text-align: center;
text-wrap: balanced;
}
.dot-tooltip .tooltip-description {
font-size: 14px;
font-weight: thin;
margin-bottom: 4px;
}
.dot-tooltip .tooltip-arrow {
fill: rgba(0, 0, 0, 0.8);
}