MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 90: | Line 90: | ||
} | } | ||
/* Hide | |||
/* Hide the entire top navigation bar */ | |||
#mw-navigation { | |||
display: none; | display: none !important; | ||
} | |||
/* Hide the personal tools (user links, login/logout) */ | |||
#p-personal { | |||
display: none !important; | |||
} | |||
/* Hide the page actions (tabs like "Read," "Edit," etc.) */ | |||
#p-views { | |||
display: none !important; | |||
} | |||
/* Hide the search box */ | |||
#p-search { | |||
display: none !important; | |||
} | } | ||
/* Hide | /* Hide the "Jump to navigation" and "Jump to search" links */ | ||
.mw-jump { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 02:00, 14 February 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
h1.firstHeading {
font-family: 'Roboto', sans-serif;
}
.firstHeading {
display: none;
}
.mw-headline {
font-family: 'Roboto', sans-serif !important;
}
#p-search {
position: absolute;
top: 10px; /* Adjust as needed */
right: 20px; /* Change to move it left/right */
}
/* Change background color for Vector skin */
body {
background-color: #3eb489; /* Replace with your desired color */
}
#p-logo {
display: none;
}
#ca-talk { display: none !important; }
#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }
.custom-button {
display: inline-block; /* Makes the button behave like a block */
padding: 5px 5px; /* Adds spacing inside the button */
font-size: 14px; /* Adjusts font size */
color: #fff; /* White text color */
background-color: #3eb489; /* Blue background */
border: 1px solid black; /* Black border */
border-radius: 3px; /* Rounded corners */
text-decoration: none; /* Removes underline from link */
text-align: center; /* Centers text inside the button */
cursor: pointer; /* Pointer cursor on hover */
}
.custom-button a {
display: block; /* Expands the link to fill the entire span */
color: #fff; /* White text color */
text-decoration: none; /* Removes underline from link */
vertical-align: middle; /* Ensures vertical alignment of text */
text-align: center; /* Centers text inside the button */
}
.custom-button:hover {
color: #fff; /* White text color */
}
.static-button {
width: 120px;
display: inline-block; /* Makes the button behave like a block */
padding: 5px 5px; /* Adds spacing inside the button */
font-size: 14px; /* Adjusts font size */
color: #fff; /* White text color */
background-color: #3eb489; /* Blue background */
border: 1px solid black; /* Black border */
border-radius: 3px; /* Rounded corners */
text-decoration: none; /* Removes underline from link */
text-align: center; /* Centers text inside the button */
cursor: pointer; /* Pointer cursor on hover */
}
.static-button a {
display: block; /* Expands the link to fill the entire span */
color: #fff; /* White text color */
text-decoration: none; /* Removes underline from link */
vertical-align: middle; /* Ensures vertical alignment of text */
text-align: center; /* Centers text inside the button */
}
.static-button:hover {
color: #fff; /* White text color */
}
/* Hide the entire top navigation bar */
#mw-navigation {
display: none !important;
}
/* Hide the personal tools (user links, login/logout) */
#p-personal {
display: none !important;
}
/* Hide the page actions (tabs like "Read," "Edit," etc.) */
#p-views {
display: none !important;
}
/* Hide the search box */
#p-search {
display: none !important;
}
/* Hide the "Jump to navigation" and "Jump to search" links */
.mw-jump {
display: none !important;
}