◆42Lab是非盈利性、非官方的云图计划维基百科。
◆诚邀指挥官们加入编辑部共同建设wiki。点这里加入42Lab
如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!
◆有任何意见、建议、纠错,欢迎在任意评论区评论
◆编辑讨论QQ群741423564 微博@GFwiki少前百科 欢迎您

“MediaWiki:Timeless.css”的版本间的差异

来自42LAB
(解决H2底边溢出的问题)
 
(未显示2个用户的4个中间版本)
第1行: 第1行:
 +
/* Site Notice */
 +
#siteNotice > div {border:0px;box-shadow:none;background-color:transparent}
  
 
/* Mobile Device Style */
 
/* Mobile Device Style */
第27行: 第29行:
 
.footer-icons img {margin-left:5px}
 
.footer-icons img {margin-left:5px}
 
div.sidebar-chunk{background-color:rgb(255 255 255 / .9) !important}
 
div.sidebar-chunk{background-color:rgb(255 255 255 / .9) !important}
 +
.mw-body h2 { display: flow-root; }
 
.mw-body .mw-parser-output>h3,.mw-body .mw-parser-output>h4{padding-left:1rem;position:relative}
 
.mw-body .mw-parser-output>h3,.mw-body .mw-parser-output>h4{padding-left:1rem;position:relative}
 
.mw-parser-output>h2>span,.mw-parser-output>h3>span,.mw-parser-output>h4>span{font-weight:bold;font-size:1.4rem}
 
.mw-parser-output>h2>span,.mw-parser-output>h3>span,.mw-parser-output>h4>span{font-weight:bold;font-size:1.4rem}

2023年6月26日 (一) 17:15的最新版本

/* Site Notice */
#siteNotice > div {border:0px;box-shadow:none;background-color:transparent}

/* Mobile Device Style */

@media screen and (max-device-width: 480px) and (orientation: portrait){
  html{font-size:small}



}

/* Optimize UI */
td.TablePager_col_thumb {
    background: #fff url(http://wiki.42lab.cloud/resources/src/mediawiki.action/images/checker.png?bdcf5) repeat;
    padding: 0;
    background-size: 20px;
}
@media screen and (min-width: 1100px) and (max-width: 1339px){
#mw-site-navigation, #mw-related-navigation {
    position:unset;
}
div#mw-content-wrapper {
    position: unset;
}
}
/* All CSS here will be loaded for users of the Timeless skin */

.footer-icons img {margin-left:5px}
div.sidebar-chunk{background-color:rgb(255 255 255 / .9) !important}
.mw-body h2 { display: flow-root; }
.mw-body .mw-parser-output>h3,.mw-body .mw-parser-output>h4{padding-left:1rem;position:relative}
.mw-parser-output>h2>span,.mw-parser-output>h3>span,.mw-parser-output>h4>span{font-weight:bold;font-size:1.4rem}
.mw-parser-output>h2>span>a,.mw-parser-output>h3>span>a,.mw-parser-output>h4>span>a{font-size: small;font-weight: normal;vertical-align: baseline;line-height: 1em;}
.mw-body .mw-parser-output>h2{padding-top:0.2rem;padding-bottom:0.2rem;padding-left: 11px;position: relative;}
.mw-body .mw-parser-output>h2 *{color:black}
.mw-body .mw-parser-output>h2 span.mw-headline{color: black;font-family: '思源黑体';font-weight: bold;position: relative;}
.mw-body .mw-parser-output>h2 span.mw-headline::before{content:"";display: block;background: orange;width: 10px;height: 10px;position: absolute;left: -11px;top:0px}
.mw-body .mw-parser-output>h2 span.mw-headline::after{content: "";display: block;background: #5BFDE4;width: calc(100% + 1.5rem);height: 9px;position: absolute;left: -1px;bottom: 1px;z-index: -1;}
.mw-body .mw-parser-output>h2{background: none;}
.mw-body .mw-parser-output>h2::before{content:"";display: block;position: absolute;width: 100%;height: 5px;background: #5BFDE4;bottom: 0px;left: 0px;}
.mw-body .mw-parser-output>h2::after{display:none !important;}
.mw-body .mw-parser-output>h2 a{background-image: url(/skins/Timeless/resources/images/pencil-grey.png?23255);background-repeat: no-repeat;background-position: left bottom;padding-left: 20px;padding-top: 0.5em;color:white}
.mw-body .mw-parser-output>h3 span,.mw-body .mw-parser-output>h4 span{ color:#466fc5}
.mw-body .mw-parser-output>h3::after{content:"";left:-1rem;position:relative;width:100%;display:block;height:2px;background-image:linear-gradient(to right,#466fc5 50%,transparent)}
a{color:#00a0e9}
a:visited{color:#88abda}
.template-documentation-header>span img {filter:invert(1)}

.mw-wiki-logo {
    background-size: 100%;
    height: 15rem !important;
    filter: invert(1);
}
#mw-content-container {
    background-image: url(/images/9/9a/42LAB.jpg);
    background-repeat: no-repeat;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
}
div#mw-content {
    background-color: rgb(255 255 255 / 97%);
}
a#p-banner {
    background: url(/images/3/3a/PNC_Corporation_42LAB_B.png);
    font-family: Mohave;
    background-position: center -12.2rem;
    background-size: 11rem;
    background-repeat: no-repeat;
    text-transform: uppercase;
    font-variant: none;
    font-size: 0rem;
    line-height: 1.85rem;
    margin-top:0.2rem;
}

div#mw-content {
    background-color: rgb(255 255 255 / 97%);
}
@media screen and (max-width: 850px){
    #p-logo-text a {
    padding-top: 0;
    position: absolute;
    left: 28%;
    top: 1.5rem;
    width: 40%;
    display: block;
    z-index: 100;
    background-position: center -12.5rem;}
}

element.style {
}
@media screen and (max-width: 850px){
#p-logo-text {
    position: static;
}}
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #555;
    color: white;
}
.color-middle,.color-left,.color-right {background-color:CYAN !important}

@media screen and (min-width: 851px){
html {
    height: 100%;
}
body {height: calc(100% - 6rem);}
}
@media screen and (min-width: 1100px){
html {
    height: 100%;
}
body {height: calc(100% - 5rem);}
}
.mw-footer *{
    word-break: keep-all;
}
div#mw-content-container {
    min-height: calc(100% - 9rem);
}

div#mw-wrapper {
    height: 100%;
}