މީޑިއާވިކީ:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
Did font change o, reverted back to the version of the last change and added the font size code!!! |
||
ފޮޅުވަތް 3:
}
/*
}
q {
}
blockquote {
overflow: hidden; /* Avoid collision of background with floating elements */
}
strong.selflink {
font-weight: 700; /* Prevent the 'double bold' bug in Firefox when using DirectWrite */
}
/* Consistent size for
.mw-body sub,
.mw-body sup,
span.reference /* for Parsoid */ {
}
/* Main page fixes */
#interwiki-completelist {
}
body.page-Main_Page #ca-delete {
display: none !important;
}
body.page-Main_Page #mp-topbanner {
clear: both;
}
/* Edit window toolbar */
#toolbar {
height: 22px;
margin-bottom: 6px;
}
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
}
/* Highlight
body.action-info
background: #DEF;
}
Line 87 ⟶ 55:
div.reflist,
div.refbegin {
}
div.refbegin-100 {
}
div.reflist ol.references {
list-style-type: inherit; /* Enable custom list style types */
}
/* Highlight clicked reference in blue to help navigation */
span.citation:target {
background-color: #DEF;
}
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
}
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
}
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
word-wrap: break-word;
}
/* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld,
but should be included in the printed version */
@media screen, handheld {
.citation .printonly {
display: none;
}
}
/* Reset top margin for lists embedded in columns */
div.columns {
}
div.columns dl,
div.columns ol,
div.columns ul {
}
Line 137 ⟶ 110:
div.columns li,
div.columns dd dd {
}
/* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */
.flowlist ul {
}
.flowlist ol {
}
.flowlist dl {
}
/* Style for horizontal lists (separator following item).
IE8-specific classes are assigned in [[MediaWiki:Common.js]].
@source mediawiki.org/wiki/Snippets/Horizontal_lists
@revision
@author [[User:Edokter]]
*/
Line 165 ⟶ 139:
.hlist ol,
.hlist ul {
}
/* Display list items inline */
Line 172 ⟶ 146:
.hlist dt,
.hlist li {
}
/* Display nested lists inline */
Line 183 ⟶ 157:
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
}
/* Generate interpuncts */
.hlist dt:after {
}
.hlist dd:after,
.hlist li:after {
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
Line 207 ⟶ 183:
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
}
.hlist ol > li {
}
.hlist ol > li:before {
white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
}
Line 235 ⟶ 219:
.plainlist ol,
.plainlist ul {
}
.plainlist ol li,
.plainlist ul li {
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
width: 100%;
margin: auto;
}
.navbox-inner,
.navbox-subgroup {
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
}
th.navbox-group { /* Group style */
}
.navbox,
.navbox-subgroup {
}
.navbox-list {
}
.navbox th,
.navbox-title {
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
}
.navbox-even {
}
.navbox-odd {
}
table.navbox {
margin-top: 1em; /* Prevent preceding content from clinging to navboxes */
}
table.navbox table.navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
table.navbox + table.navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox .hlist td dl,
Line 317 ⟶ 296:
.navbox td.hlist ol,
.navbox td.hlist ul {
}
/* Default styling for Navbar template */
.navbar {
}
.navbar ul {
}
.mw-body-content .navbar ul {
}
.navbar li {
}
.navbar.mini li
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
}
.navbox .navbar {
}
.navbox-title .navbar {
width: 6em;
}
Line 362 ⟶ 339:
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
}
.
width: 6em;
}
/* Infobox template style */
.infobox {
}
.infobox caption {
}
.infobox td,
.infobox th {
}
.infobox.bordered {
}
.infobox.bordered td,
.infobox.bordered th {
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
}
.infobox.sisterproject {
}
.infobox.standard-talk {
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
}
Line 444 ⟶ 420:
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
}
Line 460 ⟶ 436:
country subdivisions, cities, etc. */
.infobox.geography {
}
.infobox.geography td,
.infobox.geography th {
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
}
/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
}
Line 506 ⟶ 482:
.wikitable td ol,
.wikitable td dl {
}
/* ...unless they also use the hlist class */
Line 515 ⟶ 491:
.wikitable.hlist td ol,
.wikitable.hlist td dl {
}
Line 522 ⟶ 498:
[[Template:Multi-video_start]] */
div.listenlist {
}
/* Fix for hieroglyphs specificality issue in infoboxes ([[Phabricator:43869]]) */
table.mw-hiero-table td {
}
/* Style rules for media list templates */
div.medialist {
}
div.medialist ul {
}
div.medialist ul li {
}
div.medialist ul li li {
}
Line 567 ⟶ 543:
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class
is used (notably Template:PDFlink). This works in IE, unlike the above. */
div#content span.PDFlink a,
div#mw_content span.PDFlink a {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
/* @noflip */
padding-right: 18px;
}
/* Content in columns with CSS instead of tables ([[Template:Columns]]) */
div.columns-2 div.column {
}
div.columns-3 div.column {
}
div.columns-4 div.column {
}
div.columns-5 div.column {
}
/* Messagebox templates */
.messagebox {
}
.messagebox.merge {
}
.messagebox.cleanup {
}
.messagebox.standard-talk {
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
}
.messagebox.small {
}
.messagebox.small-talk {
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
}
td.mbox-image { /* The left image cell */
}
td.mbox-imageright { /* The right image cell */
}
td.mbox-empty-cell { /* An empty narrow cell */
}
/* Article message box styles */
table.ambox {
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
}
.ambox td.mbox-image { /* The left image cell */
}
.ambox td.mbox-imageright { /* The right image cell */
}
table.ambox-notice {
}
table.ambox-speedy {
}
table.ambox-delete {
}
table.ambox-content {
}
table.ambox-style {
}
table.ambox-move {
}
table.ambox-protection {
}
/* Image message box styles */
table.imbox {
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
}
table.imbox-notice {
}
table.imbox-speedy {
}
table.imbox-delete {
}
table.imbox-content {
}
table.imbox-style {
}
table.imbox-move {
}
table.imbox-protection {
}
table.imbox-license {
}
table.imbox-featured {
}
/* Category message box styles */
table.cmbox {
}
table.cmbox-notice {
}
table.cmbox-speedy {
}
table.cmbox-delete {
}
table.cmbox-content {
}
table.cmbox-style {
}
table.cmbox-move {
}
table.cmbox-protection {
}
/* Other pages message box styles */
table.ombox {
}
table.ombox-notice {
}
table.ombox-speedy {
}
table.ombox-delete {
}
table.ombox-content {
}
table.ombox-style {
}
table.ombox-move {
}
table.ombox-protection {
}
/* Talk page message box styles */
table.tmbox {
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
}
table.tmbox-speedy {
}
table.tmbox-delete {
}
table.tmbox-content {
}
table.tmbox-style {
}
table.tmbox-move {
}
table.tmbox-protection,
table.tmbox-notice {
}
/* Disambig and set index box styles */
table.dmbox {
}
/* Footer and header message box styles */
table.fmbox {
}
table.fmbox-system {
}
table.fmbox-warning {
}
table.fmbox-editnotice {
}
/* Div based "warning" style fmbox messages. */
Line 921 ⟶ 896:
div.titleblacklist-warning,
div.locked-warning {
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #aaa;
background: #f9f9f9;
padding: 0.25em 0.9em;
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "
they override "table.ambox + table.ambox" above. */
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
Line 960 ⟶ 941:
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
}
body.mediawiki .compact-ambox table.mbox-small-left {
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
}
.compact-ambox table .mbox-text-span {
}
.skin-vector .compact-ambox table .mbox-text-span {
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
}
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
div.noarticletext {
}
/* Hide (formatting) elements from screen, but not from screenreaders */
.visualhide {
}
/* Bold save button */
#wpSave {
font-weight: bold;
}
/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
display: inline !important;
color: #f00;
background-color: #0f0;
}
Line 1,019 ⟶ 1,011:
[[m:MediaWiki:Common.css]] */
.check-icon a.new {
}
Line 1,026 ⟶ 1,018:
.nounderlines a,
.IPA a:link, .IPA a:visited {
}
Line 1,032 ⟶ 1,024:
from .de. Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
}
div.NavFrame + div.NavFrame {
}
div.NavPic {
}
div.NavFrame div.NavHead {
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
}
div.NavEnd {
}
a.NavToggle {
}
/* Hatnotes and disambiguation notices */
.hatnote {
}
.hatnote i {
}
div.hatnote {
}
div.hatnote + div.hatnote {
}
/* Allow transcluded pages to display in lists rather than a table.
Compatible in Firefox; incompatible in IE6. */
.listify td { display: list-item; }
.listify tr { display: block; }
Line 1,111 ⟶ 1,104:
white-space: nowrap;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
Line 1,119 ⟶ 1,111:
.longitude, .latitude { white-space: nowrap; }
/* When <div class="nonumtoc"> is used on the table of contents,
the ToC will display without numbers */
.nonumtoc .tocnumber {
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
}
Line 1,153 ⟶ 1,140:
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
}
/* Styling for Template:Quote */
blockquote.templatequote {
margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
}
/* User block messages */
div.user-block {
}
Line 1,177 ⟶ 1,167:
1) Where desired
2) Links when we don't want them to
3) Bold "links" to the page itself
4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink
sup.reference a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
}
/* For template documentation */
.template-documentation {
}
/* Inline divs in ImageMaps (code borrowed from de.wiki) */
.imagemap-inline div {
display: inline;
}
/* Increase the height of the image upload box */
#wpUploadDescription {
}
/* Minimum thumb width */
.thumbinner {
}
/* The backgrounds for galleries. */
div#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #F9F9F9;
}
/* Put a chequered background behind images, only visible if they have transparency.
'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, portals or with opt-out. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background: #fff;
}
Line 1,215 ⟶ 1,227:
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
}
body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback {
display: block; /* Override inline block mode */
margin-bottom: 1em;
/* @noflip */
clear: right; /* Clear any info boxes that stick out */
/* @noflip */
float: right; /* Prevents margin collapsing */
}
Line 1,226 ⟶ 1,247:
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-size:90%;
}
/* Hide stuff meant for accounts with special permissions. Made visible again in
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-
[[MediaWiki:Group-templateeditor
.sysop-show,
.accountcreator-show,
.templateeditor-show,
.
display: none;
}
Line 1,245 ⟶ 1,265:
* Hide the redlink generated by {{Editnotice}},
* this overrides the ".sysop-show { display: none; }" above that applies
* to the same link as well.
*
* See [[Phabricator:45013]].
*/
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink, .mw-ve-editNotice .editnotice-redlink {
display: none !important;
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
}
ul.permissions-errors {
}
/* No linewrap on the labels of the login/signup page */
body.page-Special_UserLogin .mw-label label,
body.page-Special_UserLogin_signup .mw-label label {
white-space: nowrap;
}
/* Pie chart test: Transparent borders */
.transborder {
}
* html .transborder { /* IE6 */
border: solid #000001;
filter: chroma(color=#000001);
}
Line 1,272 ⟶ 1,299:
.times-serif,
span.texhtml {
}
span.texhtml {
}
span.texhtml span.texhtml {
}
Line 1,289 ⟶ 1,313:
.digits,
.texhtml {
}
Line 1,310 ⟶ 1,323:
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
}
Line 1,317 ⟶ 1,330:
On narrow and mobile screens, let them collapse into a single column */
.portal-column-left {
}
.portal-column-right {
}
.portal-column-left-wide {
}
.portal-column-right-narrow {
}
.portal-column-left-extra-wide {
}
.portal-column-right-extra-narrow {
}
@media only screen and (max-width: 800px) {
}
}
/* Formerly for announcements, now used intermittently */
#bodyContent .letterhead {
}
/* Tree style lists */
.treeview ul {
}
.treeview li {
zoom: 1; /* BE KIND TO IE6 */;
}
.treeview li li {
}
.treeview li li.lastline {
}
.treeview li.emptyline > ul {
}
.treeview li.emptyline > ul > li:first-child {
}
Line 1,396 ⟶ 1,406:
td .sortkey,
th .sortkey {
}
/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element
display: none !important;
}
/* Work-around for [[Phabricator:25965]] (Kaltura advertisement) */
.k-player .k-attribution {
}
/* Move 'play' button of video player to bottom left corner */
.PopUpMediaTransform a .play-btn-large {
}
/* Workaround to keep editnotices readable in VE view.
Long term, editnotices should become a core feature so that they can be designed responsive. */
.mw-ve-editNotice .mbox-image {
display: none;
}
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 1em;
}
|