support-temp / style.css
Jikkii's picture
Update
d9b4284
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}
h1 {
font-size: 16px;
margin-top: 0;
}
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid lightgray;
border-radius: 16px;
}
.card p:last-child {
margin-bottom: 0;
}
.commit-timeline {
display: flex;
flex-direction: row;
}
/* Container for the vertical line and nodes */
.commit-tree {
position: absolute;
height: 42.5rem; /* Full viewport height */
width: calc(100% - 600px);
bottom: 80px;
animation: fade-in ease 1s;
}
@media (width <= 1300px) {
.commit-tree {
visibility: hidden;
opacity: 0;
}
}
/* Vertical line using pseudo-element */
.commit-tree::before {
content: '';
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 4px;
background: linear-gradient(rgb(17 24 39 / var(--tw-bg-opacity, 1)) 0%, #e5e7eb 50%, #e5e7eb 100%);
}
/* Commit node styling */
.commit-node {
position: absolute;
right: 0;
transform: translateX(4px);
width: 12px;
height: 12px;
background-color: #e5e7eb; /* Blue circle */
border-radius: 50%;
cursor: pointer;
z-index: 1;
display: flex;
flex-direction: row;
}
.outer_svg {
}
/* Tooltip styling */
.tooltip {
width: 350px;
text-align: center;
border-radius: 6px;
padding: 8px;
position: absolute;
z-index: 2;
left: 120%; /* Position to the right of the node */
top: 50%;
transform: translateY(-50%);
white-space: nowrap;
font-size: 14px;
transition: all 0.3s;
}
.tooltip:hover {
width: 500px;
}
.tooltip .title {
height: 2.6rem;
transition: all 0.3s;
}
.tooltip:hover .title {
height: 4.25rem;
}
.tooltip .desc {
visibility: hidden;
transition: all 0.3s;
opacity: 0;
}
.tooltip:hover .desc {
visibility: visible;
opacity: 1;
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}