有觉性 以安住且中立的心 照见身心的实相

MediaWiki:Timeless.css:修订间差异

来自Dhamma.cn
法藏​(留言 | 贡献)
小无编辑摘要
法藏​(留言 | 贡献)
小无编辑摘要
第1行: 第1行:
/* 这里放置的CSS将应用于Timeless皮肤 */
/* ==========================================================================
  Timeless Skin Customizations
  ========================================================================== */


/* ==========================================================================
  Layout
  ========================================================================== */


/* 这里放置的CSS将应用于Timeless皮肤 */
/* Unlimited content width (Enable if needed) */
/* Indefinite content width
/*
@media screen and (min-width: 851px) {
@media (min-width: 851px) {
     .color-middle-container,
     .color-middle-container,
     .ts-inner { max-width: none; }
     .ts-inner {
        max-width: none;
    }
}
}
*/
*/




/* ==========================================================================
  Typography
  ========================================================================== */


/* Top bar font modernization */
/* Modern UI font stack */
#mw-header *,
#mw-header *,
#mw-site-navigation *,
#mw-site-navigation *,
#mw-related-navigation * { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif }
#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;
}


/* Avoid cutting off letters with descenders: g,j,p,q,y */
 
/* ==========================================================================
  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:0.1em
     position: relative;
     bottom: .08em;
}
}


/* Triangle position patch */
/* Dropdown triangle alignment */
#personal h2::after {
#personal h2::after {
  position: relative;
    position: relative;
  bottom: 0.5em;
    bottom: .45em;
}
}




 
/* ==========================================================================
 
  Heading Highlight
/* Highlight section title upon navigation */
  ========================================================================== */


.mw-headline:target {
.mw-headline:target {
  background-color: gold;
    background: #fde68a;      /* Tailwind amber-200 */
    border-radius: .25rem;
    padding: 0 .15em;
    transition: background-color .2s ease;
}
}




/*content font
/* ==========================================================================
 
  Optional Content Font
body { color: #5a7425; font-size: 14px; font-family: "Courier New"; }*/
  ========================================================================== */
 
 
#content h1 { color: #000000; font-size: 18px;}
 


/*
body {
    color: #5a7425;
    font-size: .875rem;
    font-family: "Courier New", monospace;
}
*/


/* ===== 游客隐藏 Special Pages ===== */


/* ===== Hide Special pages for anonymous users ===== */
/* ==========================================================================
  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;
}