MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: →Reset default browser styles: body, html { margin: 0; padding: 0; font-family: Arial, sans-serif; font-size: 16px; } →Container styles: .container { max-width: 960px; margin: 0 auto; padding: 20px; } →Header styles: .header { background-color: #f8f9fa; padding: 10px 0; } .header h1 { margin: 0; font-size: 24px; font-weight: bold; } →Navigation styles: ...") |
No edit summary |
||
Line 1: | Line 1: | ||
/* Reset default browser styles */ | /* Reset default browser styles */ | ||
body, html { | body, html { | ||
Line 7: | Line 5: | ||
font-family: Arial, sans-serif; | font-family: Arial, sans-serif; | ||
font-size: 16px; | font-size: 16px; | ||
background-color: #f0f8ff; /* Very light blue */ | |||
} | } | ||
Revision as of 09:29, 19 April 2024
/* Reset default browser styles */
body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
font-size: 16px;
background-color: #f0f8ff; /* Very light blue */
}
/* Container styles */
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
}
/* Header styles */
.header {
background-color: #f8f9fa;
padding: 10px 0;
}
.header h1 {
margin: 0;
font-size: 24px;
font-weight: bold;
}
/* Navigation styles */
.nav {
background-color: #007ba7;
padding: 10px;
}
.nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.nav ul li {
display: inline;
margin-right: 10px;
}
.nav ul li a {
color: #fff;
text-decoration: none;
padding: 5px 10px;
border-radius: 5px;
}
.nav ul li a:hover {
background-color: #005a7e;
}
/* Content styles */
.content {
padding: 20px 0;
}
/* Footer styles */
.footer {
background-color: #f8f9fa;
padding: 10px 0;
text-align: center;
font-size: 14px;
}