Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* | /* Translate Extension customisation */ | ||
#mw-content-text hr { | |||
display: none; | |||
} | |||
div.mw-translate-page-info { | |||
text-align:right | |||
} | |||
div.mw-pt-translate-header { | |||
text-align:right | |||
} | |||
. | div.mw-pt-languages { | ||
background: #F9F9F9; | background: #F9F9F9; | ||
border: 1px solid #E9E9E9; | border: 1px solid #E9E9E9; | ||
margin: 0 0 1em 0; | margin: 0 0 1em 0; | ||
text-align: left; | text-align: left; | ||
} | } | ||
. | div.mw-pt-languages table { | ||
background: transparent; | |||
margin | border-width: 0px; | ||
padding | margin: 0px; | ||
padding: 0px; | |||
} | } | ||
. | td.mw-pt-languages-label { | ||
display: none; | |||
} | } | ||
/* | /* Nice "wikitable" table class */ | ||
table.wikitable { | |||
table.wikitable { | |||
margin-top:1em; | margin-top:1em; | ||
margin-bottom:1em; | margin-bottom:1em; | ||
Line 58: | Line 52: | ||
margin-left:inherit; | margin-left:inherit; | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } | ||
/* Widget template */ | |||
div.widget_title { | |||
background-image: url('//upload.wikimedia.org/wikipedia/commons/8/8c/Bluebg_rounded_croped.png'); | |||
background-repeat: no-repeat; | |||
height: 32px; | |||
position: relative; | |||
top: 2px; | |||
margin: 0px; | |||
} | } | ||
/* | /* Language font */ | ||
[lang=fa] { font-family: | |||
Tahoma, 'DejaVu Sans', sans-serif; } | |||
/* Hide title on main page */ | |||
body.page-Main_Page div.mw-body h1.firstHeading { | |||
display: none; | |||
} | |||
/* Custom logo size */ | |||
#p-logo { | |||
width: 146px; | |||
height: 125px; | |||
} | |||
} | |||
} | |||
Latest revision as of 11:37, 2 May 2021
/* Translate Extension customisation */
#mw-content-text hr {
display: none;
}
div.mw-translate-page-info {
text-align:right
}
div.mw-pt-translate-header {
text-align:right
}
div.mw-pt-languages {
background: #F9F9F9;
border: 1px solid #E9E9E9;
margin: 0 0 1em 0;
text-align: left;
}
div.mw-pt-languages table {
background: transparent;
border-width: 0px;
margin: 0px;
padding: 0px;
}
td.mw-pt-languages-label {
display: none;
}
/* Nice "wikitable" table class */
table.wikitable {
margin-top:1em;
margin-bottom:1em;
background:#F9F9F9;
border:1px #AAA solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
border:1px #AAA solid;
padding:.3em;
}
table.wikitable th, .wikitable_header {
background:#F2F2F2;
text-align:left;
}
table.wikitable caption {
margin-left:inherit;
margin-right:inherit;
}
/* Widget template */
div.widget_title {
background-image: url('//upload.wikimedia.org/wikipedia/commons/8/8c/Bluebg_rounded_croped.png');
background-repeat: no-repeat;
height: 32px;
position: relative;
top: 2px;
margin: 0px;
}
/* Language font */
[lang=fa] { font-family:
Tahoma, 'DejaVu Sans', sans-serif; }
/* Hide title on main page */
body.page-Main_Page div.mw-body h1.firstHeading {
display: none;
}
/* Custom logo size */
#p-logo {
width: 146px;
height: 125px;
}
}
}