Difference between revisions of "MediaWiki:Common.css"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 162: | Line 162: | ||
/* Oculatar paginas en la sidebar en la pagina ERoster*/ | /* Oculatar paginas en la sidebar en la pagina ERoster*/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | .mw-highlight > pre .hll { background-color: #49483e } | ||
+ | .mw-highlight > pre .c { color: #75715e } /* Comment */ | ||
+ | .mw-highlight > pre .err { color: #960050; background-color: #1e0010 } /* Error */ | ||
+ | .mw-highlight > pre .k { color: #66d9ef } /* Keyword */ | ||
+ | .mw-highlight > pre .l { color: #ae81ff } /* Literal */ | ||
+ | .mw-highlight > pre .n { color: #f8f8f2 } /* Name */ | ||
+ | .mw-highlight > pre .o { color: #f92672 } /* Operator */ | ||
+ | .mw-highlight > pre .p { color: #f8f8f2 } /* Punctuation */ | ||
+ | .mw-highlight > pre .ch { color: #75715e } /* Comment.Hashbang */ | ||
+ | .mw-highlight > pre .cm { color: #75715e } /* Comment.Multiline */ | ||
+ | .mw-highlight > pre .cp { color: #75715e } /* Comment.Preproc */ | ||
+ | .mw-highlight > pre .cpf { color: #75715e } /* Comment.PreprocFile */ | ||
+ | .mw-highlight > pre .c1 { color: #75715e } /* Comment.Single */ | ||
+ | .mw-highlight > pre .cs { color: #75715e } /* Comment.Special */ | ||
+ | .mw-highlight > pre .gd { color: #f92672 } /* Generic.Deleted */ | ||
+ | .mw-highlight > pre .ge { font-style: italic } /* Generic.Emph */ | ||
+ | .mw-highlight > pre .gi { color: #a6e22e } /* Generic.Inserted */ | ||
+ | .mw-highlight > pre .gs { font-weight: bold } /* Generic.Strong */ | ||
+ | .mw-highlight > pre .gu { color: #75715e } /* Generic.Subheading */ | ||
+ | .mw-highlight > pre .kc { color: #66d9ef } /* Keyword.Constant */ | ||
+ | .mw-highlight > pre .kd { color: #66d9ef } /* Keyword.Declaration */ | ||
+ | .mw-highlight > pre .kn { color: #f92672 } /* Keyword.Namespace */ | ||
+ | .mw-highlight > pre .kp { color: #66d9ef } /* Keyword.Pseudo */ | ||
+ | .mw-highlight > pre .kr { color: #66d9ef } /* Keyword.Reserved */ | ||
+ | .mw-highlight > pre .kt { color: #66d9ef } /* Keyword.Type */ | ||
+ | .mw-highlight > pre .ld { color: #e6db74 } /* Literal.Date */ | ||
+ | .mw-highlight > pre .m { color: #ae81ff } /* Literal.Number */ | ||
+ | .mw-highlight > pre .s { color: #e6db74 } /* Literal.String */ | ||
+ | .mw-highlight > pre .na { color: #a6e22e } /* Name.Attribute */ | ||
+ | .mw-highlight > pre .nb { color: #f8f8f2 } /* Name.Builtin */ | ||
+ | .mw-highlight > pre .nc { color: #a6e22e } /* Name.Class */ | ||
+ | .mw-highlight > pre .no { color: #66d9ef } /* Name.Constant */ | ||
+ | .mw-highlight > pre .nd { color: #a6e22e } /* Name.Decorator */ | ||
+ | .mw-highlight > pre .ni { color: #f8f8f2 } /* Name.Entity */ | ||
+ | .mw-highlight > pre .ne { color: #a6e22e } /* Name.Exception */ | ||
+ | .mw-highlight > pre .nf { color: #a6e22e } /* Name.Function */ | ||
+ | .mw-highlight > pre .nl { color: #f8f8f2 } /* Name.Label */ | ||
+ | .mw-highlight > pre .nn { color: #f8f8f2 } /* Name.Namespace */ | ||
+ | .mw-highlight > pre .nx { color: #a6e22e } /* Name.Other */ | ||
+ | .mw-highlight > pre .py { color: #f8f8f2 } /* Name.Property */ | ||
+ | .mw-highlight > pre .nt { color: #f92672 } /* Name.Tag */ | ||
+ | .mw-highlight > pre .nv { color: #f8f8f2 } /* Name.Variable */ | ||
+ | .mw-highlight > pre .ow { color: #f92672 } /* Operator.Word */ | ||
+ | .mw-highlight > pre .w { color: #f8f8f2 } /* Text.Whitespace */ | ||
+ | .mw-highlight > pre .mb { color: #ae81ff } /* Literal.Number.Bin */ | ||
+ | .mw-highlight > pre .mf { color: #ae81ff } /* Literal.Number.Float */ | ||
+ | .mw-highlight > pre .mh { color: #ae81ff } /* Literal.Number.Hex */ | ||
+ | .mw-highlight > pre .mi { color: #ae81ff } /* Literal.Number.Integer */ | ||
+ | .mw-highlight > pre .mo { color: #ae81ff } /* Literal.Number.Oct */ | ||
+ | .mw-highlight > pre .sa { color: #e6db74 } /* Literal.String.Affix */ | ||
+ | .mw-highlight > pre .sb { color: #e6db74 } /* Literal.String.Backtick */ | ||
+ | .mw-highlight > pre .sc { color: #e6db74 } /* Literal.String.Char */ | ||
+ | .mw-highlight > pre .dl { color: #e6db74 } /* Literal.String.Delimiter */ | ||
+ | .mw-highlight > pre .sd { color: #e6db74 } /* Literal.String.Doc */ | ||
+ | .mw-highlight > pre .s2 { color: #e6db74 } /* Literal.String.Double */ | ||
+ | .mw-highlight > pre .se { color: #ae81ff } /* Literal.String.Escape */ | ||
+ | .mw-highlight > pre .sh { color: #e6db74 } /* Literal.String.Heredoc */ | ||
+ | .mw-highlight > pre .si { color: #e6db74 } /* Literal.String.Interpol */ | ||
+ | .mw-highlight > pre .sx { color: #e6db74 } /* Literal.String.Other */ | ||
+ | .mw-highlight > pre .sr { color: #e6db74 } /* Literal.String.Regex */ | ||
+ | .mw-highlight > pre .s1 { color: #e6db74 } /* Literal.String.Single */ | ||
+ | .mw-highlight > pre .ss { color: #e6db74 } /* Literal.String.Symbol */ | ||
+ | .mw-highlight > pre .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ | ||
+ | .mw-highlight > pre .fm { color: #a6e22e } /* Name.Function.Magic */ | ||
+ | .mw-highlight > pre .vc { color: #f8f8f2 } /* Name.Variable.Class */ | ||
+ | .mw-highlight > pre .vg { color: #f8f8f2 } /* Name.Variable.Global */ | ||
+ | .mw-highlight > pre .vi { color: #f8f8f2 } /* Name.Variable.Instance */ | ||
+ | .mw-highlight > pre .vm { color: #f8f8f2 } /* Name.Variable.Magic */ | ||
+ | .mw-highlight > pre .il { color: #ae81ff } /* Literal.Number.Integer.Long */ |
Revision as of 13:27, 28 October 2018
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* La siguiente línea permite eliminar la numeración en la TOC. Debemos también colocar <div class="noautonum">__TOC__</div> en la página donde no queremos que las secciones sean numeradas en la TOC */
.noautonum .tocnumber { display: none; }
/* ###########
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*/
.mw-highlight > pre .hll { background-color: #49483e }
.mw-highlight > pre .c { color: #75715e } /* Comment */
.mw-highlight > pre .err { color: #960050; background-color: #1e0010 } /* Error */
.mw-highlight > pre .k { color: #66d9ef } /* Keyword */
.mw-highlight > pre .l { color: #ae81ff } /* Literal */
.mw-highlight > pre .n { color: #f8f8f2 } /* Name */
.mw-highlight > pre .o { color: #f92672 } /* Operator */
.mw-highlight > pre .p { color: #f8f8f2 } /* Punctuation */
.mw-highlight > pre .ch { color: #75715e } /* Comment.Hashbang */
.mw-highlight > pre .cm { color: #75715e } /* Comment.Multiline */
.mw-highlight > pre .cp { color: #75715e } /* Comment.Preproc */
.mw-highlight > pre .cpf { color: #75715e } /* Comment.PreprocFile */
.mw-highlight > pre .c1 { color: #75715e } /* Comment.Single */
.mw-highlight > pre .cs { color: #75715e } /* Comment.Special */
.mw-highlight > pre .gd { color: #f92672 } /* Generic.Deleted */
.mw-highlight > pre .ge { font-style: italic } /* Generic.Emph */
.mw-highlight > pre .gi { color: #a6e22e } /* Generic.Inserted */
.mw-highlight > pre .gs { font-weight: bold } /* Generic.Strong */
.mw-highlight > pre .gu { color: #75715e } /* Generic.Subheading */
.mw-highlight > pre .kc { color: #66d9ef } /* Keyword.Constant */
.mw-highlight > pre .kd { color: #66d9ef } /* Keyword.Declaration */
.mw-highlight > pre .kn { color: #f92672 } /* Keyword.Namespace */
.mw-highlight > pre .kp { color: #66d9ef } /* Keyword.Pseudo */
.mw-highlight > pre .kr { color: #66d9ef } /* Keyword.Reserved */
.mw-highlight > pre .kt { color: #66d9ef } /* Keyword.Type */
.mw-highlight > pre .ld { color: #e6db74 } /* Literal.Date */
.mw-highlight > pre .m { color: #ae81ff } /* Literal.Number */
.mw-highlight > pre .s { color: #e6db74 } /* Literal.String */
.mw-highlight > pre .na { color: #a6e22e } /* Name.Attribute */
.mw-highlight > pre .nb { color: #f8f8f2 } /* Name.Builtin */
.mw-highlight > pre .nc { color: #a6e22e } /* Name.Class */
.mw-highlight > pre .no { color: #66d9ef } /* Name.Constant */
.mw-highlight > pre .nd { color: #a6e22e } /* Name.Decorator */
.mw-highlight > pre .ni { color: #f8f8f2 } /* Name.Entity */
.mw-highlight > pre .ne { color: #a6e22e } /* Name.Exception */
.mw-highlight > pre .nf { color: #a6e22e } /* Name.Function */
.mw-highlight > pre .nl { color: #f8f8f2 } /* Name.Label */
.mw-highlight > pre .nn { color: #f8f8f2 } /* Name.Namespace */
.mw-highlight > pre .nx { color: #a6e22e } /* Name.Other */
.mw-highlight > pre .py { color: #f8f8f2 } /* Name.Property */
.mw-highlight > pre .nt { color: #f92672 } /* Name.Tag */
.mw-highlight > pre .nv { color: #f8f8f2 } /* Name.Variable */
.mw-highlight > pre .ow { color: #f92672 } /* Operator.Word */
.mw-highlight > pre .w { color: #f8f8f2 } /* Text.Whitespace */
.mw-highlight > pre .mb { color: #ae81ff } /* Literal.Number.Bin */
.mw-highlight > pre .mf { color: #ae81ff } /* Literal.Number.Float */
.mw-highlight > pre .mh { color: #ae81ff } /* Literal.Number.Hex */
.mw-highlight > pre .mi { color: #ae81ff } /* Literal.Number.Integer */
.mw-highlight > pre .mo { color: #ae81ff } /* Literal.Number.Oct */
.mw-highlight > pre .sa { color: #e6db74 } /* Literal.String.Affix */
.mw-highlight > pre .sb { color: #e6db74 } /* Literal.String.Backtick */
.mw-highlight > pre .sc { color: #e6db74 } /* Literal.String.Char */
.mw-highlight > pre .dl { color: #e6db74 } /* Literal.String.Delimiter */
.mw-highlight > pre .sd { color: #e6db74 } /* Literal.String.Doc */
.mw-highlight > pre .s2 { color: #e6db74 } /* Literal.String.Double */
.mw-highlight > pre .se { color: #ae81ff } /* Literal.String.Escape */
.mw-highlight > pre .sh { color: #e6db74 } /* Literal.String.Heredoc */
.mw-highlight > pre .si { color: #e6db74 } /* Literal.String.Interpol */
.mw-highlight > pre .sx { color: #e6db74 } /* Literal.String.Other */
.mw-highlight > pre .sr { color: #e6db74 } /* Literal.String.Regex */
.mw-highlight > pre .s1 { color: #e6db74 } /* Literal.String.Single */
.mw-highlight > pre .ss { color: #e6db74 } /* Literal.String.Symbol */
.mw-highlight > pre .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.mw-highlight > pre .fm { color: #a6e22e } /* Name.Function.Magic */
.mw-highlight > pre .vc { color: #f8f8f2 } /* Name.Variable.Class */
.mw-highlight > pre .vg { color: #f8f8f2 } /* Name.Variable.Global */
.mw-highlight > pre .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.mw-highlight > pre .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.mw-highlight > pre .il { color: #ae81ff } /* Literal.Number.Integer.Long */