MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 73: | Line 73: | ||
border-bottom-right-radius: 6px; | border-bottom-right-radius: 6px; | ||
} | } | ||
/* ==== RECENTLY EDITED ARTICLES TEMPLATE ==== */ | |||
.recent-box { | |||
border: 1px solid #cfcfe8; | |||
background-color: #f9f9ff; | |||
padding: 8px 10px; | |||
margin: 1.5em 0; | |||
border-radius: 6px; | |||
box-shadow: 0 1px 3px rgba(0,0,0,0.05); | |||
font-family: "Segoe UI", Arial, sans-serif; | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | |||
/* Header bar */ | |||
.recent-header { | |||
background-color: #dcd3f5; | |||
color: #2b2b2b; | |||
font-weight: bold; | |||
padding: 6px 10px; | |||
border-radius: 4px; | |||
margin: -8px -10px 10px -10px; | |||
font-size: 14px; | |||
border-bottom: 1px solid #c5bde7; | |||
} | |||
/* List styling */ | |||
.recent-list { | |||
padding-left: 20px; | |||
line-height: 1.7em; | |||
font-size: 13.5px; | |||
} | |||
/* Links styling */ | |||
.recent-list a { | |||
color: #0645ad; | |||
text-decoration: none; | |||
} | |||
.recent-list a:hover { | |||
text-decoration: underline; | |||
color: #0E75C5; | |||
} | |||
Latest revision as of 20:08, 29 October 2025
/* CSS placed here will be applied to all skins */
/* ==== WIKINEST INFOBOX MODERN STYLE ==== */
.infobox {
width: 280px;
float: right;
clear: right;
margin: 0 0 1em 1em;
background: #fff;
border: 1px solid #dcdcdc;
border-radius: 6px;
font-family: "Segoe UI", Roboto, Arial, sans-serif;
font-size: 13px;
line-height: 1.4em;
color: #202124;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
/* Title / Header */
.infobox th[scope="row"] {
background: #f9f9f9;
color: #202124;
padding: 6px 8px;
text-align: left;
font-weight: 600;
border-top: 1px solid #e0e0e0;
width: 40%;
vertical-align: top;
}
/* Value cells */
.infobox td {
padding: 6px 8px;
border-top: 1px solid #e0e0e0;
background: #fff;
color: #3c4043;
vertical-align: top;
}
/* Top title / caption area */
.infobox-caption {
font-size: 14px;
font-weight: 700;
color: #0E75C5;
padding: 8px;
text-align: left;
background-color: #f1f3f4;
border-bottom: 1px solid #e0e0e0;
}
/* Image styling */
.infobox img {
width: 100%;
max-width: 280px;
height: auto;
border-radius: 4px;
display: block;
margin: 0 auto;
}
/* Optional hover effect */
.infobox td a {
color: #0E75C5;
text-decoration: none;
}
.infobox td a:hover {
text-decoration: underline;
}
/* Rounded bottom corners */
.infobox tr:last-child td,
.infobox tr:last-child th {
border-bottom-left-radius: 6px;
border-bottom-right-radius: 6px;
}
/* ==== RECENTLY EDITED ARTICLES TEMPLATE ==== */
.recent-box {
border: 1px solid #cfcfe8;
background-color: #f9f9ff;
padding: 8px 10px;
margin: 1.5em 0;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
font-family: "Segoe UI", Arial, sans-serif;
width: 100%;
box-sizing: border-box;
}
/* Header bar */
.recent-header {
background-color: #dcd3f5;
color: #2b2b2b;
font-weight: bold;
padding: 6px 10px;
border-radius: 4px;
margin: -8px -10px 10px -10px;
font-size: 14px;
border-bottom: 1px solid #c5bde7;
}
/* List styling */
.recent-list {
padding-left: 20px;
line-height: 1.7em;
font-size: 13.5px;
}
/* Links styling */
.recent-list a {
color: #0645ad;
text-decoration: none;
}
.recent-list a:hover {
text-decoration: underline;
color: #0E75C5;
}