MediaWiki:Common.css: Difference between revisions
Andre Castro (talk | contribs) No edit summary Tag: Manual revert |
Andre Castro (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
div#toc{ | div#toc{ | ||
background: rgba( | background: rgba(210, 210, 210, 0.18); | ||
padding: 1%; | padding: 1%; | ||
width: 40%; | width: 40%; | ||
border: solid #a2a9b1 2px; | border: solid #a2a9b1 2px; | ||
} | |||
.banner-image { | |||
position: relative; | |||
overflow: hidden; | |||
max-width: 1800px; | |||
height: auto; | |||
margin-bottom: .6em; | |||
border: 2px solid black; | |||
} | |||
.banner-image img { | |||
max-width: 300px; | |||
height: auto; | |||
width: auto; | |||
} | |||
.banner-box { | |||
position: absolute; | |||
z-index: 2; | |||
margin-top: 2.5em; | |||
color: white; | |||
min-width: 20em; | |||
text-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em; | |||
} | |||
.banner-box-wide { | |||
width: 80%; | |||
} | |||
.banner-box-left { | |||
left: 5%; | |||
text-align: left; | |||
} | |||
.banner-box-right { | |||
right: 5%; | |||
text-align: right; | |||
} | |||
.banner-box .name { | |||
font-size: 3em; | |||
white-space: nowrap; | |||
line-height: 1.2em; | |||
} | |||
.banner-box .type { | |||
font-size: 2em; | |||
line-height: 1.2em; | |||
} | } |
Latest revision as of 11:03, 1 August 2024
/* CSS placed here will be applied to all skins */
div#toc{
background: rgba(210, 210, 210, 0.18);
padding: 1%;
width: 40%;
border: solid #a2a9b1 2px;
}
.banner-image {
position: relative;
overflow: hidden;
max-width: 1800px;
height: auto;
margin-bottom: .6em;
border: 2px solid black;
}
.banner-image img {
max-width: 300px;
height: auto;
width: auto;
}
.banner-box {
position: absolute;
z-index: 2;
margin-top: 2.5em;
color: white;
min-width: 20em;
text-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em;
}
.banner-box-wide {
width: 80%;
}
.banner-box-left {
left: 5%;
text-align: left;
}
.banner-box-right {
right: 5%;
text-align: right;
}
.banner-box .name {
font-size: 3em;
white-space: nowrap;
line-height: 1.2em;
}
.banner-box .type {
font-size: 2em;
line-height: 1.2em;
}