MediaWiki:Common.css

From National Atlas of Spain
Revision as of 15:04, 22 February 2024 by Ane (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */

#ca-talk { display:none!important; }
#ca-viewsource { display:none!important; }
#ca-history { display:none!important; }

/*Ocultar titulo de pagina principal (para evitar redireccion)*/
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/*quitar la posibilidad de borrar la página principal*/
body.page-Main_Page li#ca-delete { display:none!important; }

/* ini cabecera */

#ubc7-logo {
     background-image: url(http://nationalatlas.ign.es/resources/assets/logo_apaisado.png);
     background-repeat: no-repeat;
     margin: 0 auto;
     height: 100%;
}

.row-fluid [class*="span"] {
     display: block;
     float: left;
     width: 100%;
     min-height: 62px;
     margin-left: 2.127659574468085%;
     -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
}
.row-fluid:after {
     clear: both;
}
.row-fluid:before, .row-fluid:after {
     display: table;
     line-height: 0;
     content: "";
}
.row-fluid [class*="span"]:first-child {
     margin-left: 0;
}
.row-fluid .span1 {
     width: 100%;
     overflow: hidden;
}
#ubc7-header {
     /*background-color: #eaecf0;*/
     background-color: #364b5f;
     width: 100%;
}
#ubc7-logo a {
     overflow: hidden;
     text-indent: 200%;
     white-space: nowrap;
     display: block;
     height: 100%;
     width: 100%;
}
#ubc7-header .span1 {
     height: 62px;
     width: 640px;
}
#p-logo {
    width: 10em;
    height: 160px;
}
@media screen {
    div#mw-head, div#mw-panel {
         top: 62px !important;
    }
}
/* fin cabecera */

/*usar si el logo es mayor que el minimo de 135px de ancho*/
#p-logo a {
     height: 180px !important;
     width: 14em !important;
}
/*alinear el logo y ajustar dimensiones*/
.mw-wiki-logo {
  margin-left: 0em;
}

/*colocar mensaje cookies en parte baja de la pagina, evita problema en moviles*/
.mw-cookiewarning-container {
    top: auto;
    bottom: 0;
    z-index: 1000;
}