Xarkanoth (talk | contribs)
No edit summary
Xarkanoth (talk | contribs)
No edit summary
Line 56: Line 56:
   display: block;
   display: block;
   margin: 0 auto;
   margin: 0 auto;
}
/* ===== Header Search (uses the existing skin search form) ===== */
body.skin-holdfast .hf-sidebar .hf-search {
  position: fixed;
  top: 40px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  margin: 0;
  z-index: 1001;
}
body.skin-holdfast .hf-sidebar .hf-search form,
body.skin-holdfast .hf-sidebar .hf-search .search {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 32px;
  margin: 0;
}
body.skin-holdfast .hf-sidebar .hf-search input[type="search"],
body.skin-holdfast .hf-sidebar .hf-search input[type="text"] {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #BFB69C;
  border-right: none;
  background: #EEEDEB;
  color: #1E1E1D;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  padding: 6px 10px;
}
body.skin-holdfast .hf-sidebar .hf-search input[type="search"]:focus,
body.skin-holdfast .hf-sidebar .hf-search input[type="text"]:focus {
  outline: 2px solid #C9A227;
  outline-offset: 0;
}
body.skin-holdfast .hf-sidebar .hf-search input[type="submit"],
body.skin-holdfast .hf-sidebar .hf-search button {
  border: 1px solid #BFB69C;
  background: #C9A227;
  color: #1E1E1D;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}
body.skin-holdfast .hf-sidebar .hf-search input[type="submit"]:hover,
body.skin-holdfast .hf-sidebar .hf-search button:hover {
  background: #E0BA3A;
}
@media (max-width: 768px) {
  body.skin-holdfast .hf-sidebar .hf-search {
    top: 52px;
    right: 16px;
    width: min(320px, calc(100vw - 32px));
  }
}
}



Revision as of 18:54, 3 July 2026

/* CSS placed here will be applied to all skins */
body.skin-holdfast .hf-upcoming-release-image {
  flex: 0 0 320px;
  max-width: 320px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

body.skin-holdfast .hf-upcoming-release-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.toc,
#toc,
.toctoggle,
.mw-table-of-contents-container {
  display: none !important;
}

.wn-task-table td {
  vertical-align: top;
}

.wn-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

/* Status colors */
.wn-task.wn-status-not-started .wn-status-cell {
  color: #b00020;
  font-weight: bold;
}

.wn-task.wn-status-in-progress .wn-status-cell {
  color: #b26a00;
  font-weight: bold;
}

.wn-task.wn-status-done .wn-status-cell {
  color: #1b7f3a;
  font-weight: bold;
}

.hf-social-card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ===== Header Search (uses the existing skin search form) ===== */
body.skin-holdfast .hf-sidebar .hf-search {
  position: fixed;
  top: 40px;
  right: 24px;
  width: 320px;
  max-width: calc(100vw - 48px);
  margin: 0;
  z-index: 1001;
}

body.skin-holdfast .hf-sidebar .hf-search form,
body.skin-holdfast .hf-sidebar .hf-search .search {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 32px;
  margin: 0;
}

body.skin-holdfast .hf-sidebar .hf-search input[type="search"],
body.skin-holdfast .hf-sidebar .hf-search input[type="text"] {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #BFB69C;
  border-right: none;
  background: #EEEDEB;
  color: #1E1E1D;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
  padding: 6px 10px;
}

body.skin-holdfast .hf-sidebar .hf-search input[type="search"]:focus,
body.skin-holdfast .hf-sidebar .hf-search input[type="text"]:focus {
  outline: 2px solid #C9A227;
  outline-offset: 0;
}

body.skin-holdfast .hf-sidebar .hf-search input[type="submit"],
body.skin-holdfast .hf-sidebar .hf-search button {
  border: 1px solid #BFB69C;
  background: #C9A227;
  color: #1E1E1D;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
}

body.skin-holdfast .hf-sidebar .hf-search input[type="submit"]:hover,
body.skin-holdfast .hf-sidebar .hf-search button:hover {
  background: #E0BA3A;
}

@media (max-width: 768px) {
  body.skin-holdfast .hf-sidebar .hf-search {
    top: 52px;
    right: 16px;
    width: min(320px, calc(100vw - 32px));
  }
}

/* ===== Server Hosting: Admin, Ban & Mute Files ===== */
.hf-admin-files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.hf-admin-file-card {
  background: #F2F0EA;
  border: 1px solid #d5d0c8;
  border-left: 4px solid #BFB69C;
  padding: 12px 14px;
}

.hf-admin-file-card-important {
  border-left-color: #C9A227;
}

.hf-admin-file-name {
  color: #886D00;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: 4px;
}

.hf-admin-file-desc {
  color: #1E1E1D;
  font-size: 13px;
  line-height: 18px;
}

.hf-admin-file-note {
  background: #FFF8DC;
  border: 1px solid #C9A227;
  border-radius: 4px;
  color: #1E1E1D;
  margin-top: 16px;
  padding: 12px 14px;
}

/* ===== Known Issues & Solutions Page ===== */
body.skin-holdfast[class*="page-Known_Issues"] .hf-content {
  width: auto;
  height: auto;
  margin-top: 40px;
  padding: 40px 0 0 0;
  overflow: visible;
  display: flex;
  justify-content: center;
}

body.skin-holdfast[class*="page-Known_Issues"] .mw-body-content {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

body.skin-holdfast[class*="page-Known_Issues"] .mw-parser-output {
  width: 100%;
  display: flex;
  justify-content: center;
}

body.skin-holdfast[class*="page-Known_Issues"] #toc,
body.skin-holdfast[class*="page-Known_Issues"] #firstHeading {
  display: none;
}

/* ===== Server Config Templates Page ===== */
/* Body selectors cover direct article/template views. The wrapper class below
   keeps the code colors working anywhere the template is transcluded. */
body.skin-holdfast[class*="Server_Config_Templates"] .hf-content {
  width: auto;
  height: auto;
  margin-top: 40px;
  padding: 40px 0 0 0;
  overflow: visible;
  display: flex;
  justify-content: center;
}

body.skin-holdfast[class*="Server_Config_Templates"] .mw-body-content,
body.skin-holdfast[class*="Server_Config_Templates"] .mw-parser-output {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
}

body.skin-holdfast[class*="Server_Config_Templates"] #toc,
body.skin-holdfast[class*="Server_Config_Templates"] #firstHeading {
  display: none;
}

/* Collapsible template headings inside Server Config Templates */
.hf-server-config-templates-page .hf-issue-block {
  border: 1px solid #d5d0c8;
  background: #EEEDEB;
  margin: 0.8em 0;
  position: relative;
}

.hf-server-config-templates-page .hf-issue-heading {
  background: #F2F0EA !important;
  color: #886D00 !important;
  border-left: 4px solid #C9A227;
  border-bottom: 1px solid #BFB69C;
  padding: 10px 96px 10px 14px;
  font-weight: 700;
  line-height: 20px;
}

.hf-server-config-templates-page .hf-issue-heading a {
  color: #C9A227 !important;
}

.hf-server-config-templates-page .mw-collapsible-toggle {
  color: #C9A227 !important;
  float: none !important;
  position: absolute !important;
  top: 0;
  right: 14px;
  left: auto !important;
  min-height: 40px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 20px;
  margin: 0 !important;
  z-index: 2;
}

.hf-server-config-templates-page .mw-collapsible-content {
  padding: 12px 14px;
}

/* Code blocks inside Server Config Templates */
.hf-server-config-templates-page .hf-relpage-section-body pre,
.hf-server-config-templates-page .hf-relpage-section-body .hf-code,
body.skin-holdfast[class*="Server_Config_Templates"] .hf-relpage-section-body pre,
body.skin-holdfast[class*="Server_Config_Templates"] .hf-relpage-section-body .hf-code {
  background: #1c1a18 !important;
  color: #e5e7eb !important;
  padding: .8em 1em;
  border-radius: .6em;
  overflow: auto;
  line-height: 1.45;
  font-size: .9em;
  border: 1px solid #3d3632;
  margin: 0.8em 0;
}

.hf-server-config-templates-page .hf-relpage-section-body code,
body.skin-holdfast[class*="Server_Config_Templates"] .hf-relpage-section-body code {
  background: #2d2926 !important;
  color: #e2c275 !important;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
}