MediaWiki:Noticies.css: diferència entre les revisions
Aparença
Crear |
Crear |
||
| Línia 86: | Línia 86: | ||
#últimes-notícies .notícies-byimatge-subtitular { | #últimes-notícies .notícies-byimatge-subtitular { | ||
font-size: 12px; | font-size: 12px; | ||
} | |||
********************************* | |||
/* Espai de noms personalitzat */ | |||
********************************* | |||
body.page-Noticias_Índice .WikiaMainContent .WikiaPageHeader { | |||
display:none; | |||
} | |||
/* Crea un nou mòdul per a la columna de la dreta a Notícies */ | |||
body.ns-116 #notícies-més { | |||
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 notícies (perquè no surti "Notícia:") */ | |||
body.ns-116 .WikiaPageHeader h1 { | |||
display:none !important; | |||
} | |||
/** Personalitzant header de notícies **/ | |||
/* Donant marge superior */ | |||
body.ns-116 #notícies-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 #notícies-subtitular { | |||
font-size: 15px; | |||
} | |||
/** Dades de les notícies **/ | |||
body.ns-116 #notícies-dades { | |||
font-size: 12px; | |||
line-height: 15px; | |||
color: #99897C; | |||
margin-top: 15px; | |||
} | |||
body.ns-116 #notícies-imatge { | |||
margin-top: 20px; | |||
} | |||
body.ns-116 #notícies-cos { | |||
margin-top: 15px; | |||
font-size: 15px; | |||
} | |||
body.ns-116 #notícies-més { | |||
margin-left: 11px; | |||
} | |||
body.ns-116 #També_Notícies .createbox { | |||
margin-top: 26px; | |||
} | |||
body.ns-116 #notícies-més ul, | |||
body.ns-116 #notícies-específiques ul { | |||
list-style-image:url('http://images3.wikia.nocookie.net/es.gta/images/2/29/Flecha_Indice_Noticias.png'); | |||
} | |||
body.ns-116 .H2Notícies { | |||
background: url('http://images3.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-Notícies_Índex #notícies-específiques .H2Notícies { | |||
margin-top: 12px; | |||
} | |||
.notícies-byimatge-text .H2Notícies { | |||
margin-top: 0px; | |||
} | |||
.notícies-byimatge-text { | |||
padding-left: 0px; | |||
} | |||
.notícies-byimatge-nom { | |||
font-size: 15px; | |||
font-weight: bold; | |||
} | |||
#notícies-byimatge tr { | |||
vertical-align: top; | |||
padding-top: 0px; | |||
} | |||
.notícies-byimatge-imatge { | |||
background: #000000; | |||
text-align: center; | |||
vertical-align: middle; | |||
width: 300px; | |||
height: 200px; | |||
} | |||
.notícies-byimatge-imatge img{ | |||
max-height:200px; | |||
width: auto; | |||
} | |||
#notícies-onlybyimatge { | |||
height:200px; | |||
vertical-align: top; | |||
width: 200px; | |||
} | |||
#notícies-onlybyimatge .floatnone { | |||
background:#000; | |||
height:100px; | |||
} | |||
#notícies-onlybyimatge-imatge img{ | |||
max-height:200px; | |||
vertical-align:middle; | |||
} | |||
#notícies-categories { | |||
text-align:left; | |||
} | |||
/** Tab view de Pàgina Principal **/ | |||
body.page-Notícia_Índex .tabberlive { | |||
margin-left: 11px; | |||
margin-right: 10px; | |||
margin-top: 8px; | |||
} | |||
body.page-Notícies_Índex ul.tabbernav { | |||
text-align: center; | |||
margin-right: 0px; | |||
border-bottom:0px; | |||
} | |||
body.page-Notícies_Índex ul.tabbernav li a { | |||
background: url('http://images4.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-Notícies_Índex ul.tabbernav li:last-child a { | |||
margin-right:0px; | |||
} | |||
body.page-Notícies_Índex ul.tabbernav li a:link { | |||
color:black; | |||
} | |||
body.page-Notícies_Índex ul.tabbernav li.tabberactive a { | |||
background:url('http://images3.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-Notícies_Índex .tabberlive .tabbertab { | |||
height: 315px; | |||
max-height: 315px; | |||
padding: 5px; | |||
border: 0px; | |||
} | |||
body.page-Notícies_Índex body.page-Noticias_Índice .tabberlive .tabbertab { | |||
height: 256px; | |||
max-height: 256px; | |||
} | |||
body.page-Notícies_Índex #notícies-específiques-més { | |||
text-align:center | |||
} | |||
body.page-Notícies_Índex #notícies-específiques | |||
margin-top: -5px; | |||
} | |||
body.page-Notícies_Índex #També_Notícies { | |||
width: 300px; | |||
margin-left: 13px; | |||
} | |||
body.ns-116 #notícies-específiques ul { | |||
background: url('http://images2.wikia.nocookie.net/es.gta/images/3/36/Tab_View_GTE_Noticias.png') repeat; | |||
height: auto; | |||
padding-top: 5px; | |||
} | |||
body.ns-116 #notícies-específiques-2 { | |||
height: 285px; | |||
} | |||
body.ns-116 #notícies-específiques-2 ul { | |||
background:none; | |||
} | |||
/* Codi per evitar que les notícies es vegin malament */ | |||
body.ns-116 .WikiaRail { | |||
display: none; | |||
} | } | ||
Revisió del 21:30, 29 maig 2013
/* Per a les notícies a la portada */
.mainpage .notícies-byimatge-imatge, .mainpage .notícies-byimatge-imatge img{
max-height: 140px;
height:auto;
}
/* Retiro el format llista de la portada */
.tabview-mainpage .activityfeed li,
.avisos-comunitat li,
.lastnews-table #notícies-específiques-2 li {
list-style: none outside none;
margin-top: 6px;
}
/* Fem que aparegui el marge just per dalt i per baix */
.tabview-mainpage ul.activityfeed,
.avisos-comunitat ul {
margin: 8px 0 0 10px;
}
.lastnews-table #notícies-específiques-2 ul {
margin: 8px 4px 0 10px;
}
/* Traiem les imatges i l'enllaç extra de notícies */
.tabview-mainpage .activityfeed li img,
.tabview-mainpage .activityfeed li table,
.lastnews-table #notícies-específiques-més {
display:none;
}
/* Donem estil a la lletra i traiem negreta */
.tabview-mainpage .activityfeed li strong {
font-size: 14px;
font-style: italic;
font-weight: lighter;
}
/* Afegim les cometes en substitució de les imatges */
.tabview-mainpage .activityfeed li strong a:before,
.avisos-comunitat li:before,
.lastnews-table #notícits-específiques-2 li:before {
color: #E8AB00;
content: "» ";
font-weight: bold;
}
/* Disminuïm la mida de la lletra en el subtítol */
.tabview-mainpage .activityfeed li cite {
font-size: 11px;
}
/* Amb això evito que surti del marc la pestanya */
.tabBody {
max-height: 268px;
min-height: 100px;
width: 312px;
}
/* Per a centrar projectes */
.mainpage-projects {margin-left:20px;}
.mainpage-projects h4 {padding-left: 5px;}
/* Situem la info. extra en les notícies a sota */
#últimes-notícies .notícies-byimatge-text .notícies-byimatge-categoria {
bottom: 13px;
font-size: 11px;
position: absolute;
right: 8px;
vertical-align: bottom;
}
#últimes-notícies table#notícies-byimatge {
position:relative;
}
#últimes-notícies .notícies-byimatge-text {
position: relative;
vertical-align: top;
}
#últimes-notícies .notícies-byimatge-nom {
font-size: 15px;
font-weight: bold;
}
#últimes-notícies .notícies-byimatge-subtitular {
font-size: 12px;
}
*********************************
/* Espai de noms personalitzat */
*********************************
body.page-Noticias_Índice .WikiaMainContent .WikiaPageHeader {
display:none;
}
/* Crea un nou mòdul per a la columna de la dreta a Notícies */
body.ns-116 #notícies-més {
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 notícies (perquè no surti "Notícia:") */
body.ns-116 .WikiaPageHeader h1 {
display:none !important;
}
/** Personalitzant header de notícies **/
/* Donant marge superior */
body.ns-116 #notícies-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 #notícies-subtitular {
font-size: 15px;
}
/** Dades de les notícies **/
body.ns-116 #notícies-dades {
font-size: 12px;
line-height: 15px;
color: #99897C;
margin-top: 15px;
}
body.ns-116 #notícies-imatge {
margin-top: 20px;
}
body.ns-116 #notícies-cos {
margin-top: 15px;
font-size: 15px;
}
body.ns-116 #notícies-més {
margin-left: 11px;
}
body.ns-116 #També_Notícies .createbox {
margin-top: 26px;
}
body.ns-116 #notícies-més ul,
body.ns-116 #notícies-específiques ul {
list-style-image:url('http://images3.wikia.nocookie.net/es.gta/images/2/29/Flecha_Indice_Noticias.png');
}
body.ns-116 .H2Notícies {
background: url('http://images3.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-Notícies_Índex #notícies-específiques .H2Notícies {
margin-top: 12px;
}
.notícies-byimatge-text .H2Notícies {
margin-top: 0px;
}
.notícies-byimatge-text {
padding-left: 0px;
}
.notícies-byimatge-nom {
font-size: 15px;
font-weight: bold;
}
#notícies-byimatge tr {
vertical-align: top;
padding-top: 0px;
}
.notícies-byimatge-imatge {
background: #000000;
text-align: center;
vertical-align: middle;
width: 300px;
height: 200px;
}
.notícies-byimatge-imatge img{
max-height:200px;
width: auto;
}
#notícies-onlybyimatge {
height:200px;
vertical-align: top;
width: 200px;
}
#notícies-onlybyimatge .floatnone {
background:#000;
height:100px;
}
#notícies-onlybyimatge-imatge img{
max-height:200px;
vertical-align:middle;
}
#notícies-categories {
text-align:left;
}
/** Tab view de Pàgina Principal **/
body.page-Notícia_Índex .tabberlive {
margin-left: 11px;
margin-right: 10px;
margin-top: 8px;
}
body.page-Notícies_Índex ul.tabbernav {
text-align: center;
margin-right: 0px;
border-bottom:0px;
}
body.page-Notícies_Índex ul.tabbernav li a {
background: url('http://images4.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-Notícies_Índex ul.tabbernav li:last-child a {
margin-right:0px;
}
body.page-Notícies_Índex ul.tabbernav li a:link {
color:black;
}
body.page-Notícies_Índex ul.tabbernav li.tabberactive a {
background:url('http://images3.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-Notícies_Índex .tabberlive .tabbertab {
height: 315px;
max-height: 315px;
padding: 5px;
border: 0px;
}
body.page-Notícies_Índex body.page-Noticias_Índice .tabberlive .tabbertab {
height: 256px;
max-height: 256px;
}
body.page-Notícies_Índex #notícies-específiques-més {
text-align:center
}
body.page-Notícies_Índex #notícies-específiques
margin-top: -5px;
}
body.page-Notícies_Índex #També_Notícies {
width: 300px;
margin-left: 13px;
}
body.ns-116 #notícies-específiques ul {
background: url('http://images2.wikia.nocookie.net/es.gta/images/3/36/Tab_View_GTE_Noticias.png') repeat;
height: auto;
padding-top: 5px;
}
body.ns-116 #notícies-específiques-2 {
height: 285px;
}
body.ns-116 #notícies-específiques-2 ul {
background:none;
}
/* Codi per evitar que les notícies es vegin malament */
body.ns-116 .WikiaRail {
display: none;
}