Jump to content

MediaWiki:Common.css: Difference between revisions

The comprehensive free global encyclopedia of CEOs, corporate leadership, and business excellence
Add comprehensive global styles for modern design, tooltips, and text formatting
 
Rollback: Restore Appearance menu
Tag: Manual revert
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
/**
/* ============================================
* CEO.wiki Global Site Styles
  ARTICLE TEXT JUSTIFICATION - CEO PAGES ONLY
* Modern, professional design with enhanced readability
  Justify text only in CEO biography articles (pages with infoboxes)
*/
  Excludes Main Page, Special pages, and Project pages
  ============================================ */


/* ===== Typography & Text Improvements ===== */
/* Apply justification only to main namespace articles (not Main Page) */
 
body.ns-0:not(.page-Main_Page) .mw-parser-output p {
body {
     text-align: justify;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
     text-justify: inter-word;
     line-height: 1.7;
     color: #1f2937;
}
}


/* Justify text in article content for better readability */
body.ns-0:not(.page-Main_Page) .mw-parser-output li {
.mw-parser-output > p,
.mw-parser-output > div > p {
     text-align: justify;
     text-align: justify;
     text-justify: inter-word;
     text-justify: inter-word;
    hyphens: auto;
}
}


/* Better heading styles */
/* Explicitly keep Main Page left-aligned */
h1, h2, h3, h4, h5, h6 {
body.page-Main_Page .mw-parser-output * {
     font-weight: 700;
    text-align: left !important;
    line-height: 1.3;
}
    margin-top: 1.5em;
 
     margin-bottom: 0.5em;
/* Keep special pages left-aligned */
    color: #1e3a8a;
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;
}
}


h1 {
/* Keep navigation elements left-aligned */
    font-size: 2.5em;
.mw-navigation,
    border-bottom: 3px solid;
.mw-navigation * {
    border-image: linear-gradient(90deg, #3b82f6 0%, transparent 100%) 1;
     text-align: left !important;
     padding-bottom: 0.3em;
}
}


h2 {
/* Keep tables left-aligned */
    font-size: 2em;
.wikitable,
    border-bottom: 2px solid #e5e7eb;
.wikitable * {
     padding-bottom: 0.3em;
     text-align: left !important;
}
}


h3 {
 
     font-size: 1.6em;
/* ============================================
  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;
}
}


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


.ceo-tooltip {
/* Center labels */
    position: relative;
     display: block;
     display: inline;
     text-align: center;
     border-bottom: 1px dotted #3b82f6;
     margin: 10px auto 5px auto;
    cursor: help;
     font-weight: 600;
     color: #3b82f6;
     font-weight: 500;
}
}


.ceo-tooltip::after {
/* Center input fields */
     content: attr(data-tooltip);
     display: block;
     position: absolute;
     margin: 5px auto 15px auto;
     bottom: 100%;
     width: 100%;
     left: 50%;
     max-width: 400px;
     transform: translateX(-50%) translateY(-8px);
     padding: 10px;
     background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
     border: 1px solid #a2a9b1;
    color: #ffffff;
     border-radius: 4px;
    padding: 12px 16px;
     border-radius: 8px;
     font-size: 14px;
     font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    width: 250px;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-weight: 400;
}
}


.ceo-tooltip::before {
/* Center help text */
     content: '';
     text-align: center;
     position: absolute;
     margin: 5px auto 15px auto;
     bottom: 100%;
     font-size: 0.9em;
     left: 50%;
     color: #54595d;
     transform: translateX(-50%);
     max-width: 400px;
    border: 8px solid transparent;
}
    border-top-color: #1e3a8a;
 
    opacity: 0;
/* Center checkboxes */
    transition: opacity 0.3s ease;
     text-align: center;
     z-index: 1001;
}
}


.ceo-tooltip:hover::after,
    margin-right: 5px;
.ceo-tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}
}


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


a {
     font-weight: 600;
    color: #3b82f6;
     margin-bottom: 10px;
     text-decoration: none;
     text-align: center;
     transition: color 0.2s ease, border-bottom 0.2s ease;
     border-bottom: 1px solid transparent;
}
}


a:hover {
/* Center submit button */
     color: #1e40af;
     text-align: center;
     border-bottom-color: #1e40af;
     margin: 25px auto;
}
}


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


/* New page links */
     background-color: #1e3a6b;
a.new {
     color: #dc2626;
}
}


a.new:hover {
/* Statistics box at top */
     color: #991b1b;
    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;
}
}


/* ===== Content Sections with Visual Enhancement ===== */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}


.ceo-section {
     text-align: center;
     margin: 30px 0;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 12px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #3b82f6;
    animation: fadeIn 0.6s ease-out;
}
}


.ceo-section-header {
     font-size: 2.5em;
     font-size: 20px;
     font-weight: 700;
     font-weight: 700;
     color: #1e3a8a;
     line-height: 1;
     margin: 0 0 15px 0;
     margin-bottom: 5px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}
}


/* ===== Highlight Boxes ===== */
    font-size: 0.9em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.highlight-box {
/* Center page title */
    padding: 20px;
     text-align: center;
     border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.5s ease-out;
}
}


.highlight-box.info {
/* Responsive design */
     background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
@media (max-width: 600px) {
     border-left: 4px solid #3b82f6;
        grid-template-columns: 1fr;
    color: #1e40af;
        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;
}
}


.highlight-box.success {
/* Enhanced Infobox Executive Styling */
     background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
.infobox.executive,
     border-left: 4px solid #10b981;
table.infobox {
     color: #065f46;
     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;
}
}


.highlight-box.warning {
/* ============================================================================
     background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  SPECIAL:CREATEACCOUNT - CENTERED LAYOUT
     border-left: 4px solid #f59e0b;
  ============================================================================ */
     color: #92400e;
 
/* Center the entire create account form */
.mw-special-CreateAccount #bodyContent {
     max-width: 600px;
     margin: 0 auto;
     text-align: center;
}
}


.highlight-box.important {
/* Center the page title */
     background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
.mw-special-CreateAccount .firstHeading {
     border-left: 4px solid #ef4444;
     text-align: center;
     color: #991b1b;
}
 
/* 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;
}
}


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


ul, ol {
/* Center input fields */
     line-height: 1.8;
.mw-special-CreateAccount input[type="text"],
     margin: 15px 0;
.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%;
}
}


li {
/* Center help text */
     margin-bottom: 8px;
.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;
}
}


ul li::marker {
/* Center submit button */
     color: #3b82f6;
.mw-special-CreateAccount .mw-htmlform-submit-buttons {
    text-align: center;
     margin-top: 20px;
}
}


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


blockquote {
/* Statistics Banner at Top */
    margin: 25px 0;
.createaccount-statistics-banner {
    padding: 20px 25px;
     background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
     background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
     color: white;
     border-left: 5px solid #3b82f6;
     padding: 30px 20px;
     border-radius: 0 8px 8px 0;
     margin: -20px -20px 30px -20px;
     font-style: italic;
     border-radius: 8px;
     color: #4b5563;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}
}


blockquote::before {
.createaccount-statistics-title {
     content: '"';
     font-size: 1.3em;
     font-size: 48px;
     font-weight: 600;
     color: #3b82f6;
     margin-bottom: 20px;
     opacity: 0.3;
     opacity: 0.95;
    line-height: 0;
    margin-right: 10px;
}
}


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


table.wikitable {
.createaccount-stat-item {
    border-collapse: separate;
     text-align: center;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    width: 100%;
}
}


table.wikitable th {
.createaccount-stat-number {
     background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
     font-size: 2.5em;
    color: #ffffff;
    padding: 15px;
    text-align: left;
     font-weight: 700;
     font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: #fff;
}
.createaccount-stat-label {
    font-size: 0.9em;
    opacity: 0.9;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
    font-size: 13px;
}
}


table.wikitable td {
/* Responsive design */
    padding: 15px;
@media (max-width: 600px) {
     border-bottom: 1px solid #e5e7eb;
    .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;
     background: #ffffff;
     transition: background-color 0.2s ease;
     border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
}


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


table.wikitable tr:last-child td {
/* Form description */
     border-bottom: none;
.mw-form-related-link-container {
     text-align: center;
    margin-bottom: 24px;
    color: #666;
}
}


/* ===== Images Enhancement ===== */
/* 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-parser-output img {
.mw-ui-input:focus,
     border-radius: 8px;
input[type="text"]:focus,
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
input[type="password"]:focus,
    transition: transform 0.3s ease, box-shadow 0.3s ease;
input[type="email"]:focus {
    outline: none;
     border-color: #3b82f6;
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
}


.mw-parser-output img:hover {
/* Field labels */
     transform: scale(1.02);
.mw-ui-vform-field > label {
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-weight: 500;
     color: #374151;
     margin-bottom: 6px;
    display: block;
}
}


.thumbinner {
/* hCaptcha container - clean integration */
     border-radius: 12px;
.mw-confirmedit-captcha-and-reload,
.h-captcha {
     margin: 24px 0 !important;
    padding: 16px;
     background: #f9fafb;
     background: #f9fafb;
    padding: 8px;
     border: 1px solid #e5e7eb;
     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;
}
}


.thumbcaption {
/* 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;
     font-size: 13px;
     color: #6b7280;
     color: #6b7280;
    margin-top: 4px;
     line-height: 1.5;
     line-height: 1.5;
    margin-top: 8px;
}
}


/* ===== Categories Enhancement ===== */
/* 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;
}


#catlinks {
/* Success messages */
     background: linear-gradient(145deg, #f9fafb 0%, #f3f4f6 100%);
.successbox,
     border: 1px solid #e5e7eb;
.mw-message-box-success {
     border-radius: 12px;
     background-color: #f0fdf4;
     padding: 15px 20px;
     border: 1px solid #bbf7d0;
     margin-top: 30px;
     color: #166534;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
     padding: 12px 16px;
     border-radius: 6px;
     margin-bottom: 20px;
}
}


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


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


.references li {
.mw-createacct-benefits-container a,
     margin-bottom: 10px;
.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;
}
}


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


@keyframes fadeIn {
/* Responsive design */
     from {
@media (max-width: 768px) {
         opacity: 0;
     #userlogin, #userloginForm {
         transform: translateY(10px);
         margin: 20px auto;
        padding: 20px;
         max-width: 100%;
     }
     }
     to {
 
         opacity: 1;
     .mw-ui-container h1 {
        transform: translateY(0);
         font-size: 24px;
     }
     }
}
}


@keyframes slideInRight {
/* Clean form field spacing */
     from {
.mw-ui-vform .mw-ui-vform-field {
        opacity: 0;
     margin-bottom: 20px;
        transform: translateX(30px);
}
     }
 
     to {
/* Remove unnecessary borders and backgrounds */
        opacity: 1;
#userloginForm fieldset {
        transform: translateX(0);
    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;
}
}


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


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


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


.ceo-button {
/* Ensure footer copyright section is visible */
     display: inline-block;
#footer-info {
     padding: 12px 24px;
     display: block !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
     visibility: visible !important;
    color: #ffffff;
     opacity: 1 !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
     border: none;
}
}


.ceo-button:hover {
/* Make copyright text stand out */
     transform: translateY(-2px);
#footer-info-copyright {
     box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
     font-size: 0.85em !important;
     color: #ffffff;
     line-height: 1.6 !important;
     border-bottom: none;
     color: #202122 !important;
     display: block !important;
}
}
/* ============================================
  ADDITIONAL RESPONSIVE IMAGE FIXES
  Aggressive CSS to ensure images resize
  ============================================ */


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


@media (max-width: 768px) {
/* Specifically target CEO profile card images */
    .mw-parser-output > p {
.page-Main_Page table[style*="33%"] img,
        text-align: left;
.page-Main_Page table[style*="25%"] img,
     }
.page-Main_Page .thumbimage {
   
    width: 100% !important;
    h1 {
     max-width: 100% !important;
        font-size: 2em;
     height: auto !important;
     }
     object-fit: contain !important;
   
    h2 {
        font-size: 1.6em;
     }
   
    .ceo-tooltip::after {
        width: 200px;
        font-size: 12px;
    }
}
}


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


@media print {
/* Responsive card layout */
     .ceo-section,
@media (max-width: 1200px) {
    .highlight-box,
     .page-Main_Page table[style*="width: 33%"] {
    table.wikitable {
         width: 48% !important;
         box-shadow: none;
         margin: 10px 1% !important;
         border: 1px solid #e5e7eb;
     }
     }
   
}
    .ceo-tooltip {
 
        border-bottom: none;
@media (max-width: 768px) {
    }
     .page-Main_Page table[style*="width: 33%"] {
   
        width: 100% !important;
     .ceo-tooltip::after,
        display: block !important;
    .ceo-tooltip::before {
         margin: 15px 0 !important;
         display: none;
     }
     }
}
}

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;
    }
}