MediaWiki:Common.css: Difference between revisions

From grimoaire.net

No edit summary
No edit summary
 
Line 2: Line 2:
div.gallerytext > p { font-size: 1px !important; color: transparent !important; line-height: 1% !important }
div.gallerytext > p { font-size: 1px !important; color: transparent !important; line-height: 1% !important }


div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: initial !important; }
div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: #007bff !important; }
h2:has(> span#Stat_Block) {
h2:has(> span#Stat_Block) {
     clear: both;
     clear: both;

Latest revision as of 10:38, 12 September 2023

/* CSS placed here will be applied to all skins */
div.gallerytext > p { font-size: 1px !important; color: transparent !important; line-height: 1% !important }

div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: #007bff !important; }
h2:has(> span#Stat_Block) {
    clear: both;
}
.mw-body {
    max-width: 1500px;
}
body {
    background-image: url(/images/1/1f/Background.jpg);
    background-attachment: fixed;
    background-size: cover;
}
#mw-navbar {
    background-image: url(/images/1/1f/Background.jpg);
    background-attachment: fixed;
    background-size: cover;
    height: 100px;
}
#toc {
    float: none !important;
}
.infobox {
    font-size: 0.8em;
    width:300px;
    float: right;
    margin-left: 7px;
    margin-bottom: 7px;
}
.infobox table {
    border-collapse: separate;
    border-spacing: 0px 0.5em;
}
.infobox p {
    margin-bottom: 0px;
}
.infobox th {
    vertical-align: top;
    padding-right: 0.5em;
}
.infobox #title {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
}
.infobox #subtitle {
    font-size: 1em;
    font-style: italic;
    text-align: center;
}

.statblock {
    /*max-width: 1000px;*/
    column-count: 2;
    background-color: #f9f5dc;
    color: #9b2818;
    padding: 1em;
    margin: 1em;
    box-shadow: 0px 0px 10px black;
    border-top: 10px solid #675831;
    border-bottom: 10px solid #675831;
}
.statblock a {
    color: #9b2818 !important;
}
.statblock .lists {
    color: black;
}
.statblock .lists p {
    padding: 0em;
    margin: 0em;
}
.statblock .lists div {
    padding-bottom: 0.4em;
    break-inside: avoid-column;
}
.statblock .actions {
    color: black;
}
.statblock #name {
    font-size: 2em;
    padding-bottom: 0.1em;
}
.statblock #tagline {
    font-size: 0.9em;
    color: black;
    font-style: italic;
}
.statblock table {
    width: 100%;
}
.statblock #details td{
    text-align: left;
}
.statblock #abilities td{
    text-align: center;
}
.statblock #abilities th{
    text-align: center;
}
.statblock hr {
    border: 2px solid #9b2818;
    opacity: 1;
}
.statblock .h {
    break-after: avoid;
    color: #9b2818;
    border-bottom: 1px solid #9b2818;
    font-size: 180%;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
}
.statblock #main {
    display: inline-block;
    width: 100%;
}
blockquote {
    display: flex;
    font-size: 1em;
    padding: 1em;
    font-style: italic;
    background: lightyellow;
    border: 1px solid #8B8000;
}
blockquote p {
    margin-bottom: 0px;
}
@media only screen and (max-width: 1000px) {
  .infobox {
    border-left: 0px;
    border-right: 0px;
    font-size: 0.8em;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    float: none;
    margin: 0px;
    margin-bottom: 7px;
  }
  .statblock {
    column-count: 1;
  }
}