MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 34: Line 34:
     color: white;
     color: white;
     padding: 60px 30px;
     padding: 60px 30px;
    text-align: center;
     border-radius: var(--bc-radius);
     border-radius: var(--bc-radius);
     margin-bottom: 40px;
     margin-bottom: 40px;
Line 41: Line 40:
     box-shadow: 0 10px 25px rgba(38, 96, 101, 0.25);  
     box-shadow: 0 10px 25px rgba(38, 96, 101, 0.25);  
     border-bottom: 6px solid rgba(0,0,0,0.15);
     border-bottom: 6px solid rgba(0,0,0,0.15);
    /* NEW: Centering Logic */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}
}


Line 50: Line 56:
     border: none;
     border: none;
     text-shadow: 0 2px 4px rgba(0,0,0,0.2);
     text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    width: 100%; /* Ensures text has room to center */
}
}


Line 57: Line 64:
     margin-bottom: 30px;
     margin-bottom: 30px;
     font-weight: 400;
     font-weight: 400;
    width: 100%;    /* Keeps paragraphs centered */
    max-width: 800px; /* Prevents text from stretching too wide on huge screens */
}
}