MediaWiki:Common.css: Difference between revisions

From DBWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
     background-color: rgba(255, 255, 255, 0.7); /* Optional: Adds a semi-transparent background for readability */
     background-color: rgba(255, 255, 255, 0.7); /* Optional: Adds a semi-transparent background for readability */
     padding: 5px; /* Adds padding around the subtitle text */
     padding: 5px; /* Adds padding around the subtitle text */
}
/* Hide edit source links next to headings */
.mw-editsection {
    display: none;
}
}

Revision as of 23:37, 10 October 2024

#p-logo::before {
    content: "DBWiki"; /* Replace with your actual subtitle */
    position: absolute;
    top: 110px; /* Adjust this to control how much it overlaps the bottom of the logo */
    left: 50%;
    transform: translateX(-50%); /* Centers the subtitle horizontally over the logo */
    font-size: 30px; /* Adjust font size as needed */
    color: #00008B; /* Adjust color as needed */
    font-weight: bold; /* Makes the subtitle bold */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7); /* Optional: Adds a semi-transparent background for readability */
    padding: 5px; /* Adds padding around the subtitle text */
}

/* Hide edit source links next to headings */
.mw-editsection {
    display: none;
}