Difference between revisions of "MediaWiki:Common.css"
Adelo Vieira (talk | contribs) (Blanked the page) |
Adelo Vieira (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | /* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */ | ||
+ | |||
+ | /* ########### | ||
+ | How to change font size and colour in Mediawiki navigation sidebar and footer: | ||
+ | http://stackoverflow.com/questions/17461308/how-to-change-font-size-and-colour-in-mediawiki-navigation-sidebar-and-footer | ||
+ | |||
+ | div#mw-panel div.portal div.body ul li a { | ||
+ | font-size:16px; | ||
+ | color: #008000; | ||
+ | } | ||
+ | div#mw-panel div.portal div.body ul li a:visited { | ||
+ | color: #A0600B; | ||
+ | } | ||
+ | |||
+ | |||
+ | use this when you want the same color for a link and visited link | ||
+ | |||
+ | div#mw-panel div.portal div.body ul li a, a:visited { | ||
+ | font-size:16px; | ||
+ | color: #008000; | ||
+ | } | ||
+ | |||
+ | or simple add a new line with this code | ||
+ | |||
+ | #mw-panel .portal a, #mw-panel .portal a:visited { | ||
+ | font-size:16px!important; | ||
+ | color: red!important; | ||
+ | } | ||
+ | |||
+ | For the Footer | ||
+ | |||
+ | add new line with this code | ||
+ | |||
+ | div#footer ul li{ | ||
+ | font-size:16px!important; | ||
+ | color:black!important; | ||
+ | } | ||
+ | |||
+ | div#footer ul li a,div#footer ul li a:visited { | ||
+ | color: orange!important; | ||
+ | } | ||
+ | |||
+ | ########### */ | ||
+ | |||
+ | |||
+ | |||
+ | /* Ocultar títulos en la barra vertical izquierda (sidebar) */ | ||
+ | #n-randompage { display: none !important; } | ||
+ | |||
+ | #n-recentchanges { display: none !important; } | ||
+ | |||
+ | #t-whatlinkshere { display: none !important; } | ||
+ | |||
+ | #t-info { display: none !important; } | ||
+ | |||
+ | #t-permalink { display: none !important; } | ||
+ | |||
+ | #t-recentchangeslinked { display: none !important; } | ||
+ | |||
+ | |||
+ | /* Ocultar títulos en las páginas: */ | ||
+ | body.page-Página_principal h1.firstHeading { display: none; } | ||
+ | body.page-Ciencia h1.firstHeading { display: none; } | ||
+ | body.page-Política-Historia h1.firstHeading { display: none; } | ||
+ | body.page-Música-Cine h1.firstHeading { display: none; } | ||
+ | body.page-Idiomas h1.firstHeading { display: none; } | ||
+ | body.page-Carrera h1.firstHeading { display: none; } | ||
+ | body.page-Página_base h1.firstHeading { display: none; } | ||
+ | body.page-Sinfronteras h1.firstHeading { display: none; } | ||
+ | |||
+ | |||
+ | /* Modeificaciones hechas para tratar de crear una página de CV */ | ||
+ | |||
+ | .page-Prueba_CV #ca-talk { display: none !important; } | ||
+ | .page-Prueba_CV #ca-view { display: none !important; } | ||
+ | .page-Prueba_CV #ca-edit { display: none !important; } | ||
+ | .page-Prueba_CV #ca-history { display: none !important; } | ||
+ | .page-Prueba_CV #ca-unwatch { display: none !important; } | ||
+ | .page-Prueba_CV #ca-watch { display: none !important; } | ||
+ | .page-Prueba_CV #p-cactions { display: none !important; } | ||
+ | .page-Prueba_CV #p-search { display: none !important; } | ||
+ | .page-Prueba_CV #pt-userpage { display: none !important; } | ||
+ | .page-Prueba_CV #pt-mytalk { display: none !important; } | ||
+ | .page-Prueba_CV #pt-preferences { display: none !important; } | ||
+ | .page-Prueba_CV #pt-watchlist { display: none !important; } | ||
+ | .page-Prueba_CV #pt-mycontris { display: none !important; } | ||
+ | .page-Prueba_CV #pt-logout { display: none !important; } | ||
+ | .page-Prueba_CV #pt-anonuserpage { display: none !important; } | ||
+ | .page-Prueba_CV #pt-anontalk { display: none !important; } | ||
+ | .page-Prueba_CV #pt-createaccount { display: none !important; } | ||
+ | .page-Prueba_CV #pt-login { display: none !important; } | ||
+ | .page-Prueba_CV #footer-info-copyright { display: none !important; } | ||
+ | .page-Prueba_CV #footer-places-privacy { display: none !important; } | ||
+ | .page-Prueba_CV #footer-places-about { display: none !important; } | ||
+ | .page-Prueba_CV #footer-places-disclaimer { display: none !important; } | ||
+ | |||
+ | .page-Prueba_CV #mw-panel { display: none !important; } | ||
+ | .page-Prueba_CV #p-navigation { display: none !important; } | ||
+ | .page-Prueba_CV #p-tb { display: none !important; } | ||
+ | |||
+ | /* De esta forma se pueden oculatar paginas en la sidebar */ | ||
+ | .page-Prueba_CV #n-Mapas { display: none !important; } | ||
+ | .page-Prueba_CV #n-mainpage-description { display: none !important; } | ||
+ | .page-Prueba_CV #n-Proyectos { display: none !important; } | ||
+ | .page-Prueba_CV #n-Art.C3.ADculos { display: none !important; } | ||
+ | |||
+ | /* | ||
+ | n-Art.C3.ADculos | ||
+ | Art%C3%ADculos | ||
+ | */ | ||
+ | |||
+ | /*.page-Prueba_CV #n-Ideas-Propuestas { display: none !important; }*/ | ||
+ | .page-Prueba_CV #n-help { display: none !important; } | ||
+ | |||
+ | |||
+ | /* | ||
+ | div#mw-panel { width: 20em; } | ||
+ | div#footer, #mw-head-base, div#content { margin-left: 20em; } | ||
+ | #left-navigation { margin-left: 20em; } | ||
+ | */ | ||
+ | |||
+ | |||
+ | #globalWrapper { | ||
+ | position:relative; | ||
+ | font-size: 127%; | ||
+ | width: 900px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*Cambiar el formato de los títulos de las secciones*/ | ||
+ | |||
+ | |||
+ | /*#bodyContent h2 { font-size: 1.8em !important; font-style:bold !important; }*/ | ||
+ | |||
+ | |||
+ | /* Bold h1 and h2 */ | ||
+ | h1 { font-weight: bold; } | ||
+ | .editsection { font-weight: normal; } | ||
+ | |||
+ | h2 { font-weight: bold; } | ||
+ | .editsection { font-weight: normal; } | ||
+ | |||
+ | |||
+ | |||
+ | /*h2 { | ||
+ | color: black; | ||
+ | background: none; | ||
+ | font-weight: normal; | ||
+ | margin: 0; | ||
+ | padding-top: .5em; | ||
+ | padding-bottom: .17em; | ||
+ | border-bottom: 1px solid #aaa; | ||
+ | */ | ||
+ | |||
+ | |||
+ | /* Oculatar paginas en la sidebar en la pagina ERoster*/ |
Revision as of 17:41, 2 March 2018
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* ###########
How to change font size and colour in Mediawiki navigation sidebar and footer:
http://stackoverflow.com/questions/17461308/how-to-change-font-size-and-colour-in-mediawiki-navigation-sidebar-and-footer
div#mw-panel div.portal div.body ul li a {
font-size:16px;
color: #008000;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #A0600B;
}
use this when you want the same color for a link and visited link
div#mw-panel div.portal div.body ul li a, a:visited {
font-size:16px;
color: #008000;
}
or simple add a new line with this code
#mw-panel .portal a, #mw-panel .portal a:visited {
font-size:16px!important;
color: red!important;
}
For the Footer
add new line with this code
div#footer ul li{
font-size:16px!important;
color:black!important;
}
div#footer ul li a,div#footer ul li a:visited {
color: orange!important;
}
########### */
/* Ocultar títulos en la barra vertical izquierda (sidebar) */
#n-randompage { display: none !important; }
#n-recentchanges { display: none !important; }
#t-whatlinkshere { display: none !important; }
#t-info { display: none !important; }
#t-permalink { display: none !important; }
#t-recentchangeslinked { display: none !important; }
/* Ocultar títulos en las páginas: */
body.page-Página_principal h1.firstHeading { display: none; }
body.page-Ciencia h1.firstHeading { display: none; }
body.page-Política-Historia h1.firstHeading { display: none; }
body.page-Música-Cine h1.firstHeading { display: none; }
body.page-Idiomas h1.firstHeading { display: none; }
body.page-Carrera h1.firstHeading { display: none; }
body.page-Página_base h1.firstHeading { display: none; }
body.page-Sinfronteras h1.firstHeading { display: none; }
/* Modeificaciones hechas para tratar de crear una página de CV */
.page-Prueba_CV #ca-talk { display: none !important; }
.page-Prueba_CV #ca-view { display: none !important; }
.page-Prueba_CV #ca-edit { display: none !important; }
.page-Prueba_CV #ca-history { display: none !important; }
.page-Prueba_CV #ca-unwatch { display: none !important; }
.page-Prueba_CV #ca-watch { display: none !important; }
.page-Prueba_CV #p-cactions { display: none !important; }
.page-Prueba_CV #p-search { display: none !important; }
.page-Prueba_CV #pt-userpage { display: none !important; }
.page-Prueba_CV #pt-mytalk { display: none !important; }
.page-Prueba_CV #pt-preferences { display: none !important; }
.page-Prueba_CV #pt-watchlist { display: none !important; }
.page-Prueba_CV #pt-mycontris { display: none !important; }
.page-Prueba_CV #pt-logout { display: none !important; }
.page-Prueba_CV #pt-anonuserpage { display: none !important; }
.page-Prueba_CV #pt-anontalk { display: none !important; }
.page-Prueba_CV #pt-createaccount { display: none !important; }
.page-Prueba_CV #pt-login { display: none !important; }
.page-Prueba_CV #footer-info-copyright { display: none !important; }
.page-Prueba_CV #footer-places-privacy { display: none !important; }
.page-Prueba_CV #footer-places-about { display: none !important; }
.page-Prueba_CV #footer-places-disclaimer { display: none !important; }
.page-Prueba_CV #mw-panel { display: none !important; }
.page-Prueba_CV #p-navigation { display: none !important; }
.page-Prueba_CV #p-tb { display: none !important; }
/* De esta forma se pueden oculatar paginas en la sidebar */
.page-Prueba_CV #n-Mapas { display: none !important; }
.page-Prueba_CV #n-mainpage-description { display: none !important; }
.page-Prueba_CV #n-Proyectos { display: none !important; }
.page-Prueba_CV #n-Art.C3.ADculos { display: none !important; }
/*
n-Art.C3.ADculos
Art%C3%ADculos
*/
/*.page-Prueba_CV #n-Ideas-Propuestas { display: none !important; }*/
.page-Prueba_CV #n-help { display: none !important; }
/*
div#mw-panel { width: 20em; }
div#footer, #mw-head-base, div#content { margin-left: 20em; }
#left-navigation { margin-left: 20em; }
*/
#globalWrapper {
position:relative;
font-size: 127%;
width: 900px;
margin-left:auto;
margin-right:auto;
padding: 0;
}
/*Cambiar el formato de los títulos de las secciones*/
/*#bodyContent h2 { font-size: 1.8em !important; font-style:bold !important; }*/
/* Bold h1 and h2 */
h1 { font-weight: bold; }
.editsection { font-weight: normal; }
h2 { font-weight: bold; }
.editsection { font-weight: normal; }
/*h2 {
color: black;
background: none;
font-weight: normal;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 1px solid #aaa;
*/
/* Oculatar paginas en la sidebar en la pagina ERoster*/