MediaWiki:Wikia.css: diferència entre les revisions
 Correcció de codis  | 
				m Applying changes that should make this CSS file HTTPS-ready. If you have any questions or noticed issues related to this edit, please reach out to us using the Special:Contact page.  | 
				||
| (2 revisions intermèdies per un altre usuari que no es mostra) | |||
| Línia 111: | Línia 111: | ||
.HotSpotsModule li div div {  | .HotSpotsModule li div div {  | ||
width: 70px;  | width: 70px;  | ||
}  | }  | ||
| Línia 214: | Línia 190: | ||
/* Canvi del fons del masthead - afegeix engranatge */  | /* Canvi del fons del masthead - afegeix engranatge */  | ||
.UserProfileMasthead .masthead-info hgroup {  | .UserProfileMasthead .masthead-info hgroup {  | ||
     background-image: url("  |      background-image: url("https://images.wikia.nocookie.net/eldetectiuconan/ca/images/6/6c/Engranatge_transparent.png"), -moz-linear-gradient(center top, #5A5A5A 0%, #2F3439 100%);  | ||
     background-image: url("  |      background-image: url("https://images.wikia.nocookie.net/eldetectiuconan/ca/images/6/6c/Engranatge_transparent.png");  | ||
     background-position: right center;  |      background-position: right center;  | ||
     background-repeat: no-repeat;  |      background-repeat: no-repeat;  | ||
| Línia 297: | Línia 273: | ||
    color: Black !important;  |     color: Black !important;  | ||
    margin-right: 4px !important;  |     margin-right: 4px !important;  | ||
}  | |||
/*============================  | |||
         9. Noticia  | |||
  ============================*/  | |||
  /** Fons **/  | |||
/* Fons general */  | |||
body.ns-116 {  | |||
    background: #666 !important;  | |||
}  | |||
/* Fons del contingut */  | |||
body.ns-116 .WikiaPage {  | |||
    background: url("https://images.wikia.nocookie.net/__cb20140112125207/eldetectiuconan/ca/images/0/00/Fons_Noticia_DCW_L.png") repeat-y left, url("https://images.wikia.nocookie.net/eldetectiuconan/ca/images/6/62/Fons_Noticia_DCW_R.png") repeat-y scroll right center, none repeat scroll 0 0 white;  | |||
}  | |||
/* Treie l'opacitat al contingut de l'article per a que es vegi el fons */  | |||
body.ns-116 .WikiaPage .WikiaPageBackground {  | |||
    opacity: 0;  | |||
    -khtml-opacity: 0;  | |||
    -moz-opacity: 0;  | |||
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";  | |||
    filter: alpha(opacity=0);  | |||
}  | |||
/* Per a que es vegi el fons, donem marge intern i empetitim l'ample */  | |||
body.ns-116 .WikiaGrid .grid-4 {  | |||
    width: 990px !important;  | |||
    padding: 0px 10px 0px;  | |||
}  | |||
  /** Header **/  | |||
/* Atenció: Aquest header va en contra de les normes totalment, no el copieu a menys que estiguis autoritzat a fer-ho o bé estigui totalment justificat */  | |||
body.ns-116 .WikiHeader {  | |||
    background: url("https://images.wikia.nocookie.net/eldetectiuconan/ca/images/0/0f/Fons_Noticia_DCW_Header_2.png") no-repeat center;  | |||
    height: 150px;  | |||
    border: 0 none;  | |||
    margin: 15px 0;  | |||
}  | |||
/* Desactiva el logo - momentani */  | |||
body.ns-116 .WikiHeader .wordmark.graphic img {  | |||
    display: none;  | |||
}  | |||
/* Desactivem el comptador d'articles del wiki */  | |||
body.ns-116 .WikiaPageHeader > .tally {  | |||
    display: none !important;  | |||
}  | |||
/* Movem els botons on no molestin */  | |||
body.ns-116 .WikiHeader .buttons {  | |||
    top: 79px;  | |||
    right: 24px;  | |||
}  | |||
/* Desactivem el botó de contribuir */  | |||
body.ns-116 .WikiHeader .buttons .contribute {  | |||
    display: none;  | |||
}  | |||
body.ns-116 .WikiHeader .wordmark.graphic {  | |||
    cursor: pointer;  | |||
    display: block;  | |||
    height: 106px !important;  | |||
    margin: -15px auto auto;  | |||
    width: 435px !important;  | |||
}  | |||
/* Envia el panell de navegació avall */  | |||
body.ns-116 .WikiHeader nav {  | |||
    bottom: 11px;  | |||
    left: 0;  | |||
    margin: auto;  | |||
    max-width: 995px;  | |||
    width: 995px;  | |||
    top: 124px;  | |||
}  | |||
body.ns-116 .WikiaMainContentContainer {  | |||
    margin-right: 0;  | |||
}  | |||
/* Treu l'ombra al panell de navegació inferior */  | |||
/*  | |||
body.ns-116 .WikiHeader .subnav li:hover {  | |||
    box-shadow: none;   | |||
    -moz-box-shadow: none;   | |||
    -webkit-box-shadow: none;  | |||
    background: transparent !important;  | |||
}  | |||
*/  | |||
/* Crea un nou mòdul per a la columna de la dreta a Noticia */  | |||
body.ns-116 #noticies-mes {  | |||
    margin-top: 26px;  | |||
    float: right;  | |||
    width: 282px;  | |||
    background-image: -moz-linear-gradient(top, #F0F0F0 60%, #DEDEDE 100%);  | |||
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(60%, #F0F0F0), color-stop(100%, #DEDEDE));  | |||
    border: 1px solid #D9D9D9;  | |||
    padding: 16px 8px 8px;  | |||
}  | |||
/* Treu el nom de les noticies (per a que no surti "Noticia:") */  | |||
body.ns-116 .WikiaPageHeader h1 {  | |||
    display:none !important;  | |||
}  | |||
/** Personalitzant el header de noticies **/  | |||
/* Donant marge superior */  | |||
body.ns-116 #noticies-header {  | |||
    margin-top: 20px;  | |||
}  | |||
/* Donant al nom diferent estil */  | |||
body.ns-116 #nom {  | |||
    font-size: 20px;   | |||
    padding-top: 2px;   | |||
    padding-bottom: 2px;   | |||
    padding-left:0px;   | |||
    padding-right:5px;  | |||
}  | |||
/* Donant diferent mida de lletra a subtitular */  | |||
body.ns-116 #noticies-subtitular {  | |||
    font-size: 15px;   | |||
}  | |||
/** Dades de les noticies **/  | |||
body.ns-116 #noticies-dades {  | |||
    font-size: 12px;  | |||
    line-height: 15px;  | |||
    color: #99897C;  | |||
    margin-top: 15px;  | |||
}  | |||
body.ns-116 #noticies-imatge {  | |||
    margin-top: 20px;  | |||
}  | |||
body.ns-116 #noticies-cos {  | |||
    margin-top: 15px;  | |||
    font-size: 15px;  | |||
}  | |||
body.ns-116 #noticies-mes {  | |||
    margin-left: 11px;  | |||
}  | |||
body.ns-116 #Tambe_Noticies .createbox {  | |||
margin-top: 26px;  | |||
}  | |||
body.ns-116 .article-comm-text {  | |||
    width: 100%;  | |||
}  | |||
body.ns-116 #article-comm {  | |||
width: 745px;  | |||
}  | |||
body.ns-116 .comments .sub-comments .article-comm-text {  | |||
width: 769px;  | |||
}  | |||
/** Índex de les noticies **/  | |||
body.page-Noticia_Índex .commentslikes .comments {  | |||
    display:none  | |||
}  | |||
body.ns-116 #Aliats_Catalans ul,  | |||
body.ns-116 #noticies-mes ul,  | |||
body.ns-116 #noticies-especifiques ul {  | |||
    list-style-image:url('https://images.wikia.nocookie.net/eldetectiuconan/ca/images/0/04/Fletxa_Índex_Noticia.png');  | |||
}  | |||
body.ns-116 .H2Noticies {  | |||
    background: url('https://images.wikia.nocookie.net/__cb20110604145212/es.gta/images/1/1a/Fondo_Noticias_GTE_b.png') repeat !important;  | |||
    color: white;  | |||
    padding-left: 6px;  | |||
    border-bottom: 0px;  | |||
    left:0px;  | |||
    font-size: 18px;  | |||
    position:initial;  | |||
    line-height: inherit;  | |||
    padding: 2px;  | |||
    -webkit-border-top-right-radius: 0px;  | |||
    -webkit-border-bottom-right-radius: 0px;  | |||
    -moz-border-radius-topright: 0px;  | |||
    -moz-border-radius-bottomright: 0px;  | |||
    border-top-right-radius: 0px;  | |||
    border-bottom-right-radius: 0px;  | |||
}  | |||
body.page-Noticies_Índex #noticies-especifiques .H2Noticies {  | |||
margin-top: 12px;  | |||
}  | |||
.noticies-byimatge-text .H2Noticies {  | |||
margin-top: 0px;  | |||
}  | |||
.noticies-byimatge-text {  | |||
padding-left: 0px;  | |||
}  | |||
.noticies-byimatge-nom {  | |||
font-size: 15px;  | |||
font-weight: bold;  | |||
}  | |||
#noticies-byimatge tr {  | |||
vertical-align: top;  | |||
padding-top: 0px;  | |||
}  | |||
.noticies-byimatge-imatge {  | |||
background: #000000;  | |||
text-align: center;  | |||
vertical-align: middle;  | |||
width: 300px;  | |||
height: 200px;  | |||
}  | |||
.noticias-byimatge-imatge img{  | |||
max-height:200px;  | |||
width: auto;  | |||
}  | |||
#noticies-onlybyimatge {  | |||
height:200px;  | |||
vertical-align: top;  | |||
width: 200px;  | |||
}  | |||
#noticies-onlybyimatge .floatnone {  | |||
background:#000;  | |||
height:100px;  | |||
}  | |||
#noticies-onlybyimagen-imatge img{  | |||
max-height:200px;  | |||
vertical-align:middle;  | |||
}  | |||
#noticies-categories {  | |||
text-align:left;  | |||
}  | |||
/** Tab view de Pàgina Principal **/  | |||
body.page-Noticia_Índex .tabberlive  {  | |||
margin-left: 11px;  | |||
margin-right: 10px;  | |||
margin-top: 8px;  | |||
}  | |||
body.page-Noticia_Índex ul.tabbernav {  | |||
text-align: center;  | |||
margin-right: 0px;  | |||
border-bottom:0px;  | |||
}  | |||
/** body.page-Noticia_Índex ul.tabbernav li a {  | |||
background: url('https://images.wikia.nocookie.net/es.gta/images/b/b5/Fondo_Noticias_GTE_a.png');  | |||
padding: 4px 10px 3px;  | |||
margin-right: 20px;  | |||
margin-left:0px;  | |||
border: 0px;  | |||
} **/  | |||
body.page-Noticia_Índex ul.tabbernav li:last-child a {  | |||
margin-right:0px;  | |||
}  | |||
body.page-Noticia_Índex ul.tabbernav li a:link {  | |||
color:black;  | |||
}  | |||
/** body.page-Noticia_Índex ul.tabbernav li.tabberactive a {  | |||
background:url('https://images.wikia.nocookie.net/__cb20110604145212/es.gta/images/1/1a/Fondo_Noticias_GTE_b.png') repeat scroll 0 0 transparent;  | |||
border-bottom:0px;  | |||
color:white;  | |||
} **/  | |||
body.page-Noticia_Índex .tabberlive .tabbertab {  | |||
height: 315px;  | |||
max-height: 315px;  | |||
padding: 5px;  | |||
border: 0px;  | |||
}  | |||
body.page-Noticia_Índex body.page-Noticia_Índex .tabberlive .tabbertab {  | |||
height: 256px;  | |||
max-height: 256px;  | |||
}  | |||
body.page-Noticia_Índex #noticies-especifiques-mes {  | |||
text-align:center  | |||
}  | |||
body.page-Noticia_Índex #noticies-especifiques  | |||
margin-top: -5px;  | |||
}  | |||
body.page-Noticia_Índex #Tambe_Noticies {  | |||
width: 300px;  | |||
margin-left: 13px;  | |||
}  | |||
/** body.ns-116 #noticies-especifiques ul {  | |||
background: url('https://images.wikia.nocookie.net/es.gta/images/3/36/Tab_View_GTE_Noticias.png') repeat;  | |||
height: auto;  | |||
padding-top: 5px;  | |||
} **/  | |||
body.ns-116 #noticies-especifiques-2 {  | |||
height: 285px;  | |||
}  | |||
body.ns-116 #noticies-especifiques-2 ul {  | |||
background:none;  | |||
}  | |||
/* Codi per a evitar que las noticies es vegin malament */  | |||
body.ns-116 .WikiaRail {  | |||
display: none;  | |||
}  | |||
/* Codi per a evitar que la pàgina trigui molt en carregar */  | |||
/* body.ns-116 #HOME_TOP_LEADERBOARD, #TOP_LEADERBOARD, #CORP_TOP_LEADERBOARD {  | |||
display: none;  | |||
}  | |||
*/  | |||
/* Desactivem comentaris de nou per a l'Índex de les noticies */  | |||
body.page-Noticia_Índex .WikiaArticleComments {  | |||
    display:none;  | |||
}  | |||
/* Enviem el botó de "M'àgrada" a l'esquerra perquè no s'enganxi al marge */  | |||
/*  | |||
body.ns-116 .commentslikes {  | |||
padding-right: 16px;  | |||
}  | |||
*/  | |||
/* Ample màxim als comentaris */  | |||
body.ns-116 #article-comments .sub-comments .article-comm-text,  | |||
body.ns-116 .SpeechBubble .speech-bubble-message .article-comm-text {  | |||
width: auto;  | |||
}  | |||
/* Desactiva Llegir més en les noticies */  | |||
body.ns-116 #WikiaArticle .RelatedPagesModule {  | |||
display: none;  | |||
}  | |||
/** Per a comentaris en murs etc **/  | |||
.WikiaGrid .grid-4 {  | |||
width: 670px !important;  | |||
}  | |||
/** Per a eliminar la part personalitzada dels spotlights **/  | |||
body.ns-116 .WikiaFooter section {  | |||
-webkit-border-radius: 0px;  | |||
-moz-border-radius: 0px;  | |||
border-radius: 0px;  | |||
border-width: 0px;  | |||
background: transparent;  | |||
margin-left: 15px;  | |||
margin-right: 15px;  | |||
min-height: 182px;  | |||
}  | |||
body.ns-116 .WikiaFooter section .SPOTLIGHT_FOOTER {  | |||
background:transparent;  | |||
}  | |||
/*** Arranjament per a pàgines d'usuari ***/  | |||
/* Retoquem el header */  | |||
.WikiaUserPagesHeader {  | |||
    margin-left: 2px;  | |||
    margin-top: 20px /* 46px */;  | |||
    padding-top: 15px;  | |||
    position: relative;  | |||
    background: transparent;  | |||
}  | |||
.UserProfileMasthead {  | |||
    margin-top: 30px;  | |||
}  | |||
.ns-500 .UserProfileMasthead {  | |||
    margin-top: 84px;  | |||
}  | |||
.ns-500 .WikiaUserPagesHeader .WikiaSearch {  | |||
    position: relative;  | |||
    top: 0;  | |||
}  | |||
/* El camp de búsqueda el posem en un altre lloc */  | |||
.WikiaUserPagesHeader .WikiaSearch {  | |||
    position: absolute;  | |||
    top: -12px;  | |||
}  | |||
.ns-500 .WikiaMainContent .WikiaArticle h1, .ns-500 .WikiaMainContent .WikiaArticle ul {list-style: none;}  | |||
.ns-500 .WikiaMainContent .WikiaArticle h1, .ns-500 .WikiaMainContent .WikiaArticle ul {  | |||
    left: -16px;  | |||
    list-style: square outside none;  | |||
    background: transparent;  | |||
    position: static;  | |||
}  | |||
.ns-500 .WikiaMainContent .WikiaArticle h1 {  | |||
    margin: 8px 0px 12px;  | |||
}  | |||
.ns-500 .WikiaUserPagesHeader {  | |||
    margin-left: -7px;  | |||
    margin-top: -16px;  | |||
    padding-left: 7px;  | |||
}  | |||
.ns-1201 .WikiHeader {  | |||
    margin-bottom: 0px;  | |||
}  | |||
.ns-1201 .WikiaArticle {  | |||
    margin-top: -8px;  | |||
}  | |||
.ns-1201 .BreadCrumbs {  | |||
    color: white;  | |||
    font-weight: bold;  | |||
    border-bottom: none;  | |||
}  | |||
.ns-1201 .Wall.Thread {  | |||
    margin-top: 0px;  | |||
}  | |||
.ns-1201 .WikiaPage .WikiaPageBackgroundSub {  | |||
    top: 148px;  | |||
}  | |||
.ns-1200 .WikiaPage .WikiaPageBackgroundSub {  | |||
    top: 155px;  | |||
}  | |||
.ns-1201 .WikiaRail > .WikiaSearch {  | |||
    margin-top: -17px !important;  | |||
}  | |||
.ns-special .UserProfileMasthead {  | |||
    margin-top: 60px;  | |||
}  | |||
/** Text de encapçalat de pregunta del subforo **/  | |||
.ns-1201 .BreadCrumbs {  | |||
color: #7f7f7f;  | |||
font-weight: bold;  | |||
border-bottom: none;  | |||
}  | |||