From 936e7ebc1e581ec63bc4d4fbea8dd700ce8906de Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 5 Jul 2021 00:49:58 +0200 Subject: Convert the writing and projects section to use BEM --- app/stylesheets/web/projects.styl | 18 ++++++++++++++++++ app/stylesheets/web/writing.styl | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app/stylesheets/web/projects.styl create mode 100644 app/stylesheets/web/writing.styl (limited to 'app/stylesheets/web') diff --git a/app/stylesheets/web/projects.styl b/app/stylesheets/web/projects.styl new file mode 100644 index 0000000..6e8441a --- /dev/null +++ b/app/stylesheets/web/projects.styl @@ -0,0 +1,18 @@ +.projects { +} + +.projects__header { +} + +.project__title { + margin-bottom: 0 + font-size: 1.1em + +} + +.project__content { + margin-left: 1.2em + margin-right: 1.2em + margin-top: 0.3em + margin-bottom: 1.5em +} diff --git a/app/stylesheets/web/writing.styl b/app/stylesheets/web/writing.styl new file mode 100644 index 0000000..3cbf52a --- /dev/null +++ b/app/stylesheets/web/writing.styl @@ -0,0 +1,18 @@ +.writing { +} + +.writing__header { +} + +.writing__title { + margin-bottom: 0 + font-size: 1.1em + +} + +.writing__content { + margin-left: 1.2em + margin-right: 1.2em + margin-top: 0.3em + margin-bottom: 1.5em +} -- cgit v1.2.3