From 3bd859212cb7c12d2368277be71792424f22d968 Mon Sep 17 00:00:00 2001 From: to7m Date: Wed, 7 Aug 2024 10:17:50 +0100 Subject: [PATCH] updated to include sass bug --- public_html/style.css | 7 +++++++ public_html/style.css.map | 2 +- scss/body/main/_contact.scss | 7 +++++++ scss/text/_sizes.scss | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/public_html/style.css b/public_html/style.css index 71bab4b..bdbe697 100644 --- a/public_html/style.css +++ b/public_html/style.css @@ -268,6 +268,13 @@ h3 { grid-area: text; } +h2 { + font-family: arial; + font-size: 1.6rem; + font-weight: bold; + line-height: 2.1rem; +} + #contact-form { grid-area: form; } diff --git a/public_html/style.css.map b/public_html/style.css.map index 9489416..a852de6 100644 --- a/public_html/style.css.map +++ b/public_html/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/_reset.scss","../scss/text/_icon.scss","../scss/body/_aside.scss","../scss/_colours.scss","../scss/_accessibility.scss","../scss/body/_header.scss","../scss/text/_sizes.scss","../scss/body/main/_project-previews.scss","../scss/body/main/_contact.scss","../scss/body/_index.scss"],"names":[],"mappings":"AAAA;AAEA;AACI;AAAA;EAEA;;;AAGJ;AACI;EACA;EACA;EACA;;;AAGJ;AACI;AAAA;AAAA;EAGA;AAEA;EACA;EACA;;;AAGJ;AACI;EACA;;;AAGJ;AACI;EACA;;;AAIJ;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;ACzDJ;EACI;EACA;EACA,KACI;EAIJ;EACA;EACA;;ACRJ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;;AAIR;EAAc;;;AAEd;EACI;EACA;;AAEA;EAAO;;;AAGX;EACI;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;EACA,OCvCG;;;ACAH;EF0CJ;IEzCQ;;;;AF0CR;EAGI;;AExCA;EFqCJ;IEpCQ;;;;AHoFJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AANJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AANJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AANJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AI7FR;EACI;EACA;EACA;EAEA;EACA;EACA;EACA,qBACI;EFNJ;EEUA;EACA;EACA,OFhBI;;;AEmBR;EACI;EACA;;;AAGJ;ECxBI,aAJa;EAKb,WAMwC;EALxC,aAK4D;EAJ5D;EDuBA;;;AAGJ;EACI;EC9BA,aAJa;EAKb,WAQ8C;EAP9C,aAHsE;EAItE;;;AD+BJ;EACI;EACA;;AJoDA;EACI;EACA;EACA;EACA;EACA;EACA;EIvDA;EACA;EACA;;;AE1CR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;ED3BI,aAJa;EAKb,WAOwC;EANxC,aAM8D;EAL9D;;;AC4BJ;ED/BI,aAJa;EAKb,WAUkD;EATlD,aAHsE;EAItE;;ALqFA;EACI;EACA;EACA;EACA;EACA;EACA;;;AOlGR;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;ACLJ;EACI,kBNLI;EMOJ;EACA;EACA;EACA;EACA;EHXA,aAJa;EAKb,WAS4C;EAR5C,aAHsE;EAItE;EGWA,ONlBI;;;AMqBR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../scss/_reset.scss","../scss/text/_icon.scss","../scss/body/_aside.scss","../scss/_colours.scss","../scss/_accessibility.scss","../scss/body/_header.scss","../scss/text/_sizes.scss","../scss/body/main/_project-previews.scss","../scss/body/main/_contact.scss","../scss/body/_index.scss"],"names":[],"mappings":"AAAA;AAEA;AACI;AAAA;EAEA;;;AAGJ;AACI;E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ACA;;;AAGJ;EACI;;;AAGJ;EFXI,aAJa;EAKb,WAOwC;EANxC,aAM8D;EAL9D;;;AEYJ;EACI;;;ACZJ;EACI,kBNLI;EMOJ;EACA;EACA;EACA;EACA;EHXA,aAJa;EAKb,WAU4C;EAT5C,aAHsE;EAItE;EGWA,ONlBI;;;AMqBR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA","file":"style.css"} \ No newline at end of file diff --git a/scss/body/main/_contact.scss b/scss/body/main/_contact.scss index e4c072c..7acf3ca 100644 --- a/scss/body/main/_contact.scss +++ b/scss/body/main/_contact.scss @@ -1,3 +1,6 @@ +@use "text"; + + #contact { display: grid; grid-template-rows: auto; @@ -10,6 +13,10 @@ grid-area: text; } +h2 { + @include text.h2_text_sizes; +} + #contact-form { grid-area: form; } diff --git a/scss/text/_sizes.scss b/scss/text/_sizes.scss index 471a206..74c3351 100644 --- a/scss/text/_sizes.scss +++ b/scss/text/_sizes.scss @@ -10,6 +10,7 @@ $_DEFAULT_FONTS: arial; @mixin h1_text_sizes { @include _text_sizes(3rem, $font-weight: bold); } +@mixin h2_text_sizes { @include _text_sizes(1.6rem, $font-weight: bold); } @mixin h3_text_sizes { @include _text_sizes(1.4rem, $font-weight: bold); } @mixin header_p_text_sizes { @include _text_sizes(1.2rem); } @mixin normal_text_sizes { @include _text_sizes(1rem); }