No edit summary |
No edit summary |
||
| Line 56: | Line 56: | ||
display: block; | display: block; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
/* ===== Factions Page ===== */ | |||
.hf-factions-page .hf-faction-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | |||
gap: 16px; | |||
margin-top: 18px; | |||
} | |||
.hf-factions-page .hf-faction-grid-small { | |||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |||
} | |||
.hf-factions-page .hf-faction-card { | |||
background: linear-gradient(180deg, #F2F0EA 0%, #EEEDEB 100%); | |||
border: 1px solid #d5d0c8; | |||
border-top: 4px solid #BFB69C; | |||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); | |||
color: #1E1E1D; | |||
display: flex; | |||
flex-direction: column; | |||
min-height: 230px; | |||
padding: 18px; | |||
} | |||
.hf-factions-page .hf-faction-card:hover { | |||
border-top-color: #C9A227; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14); | |||
} | |||
.hf-factions-page .hf-faction-crest { | |||
align-items: center; | |||
background: #FFFFFF; | |||
border: 1px solid #BFB69C; | |||
display: flex; | |||
height: 108px; | |||
justify-content: center; | |||
margin-bottom: 14px; | |||
} | |||
.hf-factions-page .hf-faction-crest img { | |||
max-height: 86px; | |||
width: auto; | |||
} | |||
.hf-factions-page .hf-faction-name { | |||
border-bottom: 1px solid #BFB69C; | |||
color: #886D00; | |||
font-size: 18px; | |||
font-weight: 700; | |||
line-height: 24px; | |||
margin-bottom: 10px; | |||
padding-bottom: 8px; | |||
} | |||
.hf-factions-page .hf-faction-note { | |||
color: #1E1E1D; | |||
font-size: 14px; | |||
line-height: 21px; | |||
} | } | ||
Revision as of 20:05, 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;
}
/* ===== Factions Page ===== */
.hf-factions-page .hf-faction-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 16px;
margin-top: 18px;
}
.hf-factions-page .hf-faction-grid-small {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hf-factions-page .hf-faction-card {
background: linear-gradient(180deg, #F2F0EA 0%, #EEEDEB 100%);
border: 1px solid #d5d0c8;
border-top: 4px solid #BFB69C;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
color: #1E1E1D;
display: flex;
flex-direction: column;
min-height: 230px;
padding: 18px;
}
.hf-factions-page .hf-faction-card:hover {
border-top-color: #C9A227;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.hf-factions-page .hf-faction-crest {
align-items: center;
background: #FFFFFF;
border: 1px solid #BFB69C;
display: flex;
height: 108px;
justify-content: center;
margin-bottom: 14px;
}
.hf-factions-page .hf-faction-crest img {
max-height: 86px;
width: auto;
}
.hf-factions-page .hf-faction-name {
border-bottom: 1px solid #BFB69C;
color: #886D00;
font-size: 18px;
font-weight: 700;
line-height: 24px;
margin-bottom: 10px;
padding-bottom: 8px;
}
.hf-factions-page .hf-faction-note {
color: #1E1E1D;
font-size: 14px;
line-height: 21px;
}
/* ===== Sidebar Current Page Highlight ===== */
body.skin-holdfast[class*="Beginner"] .hf-sidebar-list a[href*="Beginner"],
body.skin-holdfast[class*="User_Interface"] .hf-sidebar-list a[href*="User_Interface"],
body.skin-holdfast[class*="Factions"] .hf-sidebar-list a[href*="Factions"],
body.skin-holdfast[class*="Weapons"] .hf-sidebar-list a[href*="Weapons"],
body.skin-holdfast[class*="Game_Modes"] .hf-sidebar-list a[href*="Game_Modes"],
body.skin-holdfast[class*="Game_Types"] .hf-sidebar-list a[href*="Game_Types"],
body.skin-holdfast[class*="Maps"] .hf-sidebar-list a[href*="Maps"],
body.skin-holdfast[class*="Known_Issues"] .hf-sidebar-list a[href*="Known_Issues"],
body.skin-holdfast[class*="Frequently_Asked_Questions"] .hf-sidebar-list a[href*="Frequently_Asked_Questions"],
body.skin-holdfast[class*="FAQ"] .hf-sidebar-list a[href*="Frequently_Asked_Questions"],
body.skin-holdfast[class*="Shooting"] .hf-sidebar-list a[href*="Shooting"],
body.skin-holdfast[class*="Melee"] .hf-sidebar-list a[href*="Melee"],
body.skin-holdfast[class*="Artillery"] .hf-sidebar-list a[href*="Artillery"],
body.skin-holdfast[class*="Defences"] .hf-sidebar-list a[href*="Defences"],
body.skin-holdfast[class*="Horseback_Riding"] .hf-sidebar-list a[href*="Horseback_Riding"],
body.skin-holdfast[class*="Auxiliary"] .hf-sidebar-list a[href*="Auxiliary"],
body.skin-holdfast[class*="Orders"] .hf-sidebar-list a[href*="Orders"],
body.skin-holdfast[class*="Traits"] .hf-sidebar-list a[href*="Traits"],
body.skin-holdfast[class*="Naval_Combat"] .hf-sidebar-list a[href*="Naval_Combat"],
body.skin-holdfast[class*="Ships"] .hf-sidebar-list a[href*="Ships"],
body.skin-holdfast[class*="Musician_Tunes"] .hf-sidebar-list a[href*="Musician_Tunes"],
body.skin-holdfast[class*="Voice_Commands"] .hf-sidebar-list a[href*="Voice_Commands"],
body.skin-holdfast[class*="page-Command"] .hf-sidebar-list a[href*="Command"],
body.skin-holdfast[class*="Rank_and_File"] .hf-sidebar-list a[href*="Rank_and_File"],
body.skin-holdfast[class*="Skirmisher"] .hf-sidebar-list a[href*="Skirmisher"],
body.skin-holdfast[class*="Support"] .hf-sidebar-list a[href*="Support"],
body.skin-holdfast[class*="Cavalry"] .hf-sidebar-list a[href*="Cavalry"],
body.skin-holdfast[class*="Crewmen"] .hf-sidebar-list a[href*="Crewmen"],
body.skin-holdfast[class*="Linebattle"] .hf-sidebar-list a[href*="Linebattle"],
body.skin-holdfast[class*="Crews"] .hf-sidebar-list a[href*="Crews"],
body.skin-holdfast[class*="Organized_Events"] .hf-sidebar-list a[href*="Organized_Events"],
body.skin-holdfast[class*="Regiment_Schedule"] .hf-sidebar-list a[href*="Regiment_Schedule"],
body.skin-holdfast[class*="Regiment_Roster"] .hf-sidebar-list a[href*="Regiment_Roster"],
body.skin-holdfast[class*="SDK_user_guide"] .hf-sidebar-list a[href*="SDK_user_guide"],
body.skin-holdfast[class*="SDK_upgrade_guide"] .hf-sidebar-list a[href*="SDK_upgrade_guide"],
body.skin-holdfast[class*="Script_Modding_Guide"] .hf-sidebar-list a[href*="Script_Modding_Guide"],
body.skin-holdfast[class*="Map_Editing"] .hf-sidebar-list a[href*="Map_Editing"],
body.skin-holdfast[class*="Workshop_Discord"] .hf-sidebar-list a[href*="Workshop_Discord"],
body.skin-holdfast[class*="Mods_and_Consoles"] .hf-sidebar-list a[href*="Mods_and_Consoles"],
body.skin-holdfast[class*="Server_Hosting"] .hf-sidebar-list a[href*="Server_Hosting"],
body.skin-holdfast[class*="page-Server_Configuration"]:not([class*="Server_Configuration_Enums"]) .hf-sidebar-list a[href*="Server_Configuration"],
body.skin-holdfast[class*="Server_Config_Templates"] .hf-sidebar-list a[href*="Server_Config_Templates"],
body.skin-holdfast[class*="Spawnable_Props"] .hf-sidebar-list a[href*="Spawnable_Props"],
body.skin-holdfast[class*="Remote_Console_Commands"] .hf-sidebar-list a[href*="Remote_Console_Commands"],
body.skin-holdfast[class*="Server_Configuration_Enums"] .hf-sidebar-list a[href*="Server_Configuration_Enums"],
body.skin-holdfast[class*="Admin_Features"] .hf-sidebar-list a[href*="Admin_Features"] {
background: rgba(201, 162, 39, 0.22) !important;
border-left: 3px solid #C9A227;
color: #FFFFFF !important;
font-weight: 700 !important;
padding-left: 6px;
text-decoration: none;
}
/* ===== Linebattle Page ===== */
.hf-linebattle-page .hf-lb-hero {
background: linear-gradient(135deg, #2F2D2B 0%, #46463E 68%, #886D00 100%);
border: 1px solid #BFB69C;
color: #FFFFFF;
padding: 20px;
margin-bottom: 18px;
}
.hf-linebattle-page .hf-lb-kicker {
color: #E0BA3A;
font-size: 12px;
font-weight: 700;
letter-spacing: .08em;
margin-bottom: 8px;
text-transform: uppercase;
}
.hf-linebattle-page .hf-lb-hero-title {
font-size: 24px;
font-weight: 700;
line-height: 30px;
margin-bottom: 8px;
}
.hf-linebattle-page .hf-lb-hero-text {
color: #EEEDEB;
font-size: 14px;
line-height: 21px;
max-width: 760px;
}
.hf-linebattle-page .hf-lb-facts,
.hf-linebattle-page .hf-lb-rule-grid,
.hf-linebattle-page .hf-lb-card-grid {
display: grid;
gap: 12px;
margin: 16px 0;
}
.hf-linebattle-page .hf-lb-facts {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.hf-linebattle-page .hf-lb-rule-grid,
.hf-linebattle-page .hf-lb-card-grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.hf-linebattle-page .hf-lb-fact,
.hf-linebattle-page .hf-lb-rule,
.hf-linebattle-page .hf-lb-role-card,
.hf-linebattle-page .hf-lb-phase {
background: #F2F0EA;
border: 1px solid #d5d0c8;
border-left: 4px solid #BFB69C;
color: #1E1E1D;
padding: 12px 14px;
}
.hf-linebattle-page .hf-lb-fact span {
color: #886D00;
display: block;
font-size: 12px;
font-weight: 700;
margin-bottom: 4px;
text-transform: uppercase;
}
.hf-linebattle-page .hf-lb-phase-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 14px;
}
.hf-linebattle-page .hf-lb-phase {
display: grid;
grid-template-columns: 36px 1fr;
gap: 12px;
align-items: start;
}
.hf-linebattle-page .hf-lb-phase-num {
align-items: center;
background: #C9A227;
color: #1E1E1D;
display: flex;
font-weight: 700;
height: 28px;
justify-content: center;
width: 28px;
}
.hf-linebattle-page .hf-lb-rule strong,
.hf-linebattle-page .hf-lb-role-card h3 {
color: #886D00;
}
.hf-linebattle-page .hf-lb-role-card h3 {
font-size: 16px;
line-height: 22px;
margin: 0 0 8px 0;
}
.hf-linebattle-page .hf-lb-note {
background: #FFF8DC;
border: 1px solid #C9A227;
color: #1E1E1D;
margin-top: 14px;
padding: 12px 14px;
}
.hf-linebattle-page .hf-lb-terms th {
background: #46463E;
color: #FFFFFF;
}
.hf-linebattle-page .hf-lb-terms td:first-child {
color: #886D00;
font-weight: 700;
width: 140px;
}
/* ===== 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;
}