From 0645489ee13a7786a29cc4f813d5b2ca66099ea3 Mon Sep 17 00:00:00 2001 From: Kenneth Love Date: Sun, 8 Oct 2023 17:42:06 +0000 Subject: [PATCH] content and style changes. added mentoring page. --- content/_index.md | 8 +- content/mentoring/_index.md | 33 ++++ public/dist/kennethlove.css | 57 ++++--- themes/editor/layouts/_default/baseof.html | 3 +- themes/editor/static/dist/kennethlove.css | 116 ++++++------- themes/editor/static/dist/kennethlove.css.map | 11 +- themes/editor/static/src/kennethlove.scss | 157 +++++++++++++----- 7 files changed, 242 insertions(+), 143 deletions(-) create mode 100644 content/mentoring/_index.md diff --git a/content/_index.md b/content/_index.md index 5691520..476e945 100644 --- a/content/_index.md +++ b/content/_index.md @@ -7,14 +7,14 @@ markup: mmark # Overview -Heya! I'm Kenneth. I write [code for a living](https://oreilly.com). I used to [teach Python](https://teamtreehouse.com/kennethlove) as a job. I also [participate in open source](https://github.com/kennethlove). I do a lot of other things, too, but you're probably not here for them. +Heya! I'm Kenneth. I [manage programmers and write code for a living](https://oreilly.com). I used to [teach Python](https://teamtreehouse.com/kennethlove) as a job. I also [participate in open source](https://github.com/kennethlove). I do a lot of other things, too, but you're probably not here for them. -I've been a developer for well over a decade now. I've worked for [ecommerce sites](https://tindie.com), [design firms](https://bricksf.com), and did freelance development for a long time. I have experience -setting up servers, using third-party services, building bots for various systems, and more. I also built a pretty popular [collection of mixins](https://github.com/brack3t/django-braces) for Django's class-based +I've been a developer for well over a decade now. I've worked for [ecommerce sites](https://tindie.com), [design firms](https://bricksf.com), and did freelance development for a long time. I have experience +setting up servers, using third-party services, building bots for various systems, and more. I also built a pretty popular [collection of mixins](https://github.com/brack3t/django-braces) for Django's class-based views. Some of them even got [merged into Django itself](https://github.com/django/django/commit/e5cb4e14118f3a508e3bc00ee7cd50bb0f18a61d). I'm also a frequent conference presenter and sometimes do programming live streams. In the past, I've [helped organize workshops](https://djangogirls.org/portland/) and [conferences](https://djangocon.us). Basically, I have a lot of fingers and I like to keep them in pies. That's such a weird phrase. -This site and its content are distributed as a [by-nc-sa](http://creativecommons.org/licenses/by-nc-sa/4.0/) work. If you find any issues, please [tell me on GitHub](https://github.com/kennethlove/kennethlove.github.io). \ No newline at end of file +This site and its content are distributed as a [by-nc-sa](http://creativecommons.org/licenses/by-nc-sa/4.0/) work. If you find any issues, please [tell me on GitHub](https://github.com/kennethlove/kennethlove.github.io). diff --git a/content/mentoring/_index.md b/content/mentoring/_index.md new file mode 100644 index 0000000..55d222e --- /dev/null +++ b/content/mentoring/_index.md @@ -0,0 +1,33 @@ +--- +title: Mentoring - Kenneth Love +date: 2023-10-06 +publishdate: 2023-10-06 +markup: mmark +--- + +## Want to learn Python or Django? + +I'm offering private 1:1 tutoring via video chat. It's available by the +hour, once per week per person. Contact me and we'll set up a time for a free, 10 minute consultation. + +One Week|Five Weeks|Ten Weeks +-----|-----|----- +$100/hour|$475 _(5% discount)_|$900 _(10% discount)_ +Great for quick refreshers, code consultations, and very targeted tutoring.|Five hours gives us time to explore and dive into a new facet of Python or Django.|The more hours, the more you can learn! Choose this option if you're new to Python or Django or have a lot on your "to-learn" list. + +## Topics + +In no particular order, I'm happy to mentor you on any of the following topics: + +* Python +* Django +* Django REST Framework +* Pytest + +## Testimonials + +> Kenneth is immeasurably fantastic at meeting me at my position, skill, and bearing and providing directed and meaningful progression to my tasks, goals, and ideas. When I have lofty mile markers, I can easily discuss different approaches to get there, avoid hurdles, or discuss hypotheticals in a challenging dynamic programming environment. And then to top it off, I get the support for learning new approaches in a succinct and tailored meeting. I highly recommend them as a great resource to strengthen your skills. +> - Chris F. + +> I understand concepts that I couldn't fathom a year ago. I feel confidence in areas I never knew I had! +> - Alissa V. diff --git a/public/dist/kennethlove.css b/public/dist/kennethlove.css index 4576270..8456738 100644 --- a/public/dist/kennethlove.css +++ b/public/dist/kennethlove.css @@ -1,4 +1,5 @@ @charset "UTF-8"; + /* Colors */ * { vertical-align: baseline; @@ -32,44 +33,46 @@ body { display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; + flex-wrap: wrap-reverse; -webkit-box-pack: space-evenly; - -ms-flex-pack: space-evenly; - justify-content: space-evenly; + -ms-flex-pack: space-evenly; + justify-content: space-evenly; } -.container > * { +.container>* { -webkit-box-flex: 1; - -ms-flex: 1 100%; - flex: 1 100%; + -ms-flex: 1 100%; + flex: 1 100%; } @media all and (min-width: 600px) { .side { -webkit-box-flex: 1; - -ms-flex: 1 auto; - flex: 1 auto; + -ms-flex: 1 auto; + flex: 1 auto; } } @media all and (min-width: 800px) { .main { -webkit-box-flex: 3; - -ms-flex: 3 0px; - flex: 3 0px; + -ms-flex: 3 0px; + flex: 3 0px; } + .side { -webkit-box-ordinal-group: 2; - -ms-flex-order: 1; - order: 1; + -ms-flex-order: 1; + order: 1; } + .main { -webkit-box-ordinal-group: 3; - -ms-flex-order: 2; - order: 2; + -ms-flex-order: 2; + order: 2; } } @@ -112,7 +115,7 @@ body { .main { -ms-flex-preferred-size: 75%; - flex-basis: 75%; + flex-basis: 75%; padding: 1rem; max-width: 90%; } @@ -198,7 +201,8 @@ h6::before { content: "###### "; } -p, table { +p, +table { margin-top: 0; max-width: 58em; } @@ -213,13 +217,13 @@ p, table { display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; + -ms-flex-flow: row wrap; + flex-flow: row wrap; -ms-flex-line-pack: center; - align-content: center; + align-content: center; -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; } .inline-list li { @@ -322,6 +326,9 @@ p, table { .spoiler main.hidden { display: none; } - - /*# sourceMappingURL= kennethlove.css.map */ \ No newline at end of file +table { + background-color: black; +} + +/*# sourceMappingURL= kennethlove.css.map */ diff --git a/themes/editor/layouts/_default/baseof.html b/themes/editor/layouts/_default/baseof.html index 46c5c14..3679e82 100644 --- a/themes/editor/layouts/_default/baseof.html +++ b/themes/editor/layouts/_default/baseof.html @@ -22,4 +22,5 @@

Kenneth Love

- \ No newline at end of file + + diff --git a/themes/editor/static/dist/kennethlove.css b/themes/editor/static/dist/kennethlove.css index 4576270..d26f9e4 100644 --- a/themes/editor/static/dist/kennethlove.css +++ b/themes/editor/static/dist/kennethlove.css @@ -15,7 +15,7 @@ html { background-color: #5a5475; color: #f8f8f2; - font-family: 'Hack', 'Fantasque Sans Mono', monospace; + font-family: "Hack", "Fantasque Sans Mono", monospace; font-style: normal; font-weight: normal; } @@ -27,92 +27,64 @@ body { } .container { - display: -webkit-box; - display: -ms-flexbox; display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; - -webkit-box-pack: space-evenly; - -ms-flex-pack: space-evenly; - justify-content: space-evenly; + flex-flow: row wrap; + flex-wrap: wrap-reverse; + justify-content: space-evenly; } .container > * { - -webkit-box-flex: 1; - -ms-flex: 1 100%; - flex: 1 100%; + flex: 1 100%; } @media all and (min-width: 600px) { .side { - -webkit-box-flex: 1; - -ms-flex: 1 auto; - flex: 1 auto; + flex: 1 auto; } } - @media all and (min-width: 800px) { .main { - -webkit-box-flex: 3; - -ms-flex: 3 0px; - flex: 3 0px; + flex: 3 0px; } .side { - -webkit-box-ordinal-group: 2; - -ms-flex-order: 1; - order: 1; + order: 1; } .main { - -webkit-box-ordinal-group: 3; - -ms-flex-order: 2; - order: 2; + order: 2; } } - .side { padding: 1rem; } - .side h1 { font-size: inherit; } - .side .nav ul { list-style: none; margin: 0; padding: 0; } - .side .nav ul li { line-height: 1.2; margin: 0 0 1em; } - .side .post-nav ul { margin-top: -0.8em; } - .side .post-nav ul li { color: #c2ffdf; margin-bottom: 0.1em; } - .side .post-nav ul li::before { content: "├─"; } - .side .post-nav a { margin-left: 0.5em; text-decoration: none; } .main { - -ms-flex-preferred-size: 75%; - flex-basis: 75%; + flex-basis: 75%; padding: 1rem; max-width: 90%; } @@ -158,7 +130,7 @@ a:focus { border-bottom-style: solid; color: #ffea00; outline: 1px solid; - outline-offset: .25em; + outline-offset: 0.25em; } h1, @@ -198,9 +170,45 @@ h6::before { content: "###### "; } -p, table { +blockquote, +p, +table { margin-top: 0; - max-width: 58em; + max-width: 58rem; +} + +blockquote { + background-color: #625c7b; + margin-left: 0; + padding: 1rem; + padding-left: 3rem; + max-width: 55rem; +} +blockquote cite { + display: block; +} + +table { + border-collapse: separate; +} +table th { + border-bottom: 1px solid yellow; + padding-bottom: 0.5rem; + font-weight: bold; + letter-spacing: 0.1rem; +} +table td { + background-color: #625c7b; + padding: 0.5rem; +} +table td em { + color: #ffb8d1; + font-style: italic; + font-weight: normal; +} +table tbody tr:first-child td { + font-weight: bold; + text-align: center; } .no-bullets { @@ -208,20 +216,11 @@ p, table { } .inline-list { - display: -webkit-box; - display: -ms-flexbox; display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-flow: row wrap; - flex-flow: row wrap; - -ms-flex-line-pack: center; - align-content: center; - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; + flex-flow: row wrap; + align-content: center; + justify-content: space-between; } - .inline-list li { margin: 0; } @@ -230,7 +229,6 @@ p, table { margin-bottom: 1em; max-width: 58em; } - .post-details time { display: block; padding-top: 1em; @@ -246,21 +244,18 @@ p, table { border: 1px solid #c5a3ff; margin-bottom: 1em; } - .post-content p code { background: #c5a3ff; color: #5a5475; display: inline-block; padding: 0.125rem 0.3rem; } - .post-content pre, .post-content .highlight pre { max-width: 58em; overflow-x: auto; padding: 1rem; } - .post-content pre code, .post-content .highlight pre code { background: transparent; @@ -282,7 +277,6 @@ p, table { position: absolute; opacity: 0; visibility: hidden; - -webkit-transition: opacity 0.4s; transition: opacity 0.4s; white-space: nowrap; z-index: 1000; @@ -305,7 +299,6 @@ p, table { margin-bottom: 1em; max-width: 58em; } - .spoiler header { background: repeating-linear-gradient(45deg, #e6c000, #e6c000 30px, #ffea00 30px, #ffea00 60px); color: #5a5475; @@ -314,14 +307,11 @@ p, table { padding: 0.5rem 0; text-align: center; } - .spoiler main { padding: 1rem; } - .spoiler main.hidden { display: none; } - - /*# sourceMappingURL= kennethlove.css.map */ \ No newline at end of file +/*# sourceMappingURL=kennethlove.css.map */ diff --git a/themes/editor/static/dist/kennethlove.css.map b/themes/editor/static/dist/kennethlove.css.map index c2768c1..fd7ba18 100644 --- a/themes/editor/static/dist/kennethlove.css.map +++ b/themes/editor/static/dist/kennethlove.css.map @@ -1,10 +1 @@ -{ - "version": 3, - "mappings": ";ACAA,YAAY;ADEZ,AAAA,CAAC,CAAC;EACE,cAAc,EAAE,QAAQ;EACxB,WAAW,EAAE,OAAO;EACpB,WAAW,EAAE,OAAO;EACpB,UAAU,EAAE,OAAO;EACnB,SAAS,EAAE,IAAI;EACf,MAAM,EAAE,MAAM;EACd,OAAO,EAAE,CAAC;EACV,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;CACZ;;AAED,AAAA,IAAI,CAAC;EACD,gBAAgB,ECbR,OAAO;EDcf,KAAK,ECXE,OAAO;EDYd,WAAW,EAAE,wCAAwC;EACrD,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,MAAM;CACtB;;AAED,AAAA,IAAI;AACJ,AAAA,IAAI,CAAC;EACD,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;CACd;;AAED,AAAA,UAAU,CAAC;EACP,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,QAAQ;EACnB,SAAS,EAAE,YAAY;EACvB,eAAe,EAAE,YAAY;CAChC;;AAED,AAAa,UAAH,GAAG,CAAC,CAAC;EACX,IAAI,EAAE,MAAM;CACf;;AAED,MAAM,CAAC,GAAG,MAAM,SAAS,EAAE,KAAK;EAC5B,AAAA,KAAK,CAAC;IAAE,IAAI,EAAE,MA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AAC;EACD,UAAU,EAAE,WAAW;EACvB,OAAO,EAAE,CAAC;CACb;;AAIT,AAAA,IAAI,CAAC;EACD,OAAO,EAAE,KAAK;CACjB;;AAED,AAAA,MAAM,CAAC;EACL,UAAU,ECxNK,OAAO;EDyNtB,KAAK,EC3NK,OAAO;ED4NjB,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,MAAM;EACnB,eAAe,EAAE,IAAI;EACrB,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,MAAM;EACf,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;EACV,UAAU,EAAE,MAAM;EAClB,UAAU,EAAE,YAAY;EACxB,WAAW,EAAE,MAAM;EACnB,OAAO,EAAE,IAAI;EACb,2BAA2B,EAAE,MAAM;CACpC;;AAED,AAAa,YAAD,CAAC,EAAE;AACf,AAAa,YAAD,CAAC,EAAE,CAAC;EACd,QAAQ,EAAE,QAAQ;CACnB;;AAED,AAAA,cAAc,CAAC;EACb,UAAU,EAAE,OAAO;EACnB,OAAO,EAAE,CAAC;CACX;;AAED,AAAA,QAAQ,CAAC;EACL,UAAU,ECnPG,OAAO;EDoPpB,KAAK,ECtPG,OAAO;EDuPf,aAAa,EAAE,GAAG;EAClB,SAAS,EAAE,IAAI;CAsBlB;;AA1BD,AAMI,QANI,CAMJ,MAAM,CAAC;EACH,UAAU,EAAE,mFAMX;EACD,KAAK,EClQD,OAAO;EDmQX,MAAM,EAAE,OAAO;EACf,WAAW,EAAE,IAAI;EACjB,OAAO,EAAE,QAAQ;EACjB,UAAU,EAAE,MAAM;CACrB;;AAnBL,AAqBI,QArBI,CAqBJ,IAAI,CAAC;EACD,OAAO,EAAE,IAAI;CAGhB;;AAzBL,AAqBI,QArBI,CAqBJ,IAAI,AAGA,OAAQ,CAAC;EAAE,OAAO,EAAE,IAAI;CAAK", - "sources": [ - "../src/kennethlove.scss", - "../src/_colors.scss" - ], - "names": [], - "file": "kennethlove.css" -} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../src/_colors.scss","../src/kennethlove.scss"],"names":[],"mappings":";AAAA;ACEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI,kBDbQ;ECcR,ODXO;ECYP;EACA;EACA;;;AAGJ;AAAA;EAEI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;IACI;;;AAIR;EACI;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAIR;EACI;;AAEA;EACI;;AAIA;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAMR;EACI;;AAEA;EACI,ODtEN;ECuEM;;AAEA;EACI;;AAKZ;EACI;EACA;;;AAKZ;EACI;EACA;EACA;;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAaI;;;AAGJ;AAAA;AAAA;EAGI;;;AAGJ;EACI;EACA;;;AAGJ;AAAA;EAEI;EACA,OD1HM;EC2HN;EACA;EACA;;;AAGJ;AAAA;EAEI;EACA,ODpIQ;ECqIR;EACA;;;AAGJ;AAAA;AAAA;AAAA;AAAA;AAAA;EAMI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;AAAA;AAAA;EAGI;EACA;;;AAGJ;EACI,kBDzLQ;EC0LR;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAGJ;EACI,kBD/MI;ECgNJ;;AAEA;EACI,ODvNF;ECwNE;EACA;;AAKJ;EACI;EACA;;;AAKZ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;AAEA;EACI;;;AAIR;EACI;EACA;;AAEA;EACI;EACA;;;AAIR;EACI;EACA;EACA;;;AAIA;EACI;EACA;;AAGJ;EACI,YDrQG;ECsQH,ODhRI;ECiRJ;EACA;;AAGJ;AAAA;EAEI;EACA;EACA;;AAEA;AAAA;EACI;EACA;;;AAKZ;EACI;;;AAGJ;EACI,YDrSa;ECsSb,ODxSQ;ECySR;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;AAAA;EAEI;;;AAGJ;EACI;EACA;;;AAGJ;EACI,YDhUa;ECiUb,ODnUQ;ECoUR;EACA;;AAEA;EACI;EAKA,OD7UI;EC8UJ;EACA;EACA;EACA;;AAGJ;EACI;;AAEA;EACI","file":"kennethlove.css"} \ No newline at end of file diff --git a/themes/editor/static/src/kennethlove.scss b/themes/editor/static/src/kennethlove.scss index 3575eb8..8f04b8b 100644 --- a/themes/editor/static/src/kennethlove.scss +++ b/themes/editor/static/src/kennethlove.scss @@ -33,18 +33,28 @@ body { justify-content: space-evenly; } -.container > * { +.container>* { flex: 1 100%; } @media all and (min-width: 600px) { - .side { flex: 1 auto; } + .side { + flex: 1 auto; + } } @media all and (min-width: 800px) { - .main { flex: 3 0px; } - .side { order: 1; } - .main { order: 2; } + .main { + flex: 3 0px; + } + + .side { + order: 1; + } + + .main { + order: 2; + } } .side { @@ -53,6 +63,7 @@ body { h1 { font-size: inherit; } + .nav { ul { list-style: none; @@ -65,6 +76,7 @@ body { } } } + .post-nav { ul { margin-top: -0.8em; @@ -78,6 +90,7 @@ body { } } } + a { margin-left: 0.5em; text-decoration: none; @@ -96,7 +109,7 @@ h2, h3, h4, h5, -h6, +h6, p, pre, blockquote, @@ -126,6 +139,7 @@ a:visited { font-weight: 400; text-decoration: none; } + a:hover, a:focus { border-bottom-style: solid; @@ -147,16 +161,76 @@ h6 { text-decoration: underline; } -h1::before { content: "# "; } -h2::before { content: "## "; } -h3::before { content: "### "; } -h4::before { content: "#### "; } -h5::before { content: "##### "; } -h6::before { content: "###### "; } +h1::before { + content: "# "; +} + +h2::before { + content: "## "; +} + +h3::before { + content: "### "; +} + +h4::before { + content: "#### "; +} + +h5::before { + content: "##### "; +} + +h6::before { + content: "###### "; +} -p, table { +blockquote, +p, +table { margin-top: 0; - max-width: 58em; + max-width: 58rem; +} + +blockquote { + background-color: $ff_violet; + margin-left: 0; + padding: 1rem; + padding-left: 3rem; + max-width: 55rem; + + cite { + display: block; + } +} + +table { + border-collapse: separate; + + th { + border-bottom: 1px solid yellow; + padding-bottom: 0.5rem; + font-weight: bold; + letter-spacing: 0.1rem + } + + td { + background-color: $ff_violet; + padding: 0.5rem; + + em { + color: $ff_pink; + font-style: italic; + font-weight: normal; + } + } + + tbody tr:first-child { + td { + font-weight: bold; + text-align: center; + } + } } .no-bullets { @@ -195,17 +269,20 @@ p, table { border: 1px solid $ff_lilac; margin-bottom: 1em; } + p code { background: $ff_lilac; color: $ff_purple; display: inline-block; padding: 0.125rem 0.3rem; } + pre, .highlight pre { max-width: 58em; overflow-x: auto; padding: 1rem; + code { background: transparent; padding: 0; @@ -218,30 +295,30 @@ p, table { } .tlite { - background: $ff_lightyellow; - color: $ff_purple; - font-size: 1rem; - font-weight: normal; - text-decoration: none; - text-align: left; - padding: 0.35em; - position: absolute; - opacity: 0; - visibility: hidden; - transition: opacity 0.4s; - white-space: nowrap; - z-index: 1000; - -webkit-backface-visibility: hidden; + background: $ff_lightyellow; + color: $ff_purple; + font-size: 1rem; + font-weight: normal; + text-decoration: none; + text-align: left; + padding: 0.35em; + position: absolute; + opacity: 0; + visibility: hidden; + transition: opacity 0.4s; + white-space: nowrap; + z-index: 1000; + -webkit-backface-visibility: hidden; } .tlite-table td, .tlite-table th { - position: relative; + position: relative; } .tlite-visible { - visibility: visible; - opacity: 1; + visibility: visible; + opacity: 1; } .spoiler { @@ -251,13 +328,11 @@ p, table { max-width: 58em; header { - background: repeating-linear-gradient( - 45deg, - $ff_darkyellow, - $ff_darkyellow 30px, - $ff_yellow 30px, - $ff_yellow 60px - ); + background: repeating-linear-gradient(45deg, + $ff_darkyellow, + $ff_darkyellow 30px, + $ff_yellow 30px, + $ff_yellow 60px); color: $ff_purple; cursor: pointer; font-weight: bold; @@ -268,6 +343,8 @@ p, table { main { padding: 1rem; - &.hidden { display: none; } + &.hidden { + display: none; + } } -} \ No newline at end of file +}