ข้ามไปเนื้อหา

มีเดียวิกิ:Common.css

จาก docs.botbas.com

หมายเหตุ: หลังเผยแพร่ คุณอาจต้องล้างแคชเว็บเบราว์เซอร์ของคุณเพื่อดูการเปลี่ยนแปลง

  • ไฟร์ฟอกซ์ / ซาฟารี: กด Shift ค้างขณะคลิก Reload หรือกด Ctrl-F5 หรือ Ctrl-R (⌘-R บนแมค)
  • กูเกิล โครม: กด Ctrl-Shift-R (⌘-Shift-R บนแมค)
  • ไมโครซอฟท์ เอดจ์: กด Ctrl ค้างขณะคลิก Refresh หรือกด Ctrl-F5
/* สไตล์ชีตในหน้านี้จะส่งผลแก่ผู้ใช้ทุกสกิน */

/* Google Font: Prompt */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

/* Apply site-wide */
body, .mw-body, .mw-body-content,
p, li, div, span,
h1, h2, h3, h4, h5, h6,
input, textarea, select, button {
  font-family: "Prompt", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important;
}

/* ========== Botbas: Text title instead of logo ========== */

/* Hide logo image/icon (Vector 2022 + legacy) */
.mw-logo-icon,
.mw-wiki-logo,
#p-logo {
  display: none !important;
}

/* Optional: hide tagline if you don't want it */
.mw-logo-tagline {
  display: none !important;
}

/* Show a text title in the header (Vector 2022) */
.mw-header .mw-header-branding::before {
  content: "botbas docs";
  font-family: "Prompt", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  display: inline-block;
  margin-right: 12px;
}

/* If the skin shows a wordmark link, make it look like text */
.mw-logo-wordmark {
  display: none !important;
}

/* Clean TOC */
#toc, .toc {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 12px;
}
#toc li, .toc li { margin: 0.28em 0; }
#toc .tocnumber, .toc .tocnumber { display: none; } /* hide numbering */

/* Clean TOC */
#toc, .toc {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 12px;
}
#toc li, .toc li { margin: 0.28em 0; }
#toc .tocnumber, .toc .tocnumber { display: none; }