Limit textarea field heading tag level

This commit is contained in:
Paul Nicoué 2022-04-26 18:04:10 +02:00
parent d272a8752b
commit ae2282a76b
15 changed files with 75 additions and 46 deletions

View file

@ -1,8 +1,11 @@
@import 'minireset', 'fonts', 'variables', 'animations';
@use 'minireset';
@use 'fonts';
@use 'variables' as *;
@use 'animations';
// ===========================================================================
// ----------------------------------------------------------------------------
// GENERALITIES
// ===========================================================================
// ----------------------------------------------------------------------------
// Fonts and colors
@ -16,8 +19,7 @@ body {
h1,
h2,
h3,
h4 {
h3 {
color: var(--black);
}
@ -41,13 +43,6 @@ h3 {
margin: 1rem 0;
}
h4 {
font-family: var(--text-font-family);
font-size: var(--h4-font-size);
line-height: var(--h4-font-size);
margin: 1rem 0;
}
p {
text-align: justify;
line-height: var(--text-line-height);
@ -104,9 +99,9 @@ footer {
grid-area: footer;
}
// ===========================================================================
// ----------------------------------------------------------------------------
// HEADER
// ===========================================================================
// ----------------------------------------------------------------------------
// Header bar
@ -125,9 +120,9 @@ footer {
text-decoration: none;
}
// ===========================================================================
// ----------------------------------------------------------------------------
// MAIN
// ===========================================================================
// ----------------------------------------------------------------------------
// Home section
@ -573,11 +568,14 @@ footer {
}
.gallery__introduction,
.about__presentation,
.error__message {
.about__presentation {
max-width: var(--text-max-width);
margin: auto;
h3:nth-child(1) {
margin: 0 0 1rem 0;
}
p {
+ p,
@ -669,9 +667,9 @@ footer {
}
}
// ===========================================================================
// ----------------------------------------------------------------------------
// FOOTER
// ===========================================================================
// ----------------------------------------------------------------------------
// Footer bar