Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | /* . | + | /* Custom CSS for MediaWiki:Common.css */ |
− | + | ||
− | + | /* Change the font size and color of headings */ | |
− | + | h1, h2, h3, h4, h5, h6 { | |
− | . | + | font-size: 24px; |
− | + | color: #333333; | |
+ | } | ||
+ | |||
+ | /* Style for links */ | ||
+ | a { | ||
+ | text-decoration: none; | ||
+ | color: #0066cc; | ||
+ | } | ||
+ | |||
+ | /* Style for tables */ | ||
+ | table { | ||
+ | border-collapse: collapse; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | table, th, td { | ||
+ | border: 1px solid #ddd; | ||
+ | } | ||
+ | |||
+ | th, td { | ||
+ | padding: 8px; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | /* Custom background color for the header */ | ||
+ | #header { | ||
+ | background-color: #f7f7f7; | ||
+ | } | ||
+ | |||
+ | /* Custom styling for buttons */ | ||
+ | .button { | ||
+ | background-color: #0066cc; | ||
+ | color: #fff; | ||
+ | padding: 10px 20px; | ||
+ | border: none; | ||
+ | border-radius: 5px; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | /* Additional custom styles here */ | ||
+ | |||
+ | /* End of custom CSS */ |
Latest revision as of 19:29, 8 October 2023
/* CSS placed here will be applied to all skins */
/* Custom CSS for MediaWiki:Common.css */
/* Change the font size and color of headings */
h1, h2, h3, h4, h5, h6 {
font-size: 24px;
color: #333333;
}
/* Style for links */
a {
text-decoration: none;
color: #0066cc;
}
/* Style for tables */
table {
border-collapse: collapse;
width: 100%;
}
table, th, td {
border: 1px solid #ddd;
}
th, td {
padding: 8px;
text-align: left;
}
/* Custom background color for the header */
#header {
background-color: #f7f7f7;
}
/* Custom styling for buttons */
.button {
background-color: #0066cc;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
/* Additional custom styles here */
/* End of custom CSS */