MediaWiki:Common.css: Difference between revisions

Fix encoding
Add welcome header image
Line 119: Line 119:
.header-intro {
.header-intro {
     flex: 1;
     flex: 1;
     background-color: #fcf6e8 !important;
    background: url('/resources/assets/welcomeimage.jpg') center center no-repeat !important;
     background-size: cover !important;
     border: 1px solid #b3a07d;
     border: 1px solid #b3a07d;
     padding: 25px;
     padding: 25px;
     text-align: center;
     text-align: center;
    position: relative;
    z-index: 1;
}
.header-intro::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay to make text pop against busy background */
    z-index: -1;
}
}
.header-title {
.header-title {
     font-size: 1.6em;
     font-size: 1.6em;
     font-weight: bold;
     font-weight: bold;
     color: #4a3c28;
     color: #ffd700; /* Gold text */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
     margin-bottom: 8px;
     margin-bottom: 8px;
     line-height: 1.2;
     line-height: 1.2;
Line 133: Line 144:
.header-intro p {
.header-intro p {
     font-size: 0.95em;
     font-size: 0.95em;
     color: #5c4e38;
     color: #fff; /* White text */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
     margin: 0;
     margin: 0;
}
}