Diferencia entre revisiones de «MediaWiki:Common.css»
De CEBES Perquín
| Línea 66: | Línea 66: | ||
} | } | ||
| − | # portal | + | #portal { |
| − | + | width: 20%; | |
| − | + | float: left; | |
} | } | ||
| − | @ | + | @media only screen and (max-width: 860px) { |
| − | . columna-izquieda | + | .columna-izquieda { |
| − | + | width: auto; | |
| − | + | float: left; | |
| − | + | padding: 10px; | |
} | } | ||
| − | . columna-derecha | + | .columna-derecha { |
| − | + | float: left; | |
| − | + | width: auto; | |
| − | + | padding: 10px; | |
| − | + | display: block; | |
| − | } | + | } |
} | } | ||
| − | @ | + | @media only screen and (max-width: 550px) { |
| − | + | #portal { | |
| − | + | display: none; | |
| − | + | } | |
| + | } | ||
| + | @media only screen and (max-width: 450px) { | ||
| + | #p-logo-text { | ||
| + | /*display: none; */ | ||
| + | display: true; | ||
| + | } | ||
| + | } | ||
| − | @ | + | @media only screen and (max-width: 1099px) { |
| − | + | #siteNotice { | |
| − | + | display: none; | |
| − | + | } | |
| − | + | } | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | # mw-content-container | + | #mw-content-container { |
| − | + | background-image: none !important; | |
} | } | ||
Revisión del 20:38 9 dic 2020
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* Oculta título y categorías en la Portada */
body.page-Portada h1.firstHeading, body.page-Portada #catlinks-sidebar { display:none; }
/* Oculta artículos destacados de la versión móvil en la versión de escritorio */
/* Common.css no se tiene en cuenta en la versión móvil (Mobile.css) */
#destacados-movil {
display: none;
}
/* Cambia fuente de epígrafes */
.mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
font-family: 'Helvetica Neue','Nimbus Sans','Helvetica','Arial',sans-serif;
font-weight: bold;
}
.mw-body h1 {
font-size: 1.8em; /* Default: 2.0em */
font-family: 'Times New Roman',serif; /* Default: 'Linux Libertine' */
}
.mw-body h2 {
font-size: 1.5em; /* Default: 1.7em */
}
.mw-body h3 {
font-size: 1.35em; /* Default: 1.5em */
}
.mw-body h4 {
font-size: 1.25em; /* Default: 1.35em */
}
.mw-body h5 {
font-size: 1.2em; /* Default: 1.25em */
}
.mw-body h6 {
font-size: 1.15em; /* Default: 1.2em */
}
/* Oculta fecha de última modificacion en pie de páginas */
/*
#lastmod {
display:none;
}
*/
/* Responsive two column layout */
* {
box-sizing: border-box;
}
/* Create two equal columns that floats next to each other */
.column {
float: left;
width: 50%;
padding: 10px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
}
#portal {
width: 20%;
float: left;
}
@media only screen and (max-width: 860px) {
.columna-izquieda {
width: auto;
float: left;
padding: 10px;
}
.columna-derecha {
float: left;
width: auto;
padding: 10px;
display: block;
}
}
@media only screen and (max-width: 550px) {
#portal {
display: none;
}
}
@media only screen and (max-width: 450px) {
#p-logo-text {
/*display: none; */
display: true;
}
}
@media only screen and (max-width: 1099px) {
#siteNotice {
display: none;
}
}
#mw-content-container {
background-image: none !important;
}