MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: #p-logo { position: relative; } #p-logo::after { content: "Your Subtitle Here"; →Replace with your actual subtitle: display: block; font-size: 14px; →Adjust the font size as needed: color: #000; →Adjust color as needed: text-align: center; margin-top: 5px; →Space between the logo and the subtitle: }" |
No edit summary Tag: Manual revert |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | #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; | |||
} | } |
Latest revision as of 22:09, 14 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; }