Difference between revisions of "MediaWiki:Common.css"

From Kiwix
Jump to navigation Jump to search
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Translate Extension customisation */
/* Translate Extension customisation */
div.mw-translate-page-info hr {
#mw-content-text hr {
  display: none;
  display: none;
}
}


table.mw-pt-languages {
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;
    font-size: 0.85em;
     margin: 0 0 1em 0;
     margin: 0 0 1em 0;
    padding: 0.5em 1em;
     text-align: left;
     text-align: left;
}
}
Line 15: Line 21:
div.mw-pt-languages table {
div.mw-pt-languages table {
     background: transparent;
     background: transparent;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
}
}


td.mw-pt-languages-label {
td.mw-pt-languages-label {
  display: none;
  display: none;
}
.divlang ul {
    display: inline;
    margin-left: 0;
    padding-left: 0;
}
.divlang ul li {
    border-left: 1px solid #E4E4E4;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding: 0 0.5em;
}
.divlang ul li.firstlang {
    border-left: none;
    display: inline;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
}


Line 65: 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;
}
}
}