Skip to content

Instantly share code, notes, and snippets.

@NorfiPC
Last active October 1, 2018 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NorfiPC/85783e4da3900e6df0ce9edf10665b0f to your computer and use it in GitHub Desktop.
Save NorfiPC/85783e4da3900e6df0ce9edf10665b0f to your computer and use it in GitHub Desktop.
Hoja de estilo personalizada para el tema de WordPress Twenty Seventeen
/*
* Theme Name: Twenty Seventeen Child Theme
* Template: twentyseventeen
* Author: Norfi Carrodeguas
*/
@import url("../twentyseventeen/style.css");
/* Ocultar fecha de publicacion */
.entry-date{display:none;}
/* Aumentar fuente 1er encabezado */
h1 {font-size: 30px;line-height: 1.2;}
/* REGLAS PARA EL MODO TABLET */
@media screen and (min-width: 30em) {
body {font-size: 17px;}
h1 {font-size: 32px;line-height: 1.3;}
/* Reducir altura barra de la marca */
.site-branding { padding: 1.2em 0;}
}
/* REGLAS PARA EL MODO ESCRITORIO */
@media screen and (min-width: 48em) {
/* ancho contenedor y de las dos columnas*/
.wrap {max-width: 1100px;}
.has-sidebar #secondary {width: 25%;}
.has-sidebar:not(.error404) #primary {float: left;width: 71%;}
/* Aumentar fuente contenido */
body {font-size: 18px;}
/* Aumentar tamaño nombre sitio */
.site-title {font-size: 2em;}
/* Aumentar fuente 1er encabezado */
#content h1{font-size: 34px;line-height: 1.3em;}
/* reducir espacio bajo la barra de marca*/
.site-content {padding: 2.6em 0 0;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment