Difference between revisions of "MediaWiki:Common.css"

From cluster wiki
Jump to navigation Jump to search
Line 84: Line 84:
     color: inherit !important;
     color: inherit !important;
     font-size: 0.65rem;
     font-size: 0.65rem;
}
.biki-messagebox {
color: #FFF;
display: flex;
align-items: center;
margin: 0.5em 0;
}
.biki-messagebox > div:nth-child(1) {
min-width: 28px;
max-width: 60px;
min-height: 28px;
max-height: 44px;
flex-shrink: 0;
font-size: 28px;
margin: 0 8px;
overflow: hidden;
text-align: center;
}
.biki-messagebox > div:nth-child(1) img {
vertical-align: sub;
}
.biki-messagebox > div:nth-child(2) {
background-color: #FFF;
color: #333;
flex-grow: 1;
height: 100%;
margin: 0.25em 0.25em 0.25em 0;
overflow: auto;
padding: 0.5em
}
.biki-messagebox-spoiler {
background-color: #FAA;
border: 0.25em solid #D00;
box-shadow: 0 0 1em 0 rgba(0,0,0,0.25);
margin: 2em auto;
padding: 0.25em;
text-align: center;
width: 60em;
min-width: 30em;
max-width: 100%
}
.biki-messagebox-spoiler .spoiler-title {
font-size: large;
font-weight: bold;
}
}

Revision as of 14:48, 17 December 2022

.top-icons .gvi-icons {
    display: inline-block;
}

.top-icons .top-icons-info {
    color: grey;
    font-size: small;
}

dt {
    clear: both;
    font-weight: bold;
    padding: 0.3em;
    position: absolute;
    width: 8.4em;
}

dd {
    margin: 0;
    padding: 0.3em 0.3em 0.3em 9em;
}

dd.seealso {
    column-count: 4;
}

dd.seealso a {
	display: block;
}

a.external {
    background: none;
    padding-right: 0;
}

div.mw-highlight > pre {
	border: #25A1A1 dashed 1px;
	display: block;
	white-space: pre;
}

span.gvi2 {
    background-color: #CCC;
    display: inline-block;
    font-size: 12px;
    height: 32px;
    margin: 1px;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 32px;
}

span.gvi2 span.icon {
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1em;
    text-align: center;
}

span.gvi2 span.version {
    box-sizing: border-box;
    display: block;
    font-family: consolas,monospace;
    font-weight: bold;
    line-height: 1em;
    max-height: 1em;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

span.gvi2 span.version a {
    display: block;
    color: inherit !important;
    font-size: 0.65rem;
}

.biki-messagebox {
	color: #FFF;
	display: flex;
	align-items: center;
	margin: 0.5em 0;
}

.biki-messagebox > div:nth-child(1) {
	min-width: 28px;
	max-width: 60px;
	min-height: 28px;
	max-height: 44px;
	flex-shrink: 0;
	font-size: 28px;
	margin: 0 8px;
	overflow: hidden;
	text-align: center;
}
.biki-messagebox > div:nth-child(1) img {
	vertical-align: sub;
}
.biki-messagebox > div:nth-child(2) {
	background-color: #FFF;
	color: #333;
	flex-grow: 1;
	height: 100%;
	margin: 0.25em 0.25em 0.25em 0;
	overflow: auto;
	padding: 0.5em
}

.biki-messagebox-spoiler {
	background-color: #FAA;
	border: 0.25em solid #D00;
	box-shadow: 0 0 1em 0 rgba(0,0,0,0.25);
	margin: 2em auto;
	padding: 0.25em;
	text-align: center;
	width: 60em;
	min-width: 30em;
	max-width: 100%
}

.biki-messagebox-spoiler .spoiler-title {
	font-size: large;
	font-weight: bold;
}