MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Reset default browser styles */
body, html{
margin: 0;
padding: 0;
font-family: 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-family:sans-serif;
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;
}
/*wikidata style frames*/
.mw-parser-output .mp-frame {
box-shadow: 0 0 0.3em #999;
border-radius: 0.2em;
margin: 1em 0 2em 0;
padding: 1px;
}
/*wikidata style frames*/
.mw-parser-output .wd-mp-header {
display: grid;
place-items: center;
isolation: isolate;
text-align: center;
margin-bottom: 10px;
color: #54595d;
}
/* Simplified frame style */
.frame {
border: 1px solid #000000;
padding: 10px;
border-radius: 5px;
background-color: #f2f2f2;
box-shadow: 0 0 0.3em #999;
margin: 1em 0 2em 0;
}
/* Header style within the frame */
.frame h2 {
margin-top: 0;
font-family: Helvetica, Arial, sans-serif; /* Different font for heading */
color: #333; /* Header color */
background-color: #007ba7; /* Different color for header */
padding: 10px; /* Additional padding for header */
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.frame1 {
border: 1px solid #000000;
padding: 10px;
border-radius: 5px;
background-color: #f2f2f2;
box-shadow: 0 0 0.3em #999;
margin: 1em 0 2em 0;
}
/* Header style within the frame */
.frame1 h2 {
margin-top: 0;
font-family: Helvetica, Arial, sans-serif; /* Different font for heading */
color: #333; /* Header color */
background-color: #6c9ef5;
padding: 10px; /* Additional padding for header */
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.frame2 {
border: 1px solid #000000;
padding: 10px;
border-radius: 5px;
background-color: #f2f2f2;
box-shadow: 0 0 0.3em #999;
margin: 1em 0 2em 0;
}
/* Header style within the frame */
.frame2 h2 {
margin-top: 0;
font-family: Helvetica, Arial, sans-serif; /* Different font for heading */
color: #333; /* Header color */
background-color: #67d69f;
padding: 10px; /* Additional padding for header */
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}