模板:Main page/featured/styles.css:修订间差异

来自决策链云智库
无编辑摘要
无编辑摘要
标签手工回退
第1行: 第1行:
#home-featured {
#home-featured {
overflow: hidden;
    overflow: hidden;
}
}


#home-featured .home-card__background a {
#home-featured .home-card__background a {
display: block;
    display: block;
height: 100%;
    height: 100%;
}
}


#home-featured .home-card__background:after {
#home-featured .home-card__background:after {
position: absolute;
    position: absolute;
pointer-events: none;
    pointer-events: none;
right: 0;
    right: 0;
bottom: 0;
    bottom: 0;
left: 0;
    left: 0;
display: block;
    display: block;
height: 100%;
    height: 100%;
background: transparent;
    background: linear-gradient( to top, #000, transparent );
border-radius: 0 0 8px 8px;
    border-radius: 0 0 8px 8px;
content: '';
    content: '';
}
}


#home-featured .home-card__foreground {
#home-featured .home-card__foreground {
pointer-events: none;
    pointer-events: none;
right: 15px;
    right: 15px;
bottom: 15px;
    bottom: 15px;
left: 15px;
    left: 15px;
background: transparent;
}
 
#home-featured .home-card__label {
    color: #000;
}
 
#home-featured .home-card__header {
    color: #000;
}
}

2023年12月11日 (一) 17:28的版本

#home-featured {
    overflow: hidden;
}

#home-featured .home-card__background a {
    display: block;
    height: 100%;
}

#home-featured .home-card__background:after {
    position: absolute;
    pointer-events: none;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    height: 100%;
    background: linear-gradient( to top, #000, transparent );
    border-radius: 0 0 8px 8px;
    content: '';
}

#home-featured .home-card__foreground {
    pointer-events: none;
    right: 15px;
    bottom: 15px;
    left: 15px;
}