reduced h3 header size in mid size screens

This commit is contained in:
jorge 2023-02-27 13:14:59 +01:00
parent 86f4941178
commit 60bd59ab64
8 changed files with 114 additions and 9 deletions

View File

@ -17,7 +17,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.0.5
Version: 1.0.6
Tested up to: 6.2
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -691,6 +691,46 @@ Add your custom styles in this file so it is easier to update the theme.
font-size: 2.5rem;
}
.edit-post-visual-editor__content-area h3,
.edit-post-visual-editor__content-area .h3 {
font-size: 1.6rem;
}
.edit-post-visual-editor__content-area h4,
.edit-post-visual-editor__content-area .h4 {
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.6rem;
}
.edit-post-visual-editor__content-area h5,
.edit-post-visual-editor__content-area .h5 {
font-size: 1.4rem;
}
.edit-post-visual-editor__content-area h6,
.edit-post-visual-editor__content-area .h6 {
font-size: 1.4rem;
}
.edit-post-visual-editor__content-area .home-featured h2,
.edit-post-visual-editor__content-area .home-featured .h2 {
font-size: 3.5rem;
border-bottom: 0.8rem solid #000;
}
}
@media screen and (min-width: 1440px) {
.edit-post-visual-editor__content-area h1,
.edit-post-visual-editor__content-area .h1 {
font-size: 3.5rem;
}
.edit-post-visual-editor__content-area h2,
.edit-post-visual-editor__content-area .h2 {
font-size: 2.5rem;
}
.edit-post-visual-editor__content-area h3,
.edit-post-visual-editor__content-area .h3 {
font-size: 2rem;
@ -1771,7 +1811,6 @@ Add your custom styles in this file so it is easier to update the theme.
border-bottom: 1px solid #000;
margin: 0;
padding: 0.5rem 0;
word-break: break-word;
}
.edit-post-visual-editor__content-area .ofisuport-card-each p {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -83,6 +83,33 @@
}
}
@media screen and (min-width: 48em) {
h1,.h1 {
font-size: $font__size-body*3.5;
}
h2,.h2 {
font-size: $font__size-body*2.5;
}
h3,.h3 {
font-size: $font__size-body*1.6;
}
h4,.h4 {
font-family: $font__black;
font-size: $font__size-body*1.6;
}
h5,.h5 {
font-size: $font__size-body*1.4;
}
h6,.h6 {
font-size: $font__size-body*1.4;
}
.home-featured {
h2,.h2 {
font-size: $font__size-body*3.5;
border-bottom: 0.8rem solid $color__black;
}
}
}
@media screen and (min-width: 1440px) {
h1,.h1 {
font-size: $font__size-body*3.5;
}

View File

@ -31,7 +31,7 @@
border-bottom: 1px solid $color__black;
margin: 0;
padding: 0.5rem 0;
word-break: break-word;
//word-break: break-word;
}
p {
padding: 0.5rem 0;

View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.0.5
Version: 1.0.6
Tested up to: 6.2
Requires PHP: 7.4
License: GNU General Public License v3 or later

View File

@ -5,7 +5,7 @@ Theme URI: https://git.hangar.org/xarxaprod/
Author: Hangar.org Tech Lab - hangar.org
Author URI: https://hangar.org
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
Version: 1.0.5
Version: 1.0.6
Tested up to: 6.2
Requires PHP: 7.4
License: GNU General Public License v3 or later
@ -558,6 +558,46 @@ textarea {
font-size: 2.5rem;
}
h3,
.h3 {
font-size: 1.6rem;
}
h4,
.h4 {
font-family: din-black, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 1.6rem;
}
h5,
.h5 {
font-size: 1.4rem;
}
h6,
.h6 {
font-size: 1.4rem;
}
.home-featured h2,
.home-featured .h2 {
font-size: 3.5rem;
border-bottom: 0.8rem solid #000;
}
}
@media screen and (min-width: 1440px) {
h1,
.h1 {
font-size: 3.5rem;
}
h2,
.h2 {
font-size: 2.5rem;
}
h3,
.h3 {
font-size: 2rem;
@ -1625,7 +1665,6 @@ textarea {
border-bottom: 1px solid #000;
margin: 0;
padding: 0.5rem 0;
word-break: break-word;
}
.ofisuport-card-each p {

File diff suppressed because one or more lines are too long