Files
website/style/join.css
T

157 lines
2.7 KiB
CSS
Raw Normal View History

2026-03-29 09:33:09 +08:00
.join-main-1 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
background: linear-gradient(180deg, rgba(6, 119, 161, .3) 0%, rgba(0, 0, 0, .8) 100%);
color: white;
}
.join-main-1 .container {
height: auto;
padding: 0 1.5rem;
}
.join-main-1 h4 {
position: relative;
color: #ffc000;
font-size: 1.4rem;
line-height: 2rem;
font-weight: bold;
}
.join-main-1 h4::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid #ffc000;
position: absolute;
top: .4rem;
left: -1.5rem;
}
.join-main-1 h5 {
position: relative;
padding-top: 1rem;
color: #ffc000;
font-size: 1rem;
font-weight: bold;
}
.join-main-1 li {
position: relative;
padding: .2rem 0 .2rem .8rem;
opacity: .9;
font-size: .9rem;
line-height: 1.3rem;
}
.join-main-1 li::after {
content: '';
position: absolute;
left: 0;
top: .8em;
width: 5px;
height: 5px;
background-color: white;
border-radius: 50%;
}
.join-main-1 li i {
display: none;
position: absolute;
left: 0;
top: .2rem;
}
.join-main-1 span {
display: block;
padding-bottom: 1rem;
opacity: .9;
}
.join-main-2 {
z-index: 8;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
background: linear-gradient(180deg, rgba(6, 119, 161, .3) 0%, rgba(0, 0, 0, .8) 100%);
color: white;
}
.join-main-2 .container {
padding: 1.5rem 1rem;
}
.join-main-2 h4 {
position: relative;
padding: 0 0 1rem .5rem;
color: #ffc000;
font-size: 1.2rem;
line-height: 1.4rem;
font-weight: bold;
}
.join-main-2 h4::after {
content: '';
width: 0px;
height: 0px;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
border-left: 16px solid #ffc000;
position: absolute;
top: .2rem;
left: -1rem;
}
.dna-items {
position: absolute;
top: 50%;
left: 1rem;
right: 1rem;
transform: translateY(-50%);
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
}
.dna-items h4 {
width: 100%;
}
.item {
width: 50%;
margin: .5rem 0 1rem 0;
}
.item:nth-child(2n+2) {
padding: 0 .5rem;
}
.item h5 {
font-size: 1.2rem;
font-weight: bold;
margin: 0 0 .2rem 0;
color: #bfebf3;
}
.item p {
position: relative;
padding: .15rem 0;
opacity: .8;
margin-bottom: 0;
font-size: 1rem;
}
.join-main-2 .tips {
padding-top: .5rem;
word-break: break-all;
color: #ffc000;
}
@media (max-width: 767.98px) {
.item {
margin-bottom: .5rem;
}
.item h5 {
font-size: 1.2rem;
}
.join-main-1 li,
.item p {
font-size: .9rem;
}
}