MediaWiki:Common.css: Difference between revisions
From Firrhna Project Wiki
Jump to navigationJump to search
Kawa-neechan (talk | contribs) No edit summary Tag: Reverted |
Kawa-neechan (talk | contribs) No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
.infobox { | |||
background: #1b001f; | |||
border: 1px solid rgba(111,2,124,128); | |||
color: #fff; | |||
float: right; | |||
clear: right; | |||
margin: 0 0 18px 18px; | |||
width: 270px; | |||
} | |||
@media screen and (max-width: 800px) { | |||
.infobox { | |||
float: inherit; | |||
border: initial; | |||
width: initial; | |||
} | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
padding-left: 9px; | |||
} | |||
.infobox th { | |||
text-align: left; | |||
vertical-align: top; | |||
padding-left: 9px; | |||
} | |||
.infobox-title { | |||
background: #6f027c; | |||
border-bottom: 0; | |||
font-size: 18px; | |||
font-weight: 700; | |||
text-align: center !important; | |||
padding: 12px 9px; | |||
} | |||
.infobox-header { | |||
background: #6f027c; | |||
text-align: center !important; | |||
vertical-align: top; | |||
font-size: 14px; | |||
padding: 9px; | |||
} | |||
/* | |||
.infobox td { | |||
padding-right: 9px; | |||
vertical-align: top; | |||
} | |||
.infobox th + td { padding-left: 9px; } */ | |||
/* Dictionary */ | /* Dictionary */ | ||
.tag, .pos-verb::after, .pos-noun::after, .pos-adjective::after, .pos-interjection::after, .pos-proper::after, .pos-numeral::after, .pos-pronoun::after, .pos-phrase::after, .pos-affix::after, .pos-adverb::after, .pos-determiner::after, .pos-conjunction::after, .pos-auxiliary::after, .pos-adposition::after, .pos-abbreviation::after { | .tag, .pos-verb::after, .pos-noun::after, .pos-adjective::after, .pos-interjection::after, .pos-proper::after, .pos-numeral::after, .pos-pronoun::after, .pos-phrase::after, .pos-affix::after, .pos-adverb::after, .pos-determiner::after, .pos-conjunction::after, .pos-auxiliary::after, .pos-adposition::after, .pos-abbreviation::after { |
Revision as of 08:50, 9 September 2024
.infobox {
background: #1b001f;
border: 1px solid rgba(111,2,124,128);
color: #fff;
float: right;
clear: right;
margin: 0 0 18px 18px;
width: 270px;
}
@media screen and (max-width: 800px) {
.infobox {
float: inherit;
border: initial;
width: initial;
}
}
.infobox-image {
text-align: center;
padding-left: 9px;
}
.infobox th {
text-align: left;
vertical-align: top;
padding-left: 9px;
}
.infobox-title {
background: #6f027c;
border-bottom: 0;
font-size: 18px;
font-weight: 700;
text-align: center !important;
padding: 12px 9px;
}
.infobox-header {
background: #6f027c;
text-align: center !important;
vertical-align: top;
font-size: 14px;
padding: 9px;
}
/*
.infobox td {
padding-right: 9px;
vertical-align: top;
}
.infobox th + td { padding-left: 9px; } */
/* Dictionary */
.tag, .pos-verb::after, .pos-noun::after, .pos-adjective::after, .pos-interjection::after, .pos-proper::after, .pos-numeral::after, .pos-pronoun::after, .pos-phrase::after, .pos-affix::after, .pos-adverb::after, .pos-determiner::after, .pos-conjunction::after, .pos-auxiliary::after, .pos-adposition::after, .pos-abbreviation::after {
font-size: 60%;
margin-left: 0.5em;
padding: 0.20em 0.5em;
position: relative;
top: -0.25em;
border-radius: 0.5em;
color: #ffffff;
}
.pos-verb::after {
background: #9c27b0;
content: 'verb';
}
.pos-noun::after {
background: #3f51b5;
content: 'noun';
}
.pos-adjective::after {
background: #af6c0a;
content: 'adj';
}
.pos-interjection::after {
background: #ff9800;
content: 'intj';
}
.pos-proper::after {
background: #673ab7;
content: 'prop';
}
.pos-numeral::after {
background: #5f8b2d;
content: 'num';
}
.pos-pronoun::after {
background: #b51b86;
content: 'pron';
}
.pos-phrase::after {
background: #607d8b;
content: 'phrase';
}
.pos-affix::after {
background: #726e6e;
content: 'affix';
}
.pos-adverb::after {
background: #3a831c;
content: 'adv';
}
.pos-determiner::after {
background: #4caf50;
content: 'det';
}
.pos-conjunction::after {
background: #b7a92f;
content: 'conj';
}
.pos-auxiliary::after {
background: #1c8362;
content: 'aux';
}
.pos-adposition::after {
background: #833a1c;
content: 'adp';
}
.pos-abbreviation::after {
background: #874493;
content: 'abbr';
}