中医百科:首页/styles.css:修订间差异
< 中医百科:首页
删除的内容 添加的内容
小无编辑摘要 |
小无编辑摘要 |
||
第37行: | 第37行: | ||
* 分割线 |
* 分割线 |
||
******************************/ |
******************************/ |
||
.wrapper { |
|||
.title-clip{ |
|||
padding-bottom: 90px; |
|||
font-size: 0.35rem; |
|||
color: steelblue; |
|||
overflow: hidden; |
|||
} |
} |
||
.divider { |
|||
.title-clip::before,.title-clip::after{ |
|||
position: relative; |
|||
margin-top: 90px; |
|||
⚫ | |||
height: 1px; |
height: 1px; |
||
box-shadow: 0 0 0 249.975rem #ccc; |
|||
vertical-align: middle; |
|||
} |
} |
||
. |
.div-transparent:before { |
||
content: ""; |
|||
position: absolute; |
|||
clip-path: polygon(0 0, -249.975rem 0, -249.975rem 100%, 0 100%); |
|||
top: 0; |
|||
left: 10%; |
|||
right: 10%; |
|||
⚫ | |||
height: 1px; |
|||
background-image: linear-gradient(to right, transparent, darkgrey, transparent); |
|||
} |
|||
.div-arrow-down:after { |
|||
content: ""; |
|||
position: absolute; |
|||
z-index: 1; |
|||
top: -7px; |
|||
left: calc(50% - 7px); |
|||
width: 14px; |
|||
height: 14px; |
|||
transform: rotate(45deg); |
|||
background-color: white; |
|||
border-bottom: 1px solid darkgrey; |
|||
border-right: 1px solid darkgrey; |
|||
} |
|||
.div-tab-down:after { |
|||
content: ""; |
|||
position: absolute; |
|||
z-index: 1; |
|||
top: 0; |
|||
left: calc(50% - 10px); |
|||
width: 20px; |
|||
height: 14px; |
|||
background-color: white; |
|||
border-bottom: 1px solid darkgrey; |
|||
border-left: 1px solid darkgrey; |
|||
border-right: 1px solid darkgrey; |
|||
border-radius: 0 0 8px 8px; |
|||
} |
|||
.div-stopper:after { |
|||
content: ""; |
|||
position: absolute; |
|||
z-index: 1; |
|||
top: -6px; |
|||
left: calc(50% - 7px); |
|||
width: 14px; |
|||
height: 12px; |
|||
background-color: white; |
|||
border-left: 1px solid darkgrey; |
|||
border-right: 1px solid darkgrey; |
|||
} |
} |
||
. |
.div-dot:after { |
||
content: ""; |
|||
position: absolute; |
|||
clip-path: polygon(0 0, 249.975rem 0, 249.975rem 100%, 0 100%); |
|||
z-index: 1; |
|||
top: -9px; |
|||
left: calc(50% - 9px); |
|||
width: 18px; |
|||
height: 18px; |
|||
background-color: goldenrod; |
|||
border: 1px solid darkgrey; |
|||
border-radius: 50%; |
|||
box-shadow: inset 0 0 0 2px white, 0 0 0 4px white; |
|||
} |
} |
2022年7月1日 (五) 17:33的版本
/******************************
* Styles for mobile main page
******************************/
@media all and (min-width: 768px) {
.wikidata-mainpage-column {
float: left;
width: 50%;
}
.wikidata-mainpage-column-first {
padding-right: 5px;
}
.wikidata-mainpage-column-second {
padding-left: 5px;
}
.wikidata-mainpage-sister-projects {
text-align: center;
}
}
/**
* Hide title on main pages, village pumps and project chats
*
* @author
* @maintainer
*/
body.action-view .firstHeading {
display: none;
}
body.action-view #contentSub {
display: none;
}
/******************************
* 分割线
******************************/
.wrapper {
padding-bottom: 90px;
}
.divider {
position: relative;
margin-top: 90px;
height: 1px;
}
.div-transparent:before {
content: "";
position: absolute;
top: 0;
left: 10%;
right: 10%;
width: 80%;
height: 1px;
background-image: linear-gradient(to right, transparent, darkgrey, transparent);
}
.div-arrow-down:after {
content: "";
position: absolute;
z-index: 1;
top: -7px;
left: calc(50% - 7px);
width: 14px;
height: 14px;
transform: rotate(45deg);
background-color: white;
border-bottom: 1px solid darkgrey;
border-right: 1px solid darkgrey;
}
.div-tab-down:after {
content: "";
position: absolute;
z-index: 1;
top: 0;
left: calc(50% - 10px);
width: 20px;
height: 14px;
background-color: white;
border-bottom: 1px solid darkgrey;
border-left: 1px solid darkgrey;
border-right: 1px solid darkgrey;
border-radius: 0 0 8px 8px;
}
.div-stopper:after {
content: "";
position: absolute;
z-index: 1;
top: -6px;
left: calc(50% - 7px);
width: 14px;
height: 12px;
background-color: white;
border-left: 1px solid darkgrey;
border-right: 1px solid darkgrey;
}
.div-dot:after {
content: "";
position: absolute;
z-index: 1;
top: -9px;
left: calc(50% - 9px);
width: 18px;
height: 18px;
background-color: goldenrod;
border: 1px solid darkgrey;
border-radius: 50%;
box-shadow: inset 0 0 0 2px white, 0 0 0 4px white;
}