MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
HordGrylls (talk | contribs) (Adjusting colors) |
HordGrylls (talk | contribs) No edit summary |
||
| Line 189: | Line 189: | ||
.chalk-links a { | .chalk-links a { | ||
color: #F8F8F8 !important; | color: #F8F8F8 !important; | ||
} | |||
.chalk-links a:hover { | |||
text-decoration: underline !important; | text-decoration: underline !important; | ||
.chalk-links a:visited { | .chalk-links a:visited { | ||
Revision as of 01:21, 19 April 2026
/* Global settings applied to all skins */
/* Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #orange; /* Consider using a more specific color code */
color: black;
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td, .infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.infobox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaa;
}
.infobox.geography {
text-align: left;
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
.infobox.geography td,
.infobox.geography th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: solid 1px #aaa;
padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: solid 1px #aaa;
padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
/* Navbox Styles */
table.navbox {
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 85%; /* Slightly smaller text */
text-align: center;
padding: 1px; /* Minimal padding */
background: #F9EFE6;
border-spacing: 0; /* No spacing between borders */
border-collapse: collapse; /* Collapse borders */
}
table.navbox + table.navbox {
margin-top: -1px; /* Adjust if needed to reduce space */
}
.navbox-title, .navbox-abovebelow, table.navbox th, .navbox-group,
.navbox, .navbox-subgroup, .navbox-list, .navbox-even {
padding: 2px 10px; /* Reduced padding */
line-height: 1.1; /* Reduced line height for less vertical space */
}
.navbox-group {
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
background: #FAD9C1;
}
.navbox, .navbox-subgroup {
background: #F9EFE6;
}
.navbox-list {
border-color: #F9EFE6;
}
.navbox-title {
background: #F7E2D2;
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: #FAD9C1;
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #FCEDE5;
}
.navbox-even {
background: #F9EFE6;
}
.navbox-odd {
background: transparent;
}
.collapseButton { /* 'show'/'hide' buttons style */
float: right;
font-weight: normal;
text-align: right;
width: auto;
}
.navbox .collapseButton { /* Specific style for navbox collapse buttons */
width: 6em;
}
/* Style for the icon */
.link-icon {
margin-right: 5px; /* Space between the icon and text */
width: 16px;
height: 16px;
cursor: pointer;
vertical-align: middle; /* Align with the text */
opacity: 0.7;
transition: opacity 0.2s ease-in-out;
}
.link-icon:hover {
opacity: 1;
}
/* Forces links inside the Lesson template to be gray */
.chalk-links a {
color: #F8F8F8 !important;
}
.chalk-links a:hover {
text-decoration: underline !important;
.chalk-links a:visited {
color: #E8E8E8 !important;
}
/* For main page */
.smoke-background {
background-image: url('/images/3/35/CWJ_smoke_background.png');
background-size: cover;
background-position: center;
padding: 30px;
color: white;
}
td ul {
display: inline-block;
padding-left: 0;
text-align: left;
}
.main-page-box-layout {
display: flex;
flex-direction: column;
}
.main-page-box-row {
display: flex;
align-items: stretch;
}
.main-page-box-col {
flex: 1;
display: flex;
}
.main-page-box-col > * {
width: 100%;
height: 100%;
}
@media (max-width: 768px) {
.main-page-box-row.double {
flex-direction: column;
}
}