Tribunal de Justiça do Estado da Bahia
Mudanças entre as edições de "MediaWiki:Common.css"
De DMO
| Linha 3: | Linha 3: | ||
//andrea de carvalho costa - ocultando barra de administração | //andrea de carvalho costa - ocultando barra de administração | ||
| − | + | * Don't display some stuff on the main page */ | |
| − | # | + | body.page-Main_Page #deleteconfirm, |
| − | + | body.page-Main_Page #t-cite, | |
| − | + | body.page-Main_Page #footer-info-lastmod, | |
| − | + | body.action-view.page-Main_Page #siteSub, | |
| + | body.action-view.page-Main_Page #contentSub, | ||
| + | body.action-view.page-Main_Page h1.firstHeading { | ||
| + | display: none !important; | ||
} | } | ||
| − | # | + | /* Position Main Page top banner */ |
| − | + | body.page-Main_Page #mp-topbanner { | |
| − | + | margin-top: 0 !important; | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
} | } | ||
| − | # | + | /* Position coordinates */ |
| + | #coordinates { | ||
| + | position: absolute; | ||
| + | top: 0em; | ||
| + | right: 0em; | ||
| + | float: right; | ||
| + | margin: 0em; | ||
| + | padding: 0em; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
| − | + | text-align: right; | |
| − | + | text-indent: 0; | |
| − | + | font-size: 85%; | |
| − | font-size: | + | |
| − | + | ||
| − | + | ||
| − | + | ||
text-transform: none; | text-transform: none; | ||
| + | white-space: nowrap; | ||
} | } | ||
| − | + | /* For positioning icons at top-right, used in Templates | |
| − | + | "Spoken Article" and "Featured Article" */ | |
| − | + | div.topicon { | |
| − | margin: | + | position: absolute; |
| − | + | top: -2em; | |
| + | margin-right: -10px; | ||
| + | display: block !important; | ||
} | } | ||
| − | + | /* FR topicon position */ | |
| − | + | div.flaggedrevs_short { | |
| − | li# | + | position: absolute; |
| + | top: -3em; | ||
| + | right: 80px; | ||
| + | z-index: 1; | ||
| + | margin-left: 0; | ||
| + | /* Because this is not yet a topicon, we emulate it's behavior, | ||
| + | this ensure compatibility with edit lead section gadget. */ | ||
| + | margin-right: -10px; | ||
| + | } | ||
| + | |||
| + | /* On rtl interfaces, we need to override the defaults. | ||
| + | It is content included (so ltr), but positioned in part of the rtl interface. */ | ||
| + | body.rtl #protected-icon { | ||
| + | /* @noflip */ | ||
| + | left: 55px; | ||
| + | } | ||
| + | body.rtl #spoken-icon, | ||
| + | body.rtl #commons-icon { | ||
| + | /* @noflip */ | ||
| + | left: 30px; | ||
| + | } | ||
| + | body.rtl #featured-star { | ||
| + | /* @noflip */ | ||
| + | left: 10px; | ||
| + | } | ||
| + | |||
| + | /* Menu over FR box */ | ||
| + | div.vectorMenu div { | ||
| + | z-index: 2; | ||
| + | } | ||
| + | |||
| + | /* Display "From Wikipedia, the free encyclopedia" */ | ||
| + | #siteSub { | ||
| + | display: inline; | ||
| + | font-size: 92%; | ||
| + | } | ||
| + | |||
| + | /* Bullets for Good and Featured interwiki links */ | ||
| + | li.GA { | ||
| + | list-style-image: url(//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png); | ||
| + | } | ||
| + | li.FA { | ||
| + | list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png); | ||
| + | } | ||
| + | |||
| + | /* Styling for updated markers on watchlist, history and recent/related changes */ | ||
| + | li.mw-changeslist-line-watched, | ||
| + | li.mw-history-line-updated { | ||
| + | list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png); | ||
| + | } | ||
| + | |||
| + | /* Blue instead of yellow padlock for secure links. */ | ||
| + | #bodyContent a.external[href ^="https://"], | ||
| + | .link-https { | ||
| + | background: url(//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif) center right no-repeat; | ||
| + | /* @noflip */ | ||
| + | padding-right: 16px; | ||
| + | } | ||
| + | |||
| + | /* (Soft) redirect styling (bug:26544) */ | ||
| + | div.redirectMsg img { | ||
| + | vertical-align: text-bottom; | ||
| + | } | ||
| + | .redirectText { | ||
| + | font-size: 150%; | ||
| + | margin: 5px; | ||
| + | } | ||
Edição das 15h22min de 19 de agosto de 2013
/** o código CSS colocado aqui será aplicado a todos os temas */
//andrea de carvalho costa - ocultando barra de administração
* Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.action-view.page-Main_Page #siteSub,
body.action-view.page-Main_Page #contentSub,
body.action-view.page-Main_Page h1.firstHeading {
display: none !important;
}
/* Position Main Page top banner */
body.page-Main_Page #mp-topbanner {
margin-top: 0 !important;
}
/* Position coordinates */
#coordinates {
position: absolute;
top: 0em;
right: 0em;
float: right;
margin: 0em;
padding: 0em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* For positioning icons at top-right, used in Templates
"Spoken Article" and "Featured Article" */
div.topicon {
position: absolute;
top: -2em;
margin-right: -10px;
display: block !important;
}
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 80px;
z-index: 1;
margin-left: 0;
/* Because this is not yet a topicon, we emulate it's behavior,
this ensure compatibility with edit lead section gadget. */
margin-right: -10px;
}
/* On rtl interfaces, we need to override the defaults.
It is content included (so ltr), but positioned in part of the rtl interface. */
body.rtl #protected-icon {
/* @noflip */
left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
/* @noflip */
left: 30px;
}
body.rtl #featured-star {
/* @noflip */
left: 10px;
}
/* Menu over FR box */
div.vectorMenu div {
z-index: 2;
}
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
display: inline;
font-size: 92%;
}
/* Bullets for Good and Featured interwiki links */
li.GA {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png);
}
li.FA {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png);
}
/* Styling for updated markers on watchlist, history and recent/related changes */
li.mw-changeslist-line-watched,
li.mw-history-line-updated {
list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}
/* Blue instead of yellow padlock for secure links. */
#bodyContent a.external[href ^="https://"],
.link-https {
background: url(//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif) center right no-repeat;
/* @noflip */
padding-right: 16px;
}
/* (Soft) redirect styling (bug:26544) */
div.redirectMsg img {
vertical-align: text-bottom;
}
.redirectText {
font-size: 150%;
margin: 5px;
}