Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Tag: Reverted |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
#toc { | |||
float: right; | |||
border-radius: 0.3rem; | |||
margin: 0 0 0.5em 1.5em; | |||
max-width: 25%; | |||
top:0; | |||
} | |||
#toc a { | |||
flex-grow: 1; | |||
padding: 0.25em 0.5em; | |||
} | |||
.top-icons .gvi-icons { | .top-icons .gvi-icons { | ||
display: inline-block; | display: inline-block; | ||
Line 29: | Line 42: | ||
} | } | ||
a { | a.external { | ||
background: none; | background: none; | ||
padding-right: 0; | padding-right: 0; | ||
} | } | ||
div.mw-highlight > pre { | |||
border: #25A1A1 dashed 1px; | border: #25A1A1 dashed 1px; | ||
display: block; | display: block; | ||
Line 84: | Line 97: | ||
color: inherit !important; | color: inherit !important; | ||
font-size: 0.65rem; | font-size: 0.65rem; | ||
} | |||
/* Used for messageboxes on CMF3 Functions */ | |||
.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; | |||
} | |||
/* Used for Notes on CMF3 Function */ | |||
dl.command_description { | |||
margin: auto; | |||
max-width: 100em; | |||
} | |||
dl.command_description dt.note { /* non-template user dt */ | |||
float: left; | |||
position: relative; | |||
top: -1.6em; | |||
white-space: pre; | |||
width: 0; | |||
} | |||
dl.command_description dt.noteauthor { | |||
position: absolute; | |||
} | |||
dl.command_description dd:after { | |||
clear: both; | |||
content: ''; | |||
display: block; | |||
} | |||
dl.command_description dd.note { | |||
margin: 0; | |||
padding: 0.3em 0.3em 0.3em 1em; | |||
background-color: #EEE; | |||
} | |||
dl.command_description dd.notedate { | |||
margin: 0; | |||
padding: 0.125em; | |||
clear: both; | |||
font-size: 0.9em; | |||
text-align: right; | |||
border-bottom: 1px solid #CCC; | |||
} | |||
dl.command_description dd.note { | |||
margin-bottom: 1.5em; | |||
} | |||
dl.command_description.usernote_ofp dd.note, | |||
dl.command_description.usernote_arma0 dd.note { | |||
border-right: 0.25em solid #AA8; | |||
} | |||
dl.command_description.usernote_arma1 dd.note { | |||
border-right: 0.25em solid #FFDD7F; | |||
} | |||
dl.command_description.usernote_arma2 dd.note { | |||
border-right: 0.25em solid #6EA859; | |||
} | |||
dl.command_description.usernote_arma2oa dd.note { | |||
border-right: 0.25em solid #E1D6A8; | |||
} | |||
dl.command_description.usernote_arma3 dd.note { | |||
border-right: 0.25em solid #ADBF83; | |||
} | |||
dl.command_description.usernote_tkoh dd.note { | |||
border-right: 0.25em solid #8CF; | |||
} | |||
dl.command_description code { | |||
overflow: auto; | |||
} | } |
Latest revision as of 23:25, 8 February 2023
#toc {
float: right;
border-radius: 0.3rem;
margin: 0 0 0.5em 1.5em;
max-width: 25%;
top:0;
}
#toc a {
flex-grow: 1;
padding: 0.25em 0.5em;
}
.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;
}
/* Used for messageboxes on CMF3 Functions */
.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;
}
/* Used for Notes on CMF3 Function */
dl.command_description {
margin: auto;
max-width: 100em;
}
dl.command_description dt.note { /* non-template user dt */
float: left;
position: relative;
top: -1.6em;
white-space: pre;
width: 0;
}
dl.command_description dt.noteauthor {
position: absolute;
}
dl.command_description dd:after {
clear: both;
content: '';
display: block;
}
dl.command_description dd.note {
margin: 0;
padding: 0.3em 0.3em 0.3em 1em;
background-color: #EEE;
}
dl.command_description dd.notedate {
margin: 0;
padding: 0.125em;
clear: both;
font-size: 0.9em;
text-align: right;
border-bottom: 1px solid #CCC;
}
dl.command_description dd.note {
margin-bottom: 1.5em;
}
dl.command_description.usernote_ofp dd.note,
dl.command_description.usernote_arma0 dd.note {
border-right: 0.25em solid #AA8;
}
dl.command_description.usernote_arma1 dd.note {
border-right: 0.25em solid #FFDD7F;
}
dl.command_description.usernote_arma2 dd.note {
border-right: 0.25em solid #6EA859;
}
dl.command_description.usernote_arma2oa dd.note {
border-right: 0.25em solid #E1D6A8;
}
dl.command_description.usernote_arma3 dd.note {
border-right: 0.25em solid #ADBF83;
}
dl.command_description.usernote_tkoh dd.note {
border-right: 0.25em solid #8CF;
}
dl.command_description code {
overflow: auto;
}