MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
padding-left: 2%; | padding-left: 2%; | ||
padding-right: 2%; | padding-right: 2%; | ||
margin-right: | margin-right: 4%; | ||
background-color: #fdf4ff; | background-color: #fdf4ff; | ||
} | } | ||
Revision as of 17:09, 25 March 2025
body.page-Main_Page h1.firstHeading {
display: none;
}
.current-box {
width: 100%;
overflow: hidden;
text-align: center;
}
.current-text-header {
font-weight: bold;
font-size: 115%;
background-color: #eecdf2;
display: block;
}
.current-text {
border: 1px solid #a2a9b1;
width: 56%;
float: left;
text-align: center;
padding-bottom: 2%;
padding-left: 2%;
padding-right: 2%;
margin-right: 4%;
background-color: #fdf4ff;
}
.current-media-header {
font-weight: bold;
font-size: 115%;
background-color: #cef2e0;
display: block;
}
.current-media {
border: 1px solid #a2a9b1;
width: 33%;
float: left;
padding-bottom: 2%;
padding-right: 2%;
text-align: center;
background-color: #f5fffa;
}
@media screen and (max-width: 768px) {
.current-text {
width: 98%;
float: none;
text-align: center;
padding-left: 1%;
padding-right: 1%;
padding-bottom: 0%;
margin-right: 0%;
}
.current-media {
width: 98%;
float: none;
padding-top: 0;
text-align: center;
display: block;
padding-left: 1%;
padding-right: 1%;
padding-bottom: 0%;
}
}
.eras-table {
margin: 1em 0;
background-color: #f8f9fa;
border: 1px solid #808080;
border-collapse: collapse;
color: #000;
width: 100%;
table-layout: fixed;
}
.eras-table th {
background-color: #f2d7c0; /* Changed from #cef2e0 (green) to #f2d7c0 (orange) */
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
text-align: center;
font-weight: bold;
width: 100%;
display: table-cell;
font-size: 115%;
}
.eras-table td {
background-color: #fff3eb; /* Changed from #f5fffa (green) to #fff3eb (orange) */
border: 1px solid #a2a9b1;
padding: 10px;
vertical-align: top;
text-align: center;
}
/* Ensure images scale properly */
.eras-table img {
max-width: 200px;
width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
@media screen and (max-width: 768px) {
.eras-table {
display: block;
margin: 1em 0;
border-collapse: collapse;
}
.eras-table thead {
display: block;
}
.eras-table th {
display: block;
width: 100%;
text-align: center;
}
.eras-table tbody {
display: flex;
flex-wrap: wrap;
}
.eras-table tr {
display: contents;
}
.eras-table td {
flex: 0 0 33.333%;
box-sizing: border-box;
text-align: center;
padding: 10px;
}
}
.youtube-responsive {
position: relative;
width: 100%;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.youtube-responsive iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
max-width: 100%;
box-sizing: border-box;
}