MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 98: | Line 98: | ||
margin: 0; | margin: 0; | ||
} | } | ||
.hlist ul { | .hlist ul { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | |||
.adventure { | |||
background-color: #ff8c00; | |||
font-weight: bold; | |||
} | |||
.body_of_water { | |||
background-color: #000080; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.campaign { | |||
background-color: #ffff54; | |||
font-weight: bold; | |||
} | |||
.character { | |||
background-color: #2f4f4f; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.continent { | |||
background-color: #00ff00; | |||
font-weight: bold; | |||
} | |||
.country { | |||
background-color: #0000ff; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.deity { | |||
background-color: #ff00ff; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.forest { | |||
background-color: #008000; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.item { | |||
background-color: #8b0000; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.location { | |||
background-color: #ff1493; | |||
font-weight: bold; | |||
color: white; | |||
} | |||
.organization { | |||
background-color: #7fffd4; | |||
font-weight: bold; | |||
} | |||
.race { | |||
background-color: #deb887; | |||
font-weight: bold; | |||
} | |||
.session { | |||
background-color: #dda0dd; | |||
font-weight: bold; | |||
} | } | ||
.settlement { | .settlement { | ||
background-color: #00bfff; | |||
font-weight: bold; | |||
} | } |
Revision as of 08:57, 30 May 2022
/* CSS Document */
.lang {
position: relative;
display: inline-block;
}
.lang .tooltiplang {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
z-index: 1;
top: 150%;
left: 50%;
margin-left: -60px;
}
.lang .tooltiplang::after {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent black transparent;
}
.lang:hover .tooltiplang {
visibility: visible;
}
.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
box-sizing: border-box;
}
.mbox-image {
border: none;
padding: 2px 0 2px 0.9em;
text-align: center;
}
.mbox-text {
border: none;
padding: 0.25em 0.9em;
width: 100%;
}
.ombox-notice {
border: 1px solid #a2a9b1;
}
.mbox-small {
clear: right;
float: right;
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
.hlist li {
margin: 0;
display: inline;
}
.hlist li:after {
content: " · ";
font-weight: bold;
}
.navbar li {
word-spacing: -0.125em;
}
.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after {
content: none;
}
.plainlist ol li, .plainlist ul li {
margin-bottom: 0;
}
.plainlist ol, .plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.hlist ul {
margin: 0;
padding: 0;
}
.adventure {
background-color: #ff8c00;
font-weight: bold;
}
.body_of_water {
background-color: #000080;
font-weight: bold;
color: white;
}
.campaign {
background-color: #ffff54;
font-weight: bold;
}
.character {
background-color: #2f4f4f;
font-weight: bold;
color: white;
}
.continent {
background-color: #00ff00;
font-weight: bold;
}
.country {
background-color: #0000ff;
font-weight: bold;
color: white;
}
.deity {
background-color: #ff00ff;
font-weight: bold;
color: white;
}
.forest {
background-color: #008000;
font-weight: bold;
color: white;
}
.item {
background-color: #8b0000;
font-weight: bold;
color: white;
}
.location {
background-color: #ff1493;
font-weight: bold;
color: white;
}
.organization {
background-color: #7fffd4;
font-weight: bold;
}
.race {
background-color: #deb887;
font-weight: bold;
}
.session {
background-color: #dda0dd;
font-weight: bold;
}
.settlement {
background-color: #00bfff;
font-weight: bold;
}