MediaWiki:Noticies.css: diferència entre les revisions
Aparença
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 1: | Línia 1: | ||
/* Per a les notícies a la portada */ | /* Per a les notícies a la portada */ | ||
.mainpage . | .mainpage .noticies-byimatge-imatge, .mainpage .noticies-byimatge-imatge img{ | ||
max-height: 140px; | max-height: 140px; | ||
height:auto; | height:auto; | ||
Línia 8: | Línia 8: | ||
.tabview-mainpage .activityfeed li, | .tabview-mainpage .activityfeed li, | ||
.avisos-comunitat li, | .avisos-comunitat li, | ||
.lastnews-table # | .lastnews-table #noticies-especifiques-2 li { | ||
list-style: none outside none; | list-style: none outside none; | ||
margin-top: 6px; | margin-top: 6px; | ||
Línia 18: | Línia 18: | ||
margin: 8px 0 0 10px; | margin: 8px 0 0 10px; | ||
} | } | ||
.lastnews-table # | .lastnews-table #noticies-especifiques-2 ul { | ||
margin: 8px 4px 0 10px; | margin: 8px 4px 0 10px; | ||
} | } | ||
Línia 25: | Línia 25: | ||
.tabview-mainpage .activityfeed li img, | .tabview-mainpage .activityfeed li img, | ||
.tabview-mainpage .activityfeed li table, | .tabview-mainpage .activityfeed li table, | ||
.lastnews-table # | .lastnews-table #noticies-especifiques-mes { | ||
display:none; | display:none; | ||
} | } | ||
Línia 39: | Línia 39: | ||
.tabview-mainpage .activityfeed li strong a:before, | .tabview-mainpage .activityfeed li strong a:before, | ||
.avisos-comunitat li:before, | .avisos-comunitat li:before, | ||
.lastnews-table # | .lastnews-table #noticies-especifiques-2 li:before { | ||
color: #E8AB00; | color: #E8AB00; | ||
content: "» "; | content: "» "; | ||
Línia 55: | Línia 55: | ||
/* Situem la info. extra en les notícies a sota */ | /* Situem la info. extra en les notícies a sota */ | ||
# | #ultimes-noticies .noticies-byimatge-text .noticies-byimatge-categoria { | ||
bottom: 13px; | bottom: 13px; | ||
font-size: 11px; | font-size: 11px; | ||
Línia 63: | Línia 63: | ||
} | } | ||
# | #ultimes-noticies table#noticies-byimatge { | ||
position:relative; | position:relative; | ||
} | } | ||
# | #ultimes-noticies .noticies-byimatge-text { | ||
position: relative; | position: relative; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
# | #ultimes-noticies .noticies-byimatge-nom { | ||
font-size: 15px; | font-size: 15px; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
# | #ultimes-noticies .noticies-byimatge-subtitular { | ||
font-size: 12px; | font-size: 12px; | ||
} | } | ||
Línia 84: | Línia 84: | ||
/* Espai de noms personalitzat */ | /* Espai de noms personalitzat */ | ||
================================= | ================================= | ||
body.page- | body.page-Noticia_Índex .WikiaMainContent .WikiaPageHeader { | ||
display:none; | display:none; | ||
} | } | ||
/* Crea un nou mòdul per a la columna de la dreta a Notícies */ | /* Crea un nou mòdul per a la columna de la dreta a Notícies */ | ||
body.ns-116 # | body.ns-116 #noticies-mes { | ||
margin-top: 26px; | margin-top: 26px; | ||
float: right; | float: right; | ||
Línia 99: | Línia 99: | ||
} | } | ||
/* Treu el nom de les notícies (perquè no surti " | /* Treu el nom de les notícies (perquè no surti "Noticia:") */ | ||
body.ns-116 .WikiaPageHeader h1 { | body.ns-116 .WikiaPageHeader h1 { | ||
display:none !important; | display:none !important; | ||
Línia 106: | Línia 106: | ||
/** Personalitzant header de notícies **/ | /** Personalitzant header de notícies **/ | ||
/* Donant marge superior */ | /* Donant marge superior */ | ||
body.ns-116 # | body.ns-116 #noticies-header { | ||
margin-top: 20px; | margin-top: 20px; | ||
} | } | ||
Línia 120: | Línia 120: | ||
/* Donant diferent mida de lletra a subtitular */ | /* Donant diferent mida de lletra a subtitular */ | ||
body.ns-116 # | body.ns-116 #noticies-subtitular { | ||
font-size: 15px; | font-size: 15px; | ||
} | } | ||
/** Dades de les notícies **/ | /** Dades de les notícies **/ | ||
body.ns-116 # | body.ns-116 #noticies-dades { | ||
font-size: 12px; | font-size: 12px; | ||
line-height: 15px; | line-height: 15px; | ||
Línia 132: | Línia 132: | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-imatge { | ||
margin-top: 20px; | margin-top: 20px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-cos { | ||
margin-top: 15px; | margin-top: 15px; | ||
font-size: 15px; | font-size: 15px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-mes { | ||
margin-left: 11px; | margin-left: 11px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #Tambe_Noticies .createbox { | ||
margin-top: 26px; | margin-top: 26px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-mes ul, | ||
body.ns-116 # | body.ns-116 #noticies-especifiques ul { | ||
list-style-image:url(' | list-style-image:url('https://images.wikia.nocookie.net/es.gta/images/2/29/Flecha_Indice_Noticias.png'); | ||
} | } | ||
body.ns-116 . | body.ns-116 .H2Noticies { | ||
background: url(' | background: url('https://images.wikia.nocookie.net/__cb20110604145212/es.gta/images/1/1a/Fondo_Noticias_GTE_b.png') repeat !important; | ||
color: white; | color: white; | ||
padding-left: 6px; | padding-left: 6px; | ||
Línia 172: | Línia 172: | ||
} | } | ||
body.page- | body.page-Noticia_Índex #notícies-especifiques .H2Noticies { | ||
margin-top: 12px; | margin-top: 12px; | ||
} | } | ||
. | .noticies-byimatge-text .H2Noticies { | ||
margin-top: 0px; | margin-top: 0px; | ||
} | } | ||
. | .noticies-byimatge-text { | ||
padding-left: 0px; | padding-left: 0px; | ||
} | } | ||
. | .noticies-byimatge-nom { | ||
font-size: 15px; | font-size: 15px; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
# | #noticies-byimatge tr { | ||
vertical-align: top; | vertical-align: top; | ||
padding-top: 0px; | padding-top: 0px; | ||
} | } | ||
. | .noticies-byimatge-imatge { | ||
background: #000000; | background: #000000; | ||
text-align: center; | text-align: center; | ||
Línia 202: | Línia 202: | ||
} | } | ||
. | .noticies-byimatge-imatge img{ | ||
max-height:200px; | max-height:200px; | ||
width: auto; | width: auto; | ||
} | } | ||
# | #noticies-onlybyimatge { | ||
height:200px; | height:200px; | ||
vertical-align: top; | vertical-align: top; | ||
Línia 213: | Línia 213: | ||
} | } | ||
# | #noticies-onlybyimatge .floatnone { | ||
background:#000; | background:#000; | ||
height:100px; | height:100px; | ||
} | } | ||
# | #noticies-onlybyimatge-imatge img{ | ||
max-height:200px; | max-height:200px; | ||
vertical-align:middle; | vertical-align:middle; | ||
} | } | ||
# | #noticies-categories { | ||
text-align:left; | text-align:left; | ||
} | } | ||
/** Tab view de Pàgina Principal **/ | /** Tab view de Pàgina Principal **/ | ||
body.page- | body.page-Noticia_Índex .tabberlive { | ||
margin-left: 11px; | margin-left: 11px; | ||
margin-right: 10px; | margin-right: 10px; | ||
Línia 234: | Línia 234: | ||
} | } | ||
body.page- | body.page-Noticia_Índex ul.tabbernav { | ||
text-align: center; | text-align: center; | ||
margin-right: 0px; | margin-right: 0px; | ||
Línia 240: | Línia 240: | ||
} | } | ||
body.page- | body.page-Noticia_Índex ul.tabbernav li a { | ||
background: url(' | background: url('https://images.wikia.nocookie.net/es.gta/images/b/b5/Fondo_Noticias_GTE_a.png'); | ||
padding: 4px 10px 3px; | padding: 4px 10px 3px; | ||
margin-right: 20px; | margin-right: 20px; | ||
Línia 248: | Línia 248: | ||
} | } | ||
body.page- | body.page-Noticia_Índex ul.tabbernav li:last-child a { | ||
margin-right:0px; | margin-right:0px; | ||
} | } | ||
body.page- | body.page-Noticia_Índex ul.tabbernav li a:link { | ||
color:black; | color:black; | ||
} | } | ||
body.page- | body.page-Noticia_Índex ul.tabbernav li.tabberactive a { | ||
background:url(' | 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; | border-bottom:0px; | ||
color:white; | color:white; | ||
} | } | ||
body.page- | body.page-Noticia_Índex .tabberlive .tabbertab { | ||
height: 315px; | height: 315px; | ||
max-height: 315px; | max-height: 315px; | ||
Línia 269: | Línia 269: | ||
} | } | ||
body.page- | body.page-Noticia_Índex body.page-Noticia_Índex .tabberlive .tabbertab { | ||
height: 256px; | height: 256px; | ||
max-height: 256px; | max-height: 256px; | ||
} | } | ||
body.page- | body.page-Noticia_Índex #noticies-especifiques-mes { | ||
text-align:center | text-align:center | ||
} | } | ||
body.page- | body.page-Noticia_Índex #noticies-especifiques | ||
margin-top: -5px; | margin-top: -5px; | ||
} | } | ||
body.page- | body.page-Noticia_Índex #Tambe_Noticies { | ||
width: 300px; | width: 300px; | ||
margin-left: 13px; | margin-left: 13px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-especifiques ul { | ||
background: url(' | background: url('https://images.wikia.nocookie.net/es.gta/images/3/36/Tab_View_GTE_Noticias.png') repeat; | ||
height: auto; | height: auto; | ||
padding-top: 5px; | padding-top: 5px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-especifiques-2 { | ||
height: 285px; | height: 285px; | ||
} | } | ||
body.ns-116 # | body.ns-116 #noticies-especifiques-2 ul { | ||
background:none; | background:none; | ||
} | } |
Revisió de 08:39, 10 març 2018
/* Per a les notícies a la portada */ .mainpage .noticies-byimatge-imatge, .mainpage .noticies-byimatge-imatge img{ max-height: 140px; height:auto; } /* Retiro el format llista de la portada */ .tabview-mainpage .activityfeed li, .avisos-comunitat li, .lastnews-table #noticies-especifiques-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 #noticies-especifiques-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 #noticies-especifiques-mes { 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 #noticies-especifiques-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; } /* 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 */ #ultimes-noticies .noticies-byimatge-text .noticies-byimatge-categoria { bottom: 13px; font-size: 11px; position: absolute; right: 8px; vertical-align: bottom; } #ultimes-noticies table#noticies-byimatge { position:relative; } #ultimes-noticies .noticies-byimatge-text { position: relative; vertical-align: top; } #ultimes-noticies .noticies-byimatge-nom { font-size: 15px; font-weight: bold; } #ultimes-noticies .noticies-byimatge-subtitular { font-size: 12px; } ================================= /* Espai de noms personalitzat */ ================================= body.page-Noticia_Índex .WikiaMainContent .WikiaPageHeader { display:none; } /* Crea un nou mòdul per a la columna de la dreta a Notícies */ 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 notícies (perquè no surti "Noticia:") */ body.ns-116 .WikiaPageHeader h1 { display:none !important; } /** Personalitzant header de notícies **/ /* 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 notícies **/ 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 #noticies-mes ul, body.ns-116 #noticies-especifiques ul { list-style-image:url('https://images.wikia.nocookie.net/es.gta/images/2/29/Flecha_Indice_Noticias.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-Noticia_Índex #notícies-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; } .noticies-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-onlybyimatge-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 evitar que les notícies es vegin malament */ body.ns-116 .WikiaRail { display: none; }