有觉性 以安住且中立的心 照见身心的实相
MediaWiki:Timeless.css:修订间差异
来自Dhamma.cn
小无编辑摘要 |
小无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* | /* ========================================================================== | ||
Timeless Skin Customizations | |||
========================================================================== */ | |||
/* ========================================================================== | |||
Layout | |||
========================================================================== */ | |||
/* | /* Unlimited content width (Enable if needed) */ | ||
/* | /* | ||
@media | @media (min-width: 851px) { | ||
.color-middle-container, | .color-middle-container, | ||
.ts-inner { max-width: none; } | .ts-inner { | ||
max-width: none; | |||
} | |||
} | } | ||
*/ | */ | ||
/* ========================================================================== | |||
Typography | |||
========================================================================== */ | |||
/* | /* Modern UI font stack */ | ||
#mw-header *, | #mw-header *, | ||
#mw-site-navigation *, | #mw-site-navigation *, | ||
#mw-related-navigation * | #mw-related-navigation * { | ||
font-family: | |||
"Segoe UI", | |||
"Segoe UI Emoji", | |||
"Segoe UI Symbol", | |||
"Lato", | |||
"Liberation Sans", | |||
"Noto Sans", | |||
"Helvetica Neue", | |||
Helvetica, | |||
Arial, | |||
sans-serif; | |||
} | |||
/* Page title */ | |||
#content h1 { | |||
color: #000; | |||
font-size: 1.125rem; /* 18px */ | |||
font-weight: 600; | |||
} | |||
/* | |||
/* ========================================================================== | |||
Personal Menu | |||
========================================================================== */ | |||
/* Prevent clipping of g, j, p, q, y */ | |||
#personal h2 span { | #personal h2 span { | ||
display: inline-block; | |||
height: 1.5em; | height: 1.5em; | ||
position:relative; | line-height: 1.5; | ||
bottom: | position: relative; | ||
bottom: .08em; | |||
} | } | ||
/* | /* Dropdown triangle alignment */ | ||
#personal h2::after { | #personal h2::after { | ||
position: relative; | |||
bottom: .45em; | |||
} | } | ||
/* ========================================================================== | |||
Heading Highlight | |||
/* Highlight | ========================================================================== */ | ||
.mw-headline:target { | .mw-headline:target { | ||
background: #fde68a; /* Tailwind amber-200 */ | |||
border-radius: .25rem; | |||
padding: 0 .15em; | |||
transition: background-color .2s ease; | |||
} | } | ||
/* | /* ========================================================================== | ||
Optional Content Font | |||
========================================================================== */ | |||
/* | |||
body { | |||
color: #5a7425; | |||
font-size: .875rem; | |||
font-family: "Courier New", monospace; | |||
} | |||
*/ | |||
/* ===== | /* ========================================================================== | ||
Anonymous User Restrictions | |||
========================================================================== */ | |||
/* Hide Special links in navigation only */ | /* Hide Special: links in navigation only */ | ||
body.anonymous #mw-site-navigation a[href*="/wiki/Special:"], | body.anonymous #mw-site-navigation a[href*="/wiki/Special:"], | ||
body.anonymous #mw-related-navigation a[href*="/wiki/Special:"], | body.anonymous #mw-related-navigation a[href*="/wiki/Special:"], | ||
body.anonymous #p-personal a[href*="/wiki/Special:"], | body.anonymous #p-personal a[href*="/wiki/Special:"], | ||
body.anonymous a[href*="title=Special:"]{ | body.anonymous a[href*="title=Special:"] { | ||
display:none!important; | display: none !important; | ||
} | } | ||
/* Hide History tab */ | /* Hide History tab */ | ||
body.anonymous #ca-history{ | body.anonymous #ca-history { | ||
display:none!important; | display: none !important; | ||
} | } | ||
/* Hide Toolbox */ | /* Hide Toolbox */ | ||
body.anonymous #p-tb{ | body.anonymous #p-tb { | ||
display:none!important; | display: none !important; | ||
} | } | ||
2026年7月18日 (六) 00:44的版本
/* ==========================================================================
Timeless Skin Customizations
========================================================================== */
/* ==========================================================================
Layout
========================================================================== */
/* Unlimited content width (Enable if needed) */
/*
@media (min-width: 851px) {
.color-middle-container,
.ts-inner {
max-width: none;
}
}
*/
/* ==========================================================================
Typography
========================================================================== */
/* Modern UI font stack */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation * {
font-family:
"Segoe UI",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Lato",
"Liberation Sans",
"Noto Sans",
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
}
/* Page title */
#content h1 {
color: #000;
font-size: 1.125rem; /* 18px */
font-weight: 600;
}
/* ==========================================================================
Personal Menu
========================================================================== */
/* Prevent clipping of g, j, p, q, y */
#personal h2 span {
display: inline-block;
height: 1.5em;
line-height: 1.5;
position: relative;
bottom: .08em;
}
/* Dropdown triangle alignment */
#personal h2::after {
position: relative;
bottom: .45em;
}
/* ==========================================================================
Heading Highlight
========================================================================== */
.mw-headline:target {
background: #fde68a; /* Tailwind amber-200 */
border-radius: .25rem;
padding: 0 .15em;
transition: background-color .2s ease;
}
/* ==========================================================================
Optional Content Font
========================================================================== */
/*
body {
color: #5a7425;
font-size: .875rem;
font-family: "Courier New", monospace;
}
*/
/* ==========================================================================
Anonymous User Restrictions
========================================================================== */
/* Hide Special: links in navigation only */
body.anonymous #mw-site-navigation a[href*="/wiki/Special:"],
body.anonymous #mw-related-navigation a[href*="/wiki/Special:"],
body.anonymous #p-personal a[href*="/wiki/Special:"],
body.anonymous a[href*="title=Special:"] {
display: none !important;
}
/* Hide History tab */
body.anonymous #ca-history {
display: none !important;
}
/* Hide Toolbox */
body.anonymous #p-tb {
display: none !important;
}
