Jump to content

MediaWiki:Common.css: Difference between revisions

The comprehensive free global encyclopedia of CEOs, corporate leadership, and business excellence
Admin (talk | contribs)
Add Wikipedia-style footer styling
Rollback: Restore Appearance menu
Tag: Manual revert
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/* CEO.wiki - Wikipedia-like styling with subtle enhancements */
/* ============================================
  ARTICLE TEXT JUSTIFICATION - CEO PAGES ONLY
  Justify text only in CEO biography articles (pages with infoboxes)
  Excludes Main Page, Special pages, and Project pages
  ============================================ */


/* Keep templates functional but remove heavy styling */
/* Apply justification only to main namespace articles (not Main Page) */
.infobox {
body.ns-0:not(.page-Main_Page) .mw-parser-output p {
    float: right;
     text-align: justify;
    clear: right;
     text-justify: inter-word;
    width: 22em;
    margin: 0.5em 0 0.5em 1em;
     border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 0.2em;
     font-size: 88%;
    line-height: 1.5em;
}
}


.infobox-image {
body.ns-0:not(.page-Main_Page) .mw-parser-output li {
     text-align: center;
     text-align: justify;
     padding: 0.2em;
     text-justify: inter-word;
}
}


.infobox-header {
/* Explicitly keep Main Page left-aligned */
    background-color: #eaecf0;
body.page-Main_Page .mw-parser-output * {
     text-align: center;
     text-align: left !important;
    padding: 0.4em;
}
}


.infobox-title {
/* Keep special pages left-aligned */
    font-size: 125%;
body.ns-special .mw-parser-output p,
     font-weight: bold;
body.ns-special .mw-parser-output li {
     text-align: left !important;
}
}


.infobox-subtitle {
/* Keep project namespace (CEO.wiki:) pages left-aligned */
     font-size: 100%;
body.ns-4 .mw-parser-output p,
body.ns-4 .mw-parser-output li {
     text-align: left !important;
}
}


.infobox-section {
/* Keep headings left-aligned everywhere */
     border-top: 1px solid #a2a9b1;
.mw-parser-output h1,
    padding: 0.3em 0.5em;
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
     text-align: left !important;
}
}


.infobox-section-header {
/* Keep infobox content left-aligned */
     font-weight: bold;
.infobox,
    padding: 0.2em 0;
.infobox * {
     text-align: left !important;
}
}


.infobox-row {
/* Keep navigation elements left-aligned */
     margin: 0.2em 0;
.mw-navigation,
.mw-navigation * {
     text-align: left !important;
}
}


.infobox-label {
/* Keep tables left-aligned */
     font-weight: bold;
.wikitable,
.wikitable * {
     text-align: left !important;
}
}


.infobox-data {
   
}


/* Performance charts - Wikipedia table style */
/* ============================================
.performance-chart {
  ACCOUNT CREATION PAGE STYLING
     margin: 1em 0;
  Center all form elements
     border: 1px solid #a2a9b1;
  ============================================ */
     background-color: #f8f9fa;
 
    padding: 0.5em;
/* Center the entire create account form */
.mw-special-Userlogin #userloginForm {
     max-width: 500px;
     margin: 0 auto;
     text-align: center;
}
}


.chart-header {
/* Center all form rows */
     text-align: center;
     text-align: center;
     padding: 0.5em;
     margin: 0 auto;
    border-bottom: 1px solid #a2a9b1;
}
}


.chart-title {
/* Center labels */
     font-size: 120%;
    display: block;
     font-weight: bold;
    text-align: center;
     margin: 10px auto 5px auto;
     font-weight: 600;
}
}


.metrics-grid {
/* Center input fields */
     display: table;
     display: block;
    margin: 5px auto 15px auto;
     width: 100%;
     width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    font-size: 14px;
}
}


.metric-card {
/* Center help text */
     border: 1px solid #a2a9b1;
     text-align: center;
     margin: 0.3em;
     margin: 5px auto 15px auto;
     padding: 0.5em;
     font-size: 0.9em;
     background-color: #ffffff;
     color: #54595d;
    max-width: 400px;
}
}


.metric-header {
/* Center checkboxes */
    font-weight: bold;
     text-align: center;
    border-bottom: 1px solid #a2a9b1;
    padding-bottom: 0.2em;
     margin-bottom: 0.3em;
}
}


.metric-comparison {
     margin-right: 5px;
    display: flex;
     justify-content: space-between;
    padding: 0.3em 0;
}
}


.metric-label {
/* Center CAPTCHA */
     font-size: 85%;
    text-align: center;
     margin: 20px auto;
}
}


.metric-value {
    font-weight: 600;
     font-weight: bold;
    margin-bottom: 10px;
     text-align: center;
}
}


.metric-change {
/* Center submit button */
     text-align: center;
     text-align: center;
    padding: 0.3em;
     margin: 25px auto;
     margin-top: 0.3em;
    border-top: 1px solid #a2a9b1;
}
}


.change-positive {
    padding: 12px 40px;
     color: #00af89;
    font-size: 16px;
    font-weight: 600;
     background-color: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}
}


.change-negative {
    background-color: #1e3a6b;
    color: #d33;
}
}


/* Tooltip - subtle */
/* Statistics box at top */
.ceo-tooltip {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6b 100%);
     border-bottom: 1px dotted #0645ad;
    color: white;
     cursor: help;
    padding: 30px 20px;
    margin: 0 auto 30px auto;
    max-width: 600px;
     border-radius: 8px;
    text-align: center;
     box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
}


.ceo-tooltip::after {
     font-size: 1.4em;
     content: attr(data-tooltip);
     font-weight: 600;
    position: absolute;
     margin-bottom: 20px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #202122;
    color: #fff;
    padding: 0.5em;
    border-radius: 3px;
     font-size: 12px;
    width: 200px;
     opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}
}


.ceo-tooltip:hover::after {
    display: grid;
     opacity: 1;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
     margin-top: 15px;
}
}


/* ========================================
  MAIN PAGE ENHANCEMENTS - CORPORATE STYLE
  DEEP BLUE PROFESSIONAL THEME
  ======================================== */
/* Hero Banner - Deep Navy/Midnight Blue */
.mp-hero {
    background: linear-gradient(135deg, #051429 0%, #0a2540 50%, #1e3a5c 100%);
    color: white;
    padding: 2.5em 2em;
    margin-bottom: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(5, 20, 41, 0.4);
     text-align: center;
     text-align: center;
    border: 1px solid #1a3050;
}
}


.mp-hero-title {
     font-size: 2.5em;
     font-size: 2.5em;
     font-weight: 600;
     font-weight: 700;
     margin-bottom: 0.3em;
     line-height: 1;
     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
     margin-bottom: 5px;
    letter-spacing: -0.02em;
}
}


.mp-hero-subtitle {
     font-size: 0.9em;
     font-size: 1.2em;
     opacity: 0.9;
     opacity: 0.92;
     text-transform: uppercase;
     font-weight: 300;
     letter-spacing: 0.5px;
     color: #d1dce8;
}
}


/* Featured Boxes Grid */
/* Center page title */
.mp-boxes {
    text-align: center;
    display: grid;
}
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 
     gap: 1em;
/* Responsive design */
     margin: 1.5em 0;
@media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 15px;
     }
 
        max-width: 100%;
     }
/* Infobox Shadow Styling */
.infobox {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}
}


.mp-box {
/* Enhanced Infobox Executive Styling */
     border: 1px solid #d0d7de;
.infobox.executive,
table.infobox {
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
     border-radius: 6px;
     border-radius: 6px;
     padding: 1.5em;
     overflow: hidden;
     background: #ffffff;
}
     transition: all 0.3s ease;
 
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
/* ============================================================================
  SPECIAL:CREATEACCOUNT - CENTERED LAYOUT
  ============================================================================ */
 
/* Center the entire create account form */
.mw-special-CreateAccount #bodyContent {
     max-width: 600px;
     margin: 0 auto;
     text-align: center;
}
 
/* Center the page title */
.mw-special-CreateAccount .firstHeading {
    text-align: center;
}
}


.mp-box:hover {
/* Center all form elements */
    box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
.mw-special-CreateAccount .mw-htmlform-field-HTMLFormFieldWithButton,
     transform: translateY(-2px);
.mw-special-CreateAccount .mw-htmlform-field-HTMLTextField,
     border-color: #1e3a5c;
.mw-special-CreateAccount .mw-htmlform-field-HTMLEmailField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLInfoField {
    text-align: center !important;
     margin-left: auto !important;
     margin-right: auto !important;
}
}


.mp-box-header {
/* Center labels */
     font-size: 1.4em;
.mw-special-CreateAccount label {
     display: block;
    text-align: center;
    margin: 15px auto 5px;
     font-weight: 600;
     font-weight: 600;
    color: #051429;
    margin-bottom: 0.8em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
}
}


.mp-box-icon {
/* Center input fields */
     display: inline-flex;
.mw-special-CreateAccount input[type="text"],
     align-items: center;
.mw-special-CreateAccount input[type="password"],
     justify-content: center;
.mw-special-CreateAccount input[type="email"] {
     width: 1.5em;
     display: block;
     height: 1.5em;
     margin: 0 auto;
    margin-right: 0.4em;
     text-align: center;
    background: linear-gradient(135deg, #0a2540 0%, #1e3a5c 100%);
     max-width: 400px;
    color: white;
     width: 100%;
    border-radius: 4px;
}
    font-size: 0.8em;
 
     font-weight: bold;
/* Center help text */
     font-style: normal;
.mw-special-CreateAccount .htmlform-tip,
     box-shadow: 0 2px 4px rgba(5, 20, 41, 0.3);
.mw-special-CreateAccount .mw-htmlform-help-message {
     text-align: center;
     margin: 5px auto 15px;
     display: block;
}
}


.mp-box-content {
/* Center checkboxes */
     line-height: 1.6;
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField label {
     display: inline-block;
}
}


.mp-box ul {
/* Center submit button */
     list-style: none;
.mw-special-CreateAccount .mw-htmlform-submit-buttons {
    padding: 0;
     text-align: center;
     margin: 0;
     margin-top: 20px;
}
}


.mp-box li {
.mw-special-CreateAccount button[type="submit"] {
     padding: 0.4em 0;
     margin: 0 auto;
    padding-left: 1.5em;
    position: relative;
}
}


.mp-box li:before {
/* Statistics Banner at Top */
     content: "▸";
.createaccount-statistics-banner {
     position: absolute;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
     left: 0;
    color: white;
     color: #1e3a5c;
     padding: 30px 20px;
     font-weight: bold;
     margin: -20px -20px 30px -20px;
     border-radius: 8px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     text-align: center;
}
}


/* Stats/Features Section */
.createaccount-statistics-title {
.mp-features {
     font-size: 1.3em;
     background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
     font-weight: 600;
    border: 1px solid #d0d7de;
     margin-bottom: 20px;
     border-radius: 6px;
     opacity: 0.95;
     padding: 1.5em;
     margin: 1.5em 0;
}
}


.mp-features-grid {
.createaccount-statistics-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5em;
     gap: 20px;
     margin-top: 1em;
    max-width: 500px;
     margin: 0 auto;
}
}


.mp-feature-item {
.createaccount-stat-item {
     text-align: center;
     text-align: center;
    padding: 1em;
}
}


.mp-feature-icon {
.createaccount-stat-number {
     display: inline-flex;
     font-size: 2.5em;
     align-items: center;
    font-weight: 700;
     justify-content: center;
     line-height: 1;
     width: 3em;
     margin-bottom: 5px;
     height: 3em;
     color: #fff;
     margin: 0 auto 0.5em;
}
     background: linear-gradient(135deg, #051429 0%, #1e3a5c 100%);
 
     color: white;
.createaccount-stat-label {
     font-size: 0.9em;
     opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
 
/* Responsive design */
@media (max-width: 600px) {
    .createaccount-statistics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
     }
 
    .mw-special-CreateAccount input[type="text"],
    .mw-special-CreateAccount input[type="password"],
    .mw-special-CreateAccount input[type="email"] {
        max-width: 100%;
    }
}/* ========================================
  REGISTRATION PAGE IMPROVEMENTS - CEO.wiki
  Clean, modern design for account creation
  ======================================== */
 
/* Registration form container */
#userlogin, #userloginForm {
    max-width: 480px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
     border: 1px solid #e0e0e0;
     border-radius: 8px;
     border-radius: 8px;
    font-size: 1.5em;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: bold;
    font-style: normal;
     box-shadow: 0 4px 8px rgba(5, 20, 41, 0.25);
}
}


.mp-feature-title {
/* Form header */
.mw-ui-container h1,
.mw-createaccount-header {
    font-size: 28px;
     font-weight: 600;
     font-weight: 600;
     font-size: 1.1em;
     color: #1a1a1a;
     color: #051429;
     margin-bottom: 8px;
     margin-bottom: 0.3em;
     text-align: center;
}
}


.mp-feature-text {
/* Form description */
     font-size: 0.9em;
.mw-form-related-link-container {
     color: #4b5563;
     text-align: center;
     line-height: 1.5;
     margin-bottom: 24px;
     color: #666;
}
}


/* Content Cards */
/* Input fields */
.mp-card {
.mw-ui-input,
     background: white;
input[type="text"],
     border: 1px solid #d0d7de;
input[type="password"],
     border-left: 4px solid #1e3a5c;
input[type="email"] {
     border-radius: 4px;
     width: 100%;
     padding: 1.2em;
    padding: 12px 16px;
     margin: 1em 0;
     font-size: 15px;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
     border: 1px solid #d1d5db;
     border-radius: 6px;
     background-color: #ffffff;
     transition: all 0.2s ease;
     margin-bottom: 4px;
}
}


.mp-card-title {
.mw-ui-input:focus,
     font-size: 1.3em;
input[type="text"]:focus,
     font-weight: 600;
input[type="password"]:focus,
    color: #051429;
input[type="email"]:focus {
     margin-bottom: 0.6em;
     outline: none;
     border-color: #3b82f6;
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
}


.mp-card-content {
/* Field labels */
.mw-ui-vform-field > label {
    font-weight: 500;
     color: #374151;
     color: #374151;
     line-height: 1.7;
     margin-bottom: 6px;
    display: block;
}
}


/* Two-column layout for larger screens */
/* hCaptcha container - clean integration */
.mp-columns {
.mw-confirmedit-captcha-and-reload,
     display: grid;
.h-captcha {
     grid-template-columns: 1fr 1fr;
    margin: 24px 0 !important;
     gap: 1.5em;
    padding: 16px;
     margin: 1.5em 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
     display: flex;
     justify-content: center;
     align-items: center;
}
 
/* Hide redundant CAPTCHA labels/text */
.fancycaptcha-captcha-container .mw-label,
.mw-confirmedit-captcha .mw-label {
     display: none !important;
}
}


@media (max-width: 768px) {
/* CAPTCHA help text - make it subtle */
     .mp-columns {
.mw-confirmedit-captcha-fail {
        grid-template-columns: 1fr;
     background-color: #fef2f2;
     }
    border-color: #fecaca;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
     color: #991b1b;
    font-size: 14px;
}
}


/* Button/Link styling */
/* Submit button - modern design */
.mp-button {
.mw-ui-button,
     display: inline-block;
#wpCreateaccount,
     padding: 0.6em 1.2em;
button[type="submit"] {
     background: linear-gradient(135deg, #0a2540 0%, #1e3a5c 100%);
     width: 100%;
     color: white !important;
    padding: 12px 24px;
     border-radius: 4px;
    font-size: 16px;
     text-decoration: none;
     font-weight: 600;
    font-weight: 500;
    color: #ffffff;
     background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
     border: none;
     border-radius: 6px;
     cursor: pointer;
     transition: all 0.2s ease;
     transition: all 0.2s ease;
     box-shadow: 0 2px 4px rgba(5, 20, 41, 0.3);
     margin-top: 20px;
}
}


.mp-button:hover {
.mw-ui-button:hover,
     background: linear-gradient(135deg, #051429 0%, #0a2540 100%);
#wpCreateaccount:hover,
     text-decoration: none;
button[type="submit"]:hover {
     box-shadow: 0 4px 8px rgba(5, 20, 41, 0.4);
     background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
     transform: translateY(-1px);
     box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
}


.mp-button-outline {
.mw-ui-button:active,
    background: white;
#wpCreateaccount:active {
    color: #1e3a5c !important;
     transform: translateY(0);
     border: 2px solid #1e3a5c;
}
}


.mp-button-outline:hover {
/* Help text / hints */
     background: #f0f4f8;
.mw-helptext,
.mw-form-help {
    font-size: 13px;
     color: #6b7280;
    margin-top: 4px;
    line-height: 1.5;
}
}


/* Section Headers */
/* Already have account link */
.mp-section-header {
.mw-form-related-link {
     font-size: 1.8em;
     text-align: center;
     font-weight: 600;
     margin-top: 20px;
    color: #051429;
     padding-top: 20px;
    margin: 1.5em 0 0.8em 0;
     border-top: 1px solid #e5e7eb;
     padding-bottom: 0.4em;
     border-bottom: 3px solid #1e3a5c;
}
}


/* Wikipedia compatibility - ensure main page doesn't break existing styles */
.mw-form-related-link a {
.mw-parser-output .mp-hero,
    color: #3b82f6;
.mw-parser-output .mp-box,
    text-decoration: none;
.mw-parser-output .mp-card {
     font-weight: 500;
     font-size: inherit;
}
}


/* ========================================
.mw-form-related-link a:hover {
  LOGO FIXES FOR WIDE HORIZONTAL LOGO
    color: #2563eb;
  ======================================== */
    text-decoration: underline;
}


/* Fix for wide horizontal logo - maintain aspect ratio */
/* Error messages */
.errorbox,
.mw-message-box-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}


/* Vector 2022 skin logo fixes */
/* Success messages */
.mw-logo-icon {
.successbox,
     width: auto !important;
.mw-message-box-success {
     height: auto !important;
     background-color: #f0fdf4;
     max-width: 200px !important;
    border: 1px solid #bbf7d0;
     max-height: 60px !important;
    color: #166534;
     padding: 12px 16px;
     border-radius: 6px;
     margin-bottom: 20px;
}
}


.mw-logo-container {
/* Checkbox styling (remember me, etc) */
     width: auto !important;
input[type="checkbox"] {
     min-width: 160px;
     width: 18px;
    height: 18px;
     margin-right: 8px;
    cursor: pointer;
}
}


/* Logo image itself */
/* Privacy/Terms links */
.mw-logo-icon img,
.mw-createacct-benefits-container,
.mw-wiki-logo img {
.mw-createacct-policy-container {
     width: auto !important;
     font-size: 13px;
     height: auto !important;
     color: #6b7280;
     max-width: 200px !important;
    margin-top: 20px;
     max-height: 60px !important;
     padding-top: 16px;
     object-fit: contain !important;
     border-top: 1px solid #e5e7eb;
     line-height: 1.6;
}
}


/* Vector legacy skin compatibility */
.mw-createacct-benefits-container a,
#p-logo a,
.mw-createacct-policy-container a {
#p-logo {
     color: #3b82f6;
     width: auto !important;
     text-decoration: none;
     height: auto !important;
}
}


#p-logo a {
.mw-createacct-benefits-container a:hover,
    background-size: contain !important;
.mw-createacct-policy-container a:hover {
    background-position: center !important;
     text-decoration: underline;
    background-repeat: no-repeat !important;
    min-width: 160px;
     height: 60px;
}
}


/* Wordmark area adjustment for Vector 2022 */
/* Loading state for form submission */
.vector-header-start {
.mw-ui-button:disabled,
     flex-grow: 0;
#wpCreateaccount:disabled {
     opacity: 0.6;
    cursor: not-allowed;
    background: #9ca3af;
}
}


.mw-logo {
/* Responsive design */
    margin-right: 1em;
@media (max-width: 768px) {
    #userlogin, #userloginForm {
        margin: 20px auto;
        padding: 20px;
        max-width: 100%;
    }
 
    .mw-ui-container h1 {
        font-size: 24px;
    }
}
}


/* Make sure logo doesn't get cropped */
/* Clean form field spacing */
.mw-logo-container,
.mw-ui-vform .mw-ui-vform-field {
.mw-logo-icon {
     margin-bottom: 20px;
    overflow: visible !important;
}/* Wikipedia-style footer */
#footer {
    background: #f8f9fa;
    border-top: 1px solid #a2a9b1;
    padding: 1.5em 0;
     margin-top: 2em;
}
}


#footer ul {
/* Remove unnecessary borders and backgrounds */
     text-align: center;
#userloginForm fieldset {
    list-style: none;
     border: none;
     padding: 0;
     padding: 0;
     margin: 0;
     margin: 0;
}
}


#footer li {
/* Make password requirements more visible */
     display: inline-block;
.mw-createacct-password-validity {
     padding: 0 0.5em;
    font-size: 13px;
     font-size: 0.85em;
    margin-top: 8px;
     line-height: 2em;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 4px;
    border-left: 3px solid #3b82f6;
}
 
/* Clean checkbox container */
.mw-ui-checkbox {
     display: flex;
    align-items: center;
     margin: 16px 0;
}
 
.mw-ui-checkbox label {
    margin: 0;
     font-weight: normal;
    color: #374151;
}
 
/* Add subtle hover effect to form */
#userlogin:hover, #userloginForm:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
 
/* Hide "Anti-Bot Protection" heading if it still appears */
h3:contains("Security Verification"),
h3:contains("Anti-Bot Protection") {
     display: none !important;
}
}


#footer li:after {
/* Style any remaining CAPTCHA wrapper cleanly */
     content: "·";
.mw-htmlform-field-HTMLHCaptchaField {
     padding-left: 0.8em;
     border: none !important;
     color: #a2a9b1;
     padding: 0 !important;
     background: transparent !important;
}
}


#footer li:last-child:after {
/* Center the hCaptcha widget nicely */
     content: "";
.mw-htmlform-field-HTMLHCaptchaField > .mw-input {
    display: flex;
    justify-content: center;
     margin: 24px 0;
}
}


/* ============================================
  FOOTER COPYRIGHT VISIBILITY
  Added: 2025-10-21-v8
  Ensures footer disclaimer is always visible
  ============================================ */
/* Ensure footer copyright section is visible */
#footer-info {
#footer-info {
     text-align: center;
     display: block !important;
     padding: 0.5em 0;
    visibility: visible !important;
    opacity: 1 !important;
}
 
/* Make copyright text stand out */
#footer-info-copyright {
    font-size: 0.85em !important;
     line-height: 1.6 !important;
    color: #202122 !important;
    display: block !important;
}
}
/* ============================================
  ADDITIONAL RESPONSIVE IMAGE FIXES
  Aggressive CSS to ensure images resize
  ============================================ */


.mw-footer {
/* Force all images on Main Page to be responsive */
     background: #f8f9fa;
.page-Main_Page img {
     border-top: 1px solid #a2a9b1;
     max-width: 100% !important;
     height: auto !important;
}
}


.mw-footer ul {
/* Specifically target CEO profile card images */
     padding: 0.5em 0;
.page-Main_Page table[style*="33%"] img,
.page-Main_Page table[style*="25%"] img,
.page-Main_Page .thumbimage {
     width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}
}


.mw-footer li {
/* Make image containers flexible */
     color: #54595d;
.page-Main_Page table[style*="min-height"] {
     font-size: 0.85em;
     min-height: auto !important;
}
 
/* Responsive card layout */
@media (max-width: 1200px) {
     .page-Main_Page table[style*="width: 33%"] {
        width: 48% !important;
        margin: 10px 1% !important;
    }
}
}


/* Footer spacing */
@media (max-width: 768px) {
.mw-footer-container {
    .page-Main_Page table[style*="width: 33%"] {
    padding: 1em 0;
        width: 100% !important;
        display: block !important;
        margin: 15px 0 !important;
    }
}
}

Latest revision as of 18:04, 1 December 2025

/* ============================================
   ARTICLE TEXT JUSTIFICATION - CEO PAGES ONLY
   Justify text only in CEO biography articles (pages with infoboxes)
   Excludes Main Page, Special pages, and Project pages
   ============================================ */

/* Apply justification only to main namespace articles (not Main Page) */
body.ns-0:not(.page-Main_Page) .mw-parser-output p {
    text-align: justify;
    text-justify: inter-word;
}

body.ns-0:not(.page-Main_Page) .mw-parser-output li {
    text-align: justify;
    text-justify: inter-word;
}

/* Explicitly keep Main Page left-aligned */
body.page-Main_Page .mw-parser-output * {
    text-align: left !important;
}

/* Keep special pages left-aligned */
body.ns-special .mw-parser-output p,
body.ns-special .mw-parser-output li {
    text-align: left !important;
}

/* Keep project namespace (CEO.wiki:) pages left-aligned */
body.ns-4 .mw-parser-output p,
body.ns-4 .mw-parser-output li {
    text-align: left !important;
}

/* Keep headings left-aligned everywhere */
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4,
.mw-parser-output h5,
.mw-parser-output h6 {
    text-align: left !important;
}

/* Keep infobox content left-aligned */
.infobox,
.infobox * {
    text-align: left !important;
}

/* Keep navigation elements left-aligned */
.mw-navigation,
.mw-navigation * {
    text-align: left !important;
}

/* Keep tables left-aligned */
.wikitable,
.wikitable * {
    text-align: left !important;
}


/* ============================================
   ACCOUNT CREATION PAGE STYLING
   Center all form elements
   ============================================ */

/* Center the entire create account form */
.mw-special-Userlogin #userloginForm {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* Center all form rows */
    text-align: center;
    margin: 0 auto;
}

/* Center labels */
    display: block;
    text-align: center;
    margin: 10px auto 5px auto;
    font-weight: 600;
}

/* Center input fields */
    display: block;
    margin: 5px auto 15px auto;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #a2a9b1;
    border-radius: 4px;
    font-size: 14px;
}

/* Center help text */
    text-align: center;
    margin: 5px auto 15px auto;
    font-size: 0.9em;
    color: #54595d;
    max-width: 400px;
}

/* Center checkboxes */
    text-align: center;
}

    margin-right: 5px;
}

/* Center CAPTCHA */
    text-align: center;
    margin: 20px auto;
}

    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

/* Center submit button */
    text-align: center;
    margin: 25px auto;
}

    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    background-color: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    background-color: #1e3a6b;
}

/* Statistics box at top */
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6b 100%);
    color: white;
    padding: 30px 20px;
    margin: 0 auto 30px auto;
    max-width: 600px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
}

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}

    text-align: center;
}

    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Center page title */
    text-align: center;
}

/* Responsive design */
@media (max-width: 600px) {
        grid-template-columns: 1fr;
        gap: 15px;
    }

        max-width: 100%;
    }
/* Infobox Shadow Styling */
.infobox {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}

/* Enhanced Infobox Executive Styling */
.infobox.executive,
table.infobox {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

/* ============================================================================
   SPECIAL:CREATEACCOUNT - CENTERED LAYOUT
   ============================================================================ */

/* Center the entire create account form */
.mw-special-CreateAccount #bodyContent {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Center the page title */
.mw-special-CreateAccount .firstHeading {
    text-align: center;
}

/* Center all form elements */
.mw-special-CreateAccount .mw-htmlform-field-HTMLFormFieldWithButton,
.mw-special-CreateAccount .mw-htmlform-field-HTMLTextField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLEmailField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField,
.mw-special-CreateAccount .mw-htmlform-field-HTMLInfoField {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center labels */
.mw-special-CreateAccount label {
    display: block;
    text-align: center;
    margin: 15px auto 5px;
    font-weight: 600;
}

/* Center input fields */
.mw-special-CreateAccount input[type="text"],
.mw-special-CreateAccount input[type="password"],
.mw-special-CreateAccount input[type="email"] {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Center help text */
.mw-special-CreateAccount .htmlform-tip,
.mw-special-CreateAccount .mw-htmlform-help-message {
    text-align: center;
    margin: 5px auto 15px;
    display: block;
}

/* Center checkboxes */
.mw-special-CreateAccount .mw-htmlform-field-HTMLCheckField label {
    display: inline-block;
}

/* Center submit button */
.mw-special-CreateAccount .mw-htmlform-submit-buttons {
    text-align: center;
    margin-top: 20px;
}

.mw-special-CreateAccount button[type="submit"] {
    margin: 0 auto;
}

/* Statistics Banner at Top */
.createaccount-statistics-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px 20px;
    margin: -20px -20px 30px -20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.createaccount-statistics-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
}

.createaccount-statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.createaccount-stat-item {
    text-align: center;
}

.createaccount-stat-number {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: #fff;
}

.createaccount-stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 600px) {
    .createaccount-statistics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mw-special-CreateAccount input[type="text"],
    .mw-special-CreateAccount input[type="password"],
    .mw-special-CreateAccount input[type="email"] {
        max-width: 100%;
    }
}/* ========================================
   REGISTRATION PAGE IMPROVEMENTS - CEO.wiki
   Clean, modern design for account creation
   ======================================== */

/* Registration form container */
#userlogin, #userloginForm {
    max-width: 480px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form header */
.mw-ui-container h1,
.mw-createaccount-header {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

/* Form description */
.mw-form-related-link-container {
    text-align: center;
    margin-bottom: 24px;
    color: #666;
}

/* Input fields */
.mw-ui-input,
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.mw-ui-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Field labels */
.mw-ui-vform-field > label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

/* hCaptcha container - clean integration */
.mw-confirmedit-captcha-and-reload,
.h-captcha {
    margin: 24px 0 !important;
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hide redundant CAPTCHA labels/text */
.fancycaptcha-captcha-container .mw-label,
.mw-confirmedit-captcha .mw-label {
    display: none !important;
}

/* CAPTCHA help text - make it subtle */
.mw-confirmedit-captcha-fail {
    background-color: #fef2f2;
    border-color: #fecaca;
    padding: 12px;
    border-radius: 6px;
    margin: 12px 0;
    color: #991b1b;
    font-size: 14px;
}

/* Submit button - modern design */
.mw-ui-button,
#wpCreateaccount,
button[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.mw-ui-button:hover,
#wpCreateaccount:hover,
button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mw-ui-button:active,
#wpCreateaccount:active {
    transform: translateY(0);
}

/* Help text / hints */
.mw-helptext,
.mw-form-help {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    line-height: 1.5;
}

/* Already have account link */
.mw-form-related-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.mw-form-related-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.mw-form-related-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Error messages */
.errorbox,
.mw-message-box-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Success messages */
.successbox,
.mw-message-box-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Checkbox styling (remember me, etc) */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

/* Privacy/Terms links */
.mw-createacct-benefits-container,
.mw-createacct-policy-container {
    font-size: 13px;
    color: #6b7280;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    line-height: 1.6;
}

.mw-createacct-benefits-container a,
.mw-createacct-policy-container a {
    color: #3b82f6;
    text-decoration: none;
}

.mw-createacct-benefits-container a:hover,
.mw-createacct-policy-container a:hover {
    text-decoration: underline;
}

/* Loading state for form submission */
.mw-ui-button:disabled,
#wpCreateaccount:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #9ca3af;
}

/* Responsive design */
@media (max-width: 768px) {
    #userlogin, #userloginForm {
        margin: 20px auto;
        padding: 20px;
        max-width: 100%;
    }

    .mw-ui-container h1 {
        font-size: 24px;
    }
}

/* Clean form field spacing */
.mw-ui-vform .mw-ui-vform-field {
    margin-bottom: 20px;
}

/* Remove unnecessary borders and backgrounds */
#userloginForm fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Make password requirements more visible */
.mw-createacct-password-validity {
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border-radius: 4px;
    border-left: 3px solid #3b82f6;
}

/* Clean checkbox container */
.mw-ui-checkbox {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.mw-ui-checkbox label {
    margin: 0;
    font-weight: normal;
    color: #374151;
}

/* Add subtle hover effect to form */
#userlogin:hover, #userloginForm:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hide "Anti-Bot Protection" heading if it still appears */
h3:contains("Security Verification"),
h3:contains("Anti-Bot Protection") {
    display: none !important;
}

/* Style any remaining CAPTCHA wrapper cleanly */
.mw-htmlform-field-HTMLHCaptchaField {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Center the hCaptcha widget nicely */
.mw-htmlform-field-HTMLHCaptchaField > .mw-input {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

/* ============================================
   FOOTER COPYRIGHT VISIBILITY
   Added: 2025-10-21-v8
   Ensures footer disclaimer is always visible
   ============================================ */

/* Ensure footer copyright section is visible */
#footer-info {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Make copyright text stand out */
#footer-info-copyright {
    font-size: 0.85em !important;
    line-height: 1.6 !important;
    color: #202122 !important;
    display: block !important;
}
/* ============================================
   ADDITIONAL RESPONSIVE IMAGE FIXES
   Aggressive CSS to ensure images resize
   ============================================ */

/* Force all images on Main Page to be responsive */
.page-Main_Page img {
    max-width: 100% !important;
    height: auto !important;
}

/* Specifically target CEO profile card images */
.page-Main_Page table[style*="33%"] img,
.page-Main_Page table[style*="25%"] img,
.page-Main_Page .thumbimage {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Make image containers flexible */
.page-Main_Page table[style*="min-height"] {
    min-height: auto !important;
}

/* Responsive card layout */
@media (max-width: 1200px) {
    .page-Main_Page table[style*="width: 33%"] {
        width: 48% !important;
        margin: 10px 1% !important;
    }
}

@media (max-width: 768px) {
    .page-Main_Page table[style*="width: 33%"] {
        width: 100% !important;
        display: block !important;
        margin: 15px 0 !important;
    }
}