Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
/* How do I remove a tab on only one page? */ | /* How do I remove a tab on only one page? */ | ||
− | body.page-Main_Page li#ca-talk { display: none !important; } | + | body.page-Main_Page li#ca-talk { |
+ | display: none !important; | ||
+ | } | ||
/* added by huangyp on 2020.3.27 to hide viewsource page*/ | /* added by huangyp on 2020.3.27 to hide viewsource page*/ | ||
− | #ca-viewsource { display:none!important; } | + | #ca-viewsource { |
+ | display: none !important; | ||
+ | } | ||
/* The following is customed by huang from Geekworm team */ | /* The following is customed by huang from Geekworm team */ | ||
− | .tb_red { color: #ff0000; } | + | .tb_red { |
+ | color: #ff0000; | ||
+ | } | ||
+ | |||
+ | .tb_red_bold { | ||
+ | color: #ff0000; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .tb_blue { | ||
+ | color: #0000ff; | ||
+ | } | ||
− | . | + | .tb_blue_bold { |
− | /* FAQ style */ | + | color: #ff0000; |
+ | font-weight: bold; | ||
+ | } | ||
+ | /* FAQ style */ | ||
− | + | details { | |
− | + | border: .05rem solid #448aff; | |
− | + | line-height: 1.6; | |
− | + | border-radius: .2rem; | |
− | + | box-shadow: var(--md-shadow-z1); | |
− | + | color: var(--md-admonition-fg-color); | |
− | + | display: flow-root; | |
− | + | margin: 1.5625em 0; | |
− | + | padding: 0 .6rem; | |
− | + | page-break-inside: avoid | |
} | } | ||
− | + | summary { | |
border-color: #64dd17; | border-color: #64dd17; | ||
− | + | background-color: #64dd171a; | |
− | + | border: none; | |
− | + | font-weight: 700; | |
− | + | margin: 0 -.6rem; | |
− | + | padding-bottom: .4rem; | |
− | + | padding-top: .4rem; | |
− | + | position: relative | |
} | } |
Revision as of 10:40, 20 July 2023
/* CSS placed here will be applied to all skins */
/* How do I remove a tab on only one page? */
body.page-Main_Page li#ca-talk {
display: none !important;
}
/* added by huangyp on 2020.3.27 to hide viewsource page*/
#ca-viewsource {
display: none !important;
}
/* The following is customed by huang from Geekworm team */
.tb_red {
color: #ff0000;
}
.tb_red_bold {
color: #ff0000;
font-weight: bold;
}
.tb_blue {
color: #0000ff;
}
.tb_blue_bold {
color: #ff0000;
font-weight: bold;
}
/* FAQ style */
details {
border: .05rem solid #448aff;
line-height: 1.6;
border-radius: .2rem;
box-shadow: var(--md-shadow-z1);
color: var(--md-admonition-fg-color);
display: flow-root;
margin: 1.5625em 0;
padding: 0 .6rem;
page-break-inside: avoid
}
summary {
border-color: #64dd17;
background-color: #64dd171a;
border: none;
font-weight: 700;
margin: 0 -.6rem;
padding-bottom: .4rem;
padding-top: .4rem;
position: relative
}