MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 102: | Line 102: | ||
margin: 1em 0 2em 0; | margin: 1em 0 2em 0; | ||
} | } | ||
/* Header style within the frame */ | /* Header style within the frame */ | ||
Line 109: | Line 111: | ||
color: #333; /* Header color */ | color: #333; /* Header color */ | ||
background-color: #007ba7; /* Different color for header */ | 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 */ | padding: 10px; /* Additional padding for header */ | ||
border-top-left-radius: 5px; | border-top-left-radius: 5px; | ||
border-top-right-radius: 5px; | border-top-right-radius: 5px; | ||
} | } |
Revision as of 12:13, 19 April 2024
/* 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;
}