cs-2022-class-profile/components/Timeline.module.css

79 lines
1.3 KiB
CSS

.wrapper {
position: relative;
}
.line {
position: absolute;
width: 5px;
background-color: var(--secondary-accent);
}
.timelineSections {
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
gap: 20px;
}
.timelineSection {
width: 100%;
height: inherit;
display: flex;
flex-direction: row;
justify-content: center;
}
.time {
margin: 0px;
text-align: right;
font-size: 30px;
font-weight: 700;
color: var(--secondary-accent);
word-wrap: break-word;
}
.timeHover {
color: var(--secondary-accent-light);
}
.circle {
margin-left: 2px;
width: 30px;
height: 30px;
border-radius: 30px;
background-color: var(--secondary-accent);
box-shadow: 0px 0px 30px var(--secondary-accent);
display: flex;
justify-content: center;
align-items: center;
}
.innerCircle {
width: 15px;
height: 15px;
border-radius: 15px;
background-color: var(--label);
}
.text {
position: absolute;
margin: 0px;
font-size: 20px;
font-weight: 700;
color: var(--label);
background-color: var(--card-background);
position: relative;
height: fit-content;
word-wrap: break-word;
border-radius: 10px;
padding: 5px;
box-sizing: border-box;
}
.textHover {
border: 2px solid var(--secondary-accent-light);
box-shadow: 0px 0px 20px var(--secondary-accent);
}