MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
} | } | ||
@import url('https:// | @import url('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@main/dist/en/v7.0.0/legacy/ol.css'); | ||
#adaris-continent-map { | #adaris-continent-map { | ||
| Line 61: | Line 61: | ||
background: #111; | background: #111; | ||
border: 1px solid #5b4a32; | border: 1px solid #5b4a32; | ||
} | |||
#adaris-continent-map .ol-viewport { | |||
background: #f2e4c9; | |||
} | } | ||
Revision as of 20:19, 4 May 2026
/* General Infobox Styling */
.infoboxTable {
width: 300px; /* Adjust width */
background: #f7efe3; /* Soft parchment color */
border: 2px solid #a67c52; /* A warm brown border */
padding: 10px;
margin: 0 10px 10px 0;
border-radius: 10px; /* Soft rounded corners */
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}
/* Table styling inside the infobox */
.infoboxTable th {
background: #a67c52; /* Brownish header */
color: white; /* White text */
text-align: left;
padding: 8px;
font-weight: bold;
border-bottom: 2px solid #8c6239;
}
/* Table cells (data) */
.infoboxTable td {
padding: 8px;
border-bottom: 1px solid #ddd;
font-size: 14px;
}
/* Hide empty figcaption below the image */
.infoboxTable figure figcaption {
display: none;
}
/* Center images inside the infobox */
.infoboxTable figure {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
/* Make images fit neatly */
.infoboxTable img {
width: 100%;
max-width: 250px;
border-radius: 5px;
border: 1px solid #8c6239;
}
/* Hide the infobox title row */
.infoboxTable .infoboxTitle {
display: none;
}
@import url('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@main/dist/en/v7.0.0/legacy/ol.css');
#adaris-continent-map {
width: 100%;
height: 80vh;
min-height: 650px;
background: #111;
border: 1px solid #5b4a32;
}
#adaris-continent-map .ol-viewport {
background: #f2e4c9;
}