You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

184 lines
3.7 KiB

.home-hero {
margin: 40px 20px 40px;
/* background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(12px); */
text-align: center;
}
.avatar-container {
width: 120px;
height: 120px;
margin: 0 auto;
position: relative;
}
.avatar-container .author {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 20px;
font-weight: bold;
}
.avatar-container:hover .avatar {
transform: rotate(360deg);
left: 100%;
}
.avatar {
position: relative;
width: 100%;
height: 100%;
border-radius: 50%;
cursor: pointer;
left: 0;
transform-origin: center center;
transition: 0.5s transform ease-in-out, 0.5s left ease-in-out;
}
.card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(12px);
border-radius: 8px;
padding: 20px;
width: 300px;
margin: 0 auto;
margin-bottom: 40px;
text-align: center;
}
.time-line {
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
}
.time-line:before {
content: "";
width: 3px;
height: 100%;
background: rgba(255, 255, 255, 0.37);
backdrop-filter: blur(12px);
left: 50%;
top: 0;
position: absolute;
transform: translateX(-50%);
}
.time-line::after {
content: "";
position: absolute;
left: 50%;
top: 100%;
width: 0;
height: 0;
border-top: 12px solid rgba(255, 255, 255, 0.37);
border-right: 7px solid transparent;
border-left: 7px solid transparent;
backdrop-filter: blur(12px);
transform: translateX(-50%);
}
.time-line a {
color: rgb(219, 255, 121);
text-decoration: underline;
font-weight: 600;
transition: color 0.2s, background 0.2s;
border-radius: 8px;
padding: 1px 4px;
}
.time-line a:hover {
color: #fff;
background: linear-gradient(90deg, #7ec6f7 0%, #ff8ca8 100%);
text-decoration: none;
}
.time-line-item {
color: white;
width: 900px;
margin: 20px auto;
position: relative;
}
.time-line-item:first-child {
margin-top: 0;
}
.time-line-item:last-child {
margin-bottom: 50px;
}
.timeline-icon {
position: absolute;
width: 100px;
height: 50px;
background-color: #ee4d4d7a;
backdrop-filter: blur(12px);
left: 50%;
top: 0;
transform: translateX(-50%);
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, Helvetica, sans-serif;
}
.time-line-item-title {
background-color: #ee4d4d7a;
backdrop-filter: blur(12px);
height: 50px;
line-height: 50px;
padding: 0 20px;
}
.time-line-item:nth-child(odd) .time-line-item-content {
color: white;
width: 50%;
padding-right: 80px;
}
.time-line-item:nth-child(odd) .time-line-item-content::before {
content: "";
position: absolute;
left: calc(50% - 80px);
top: 20px;
width: 0;
height: 0;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-left: 7px solid #ee4d4d7a;
backdrop-filter: blur(12px);
}
.time-line-item:nth-child(even) .time-line-item-content {
float: right;
width: 50%;
padding-left: 80px;
}
.time-line-item:nth-child(even) .time-line-item-content::before {
content: "";
position: absolute;
right: calc(50% - 80px);
top: 20px;
width: 0;
height: 0;
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
border-right: 7px solid #ee4d4d7a;
backdrop-filter: blur(12px);
}
.time-line-item-desc {
background-color: #ffffff54;
backdrop-filter: blur(12px);
color: #fff;
padding: 20px;
line-height: 1.4;
}
@media screen and (max-width: 768px) {
.home-hero {
margin: 0;
margin-top: 20px;
}
}