From 79c1ee1c608ce5761973d3353ad0da802d3f9645 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 5 Jul 2021 14:23:16 +0200 Subject: Refactor writing/projects sections and make them 1 type --- app/stylesheets/print/projects.styl | 11 +---------- app/stylesheets/print/writing.styl | 12 ------------ app/stylesheets/web/projects.styl | 3 +++ app/stylesheets/web/writing.styl | 18 ------------------ 4 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 app/stylesheets/print/writing.styl delete mode 100644 app/stylesheets/web/writing.styl (limited to 'app/stylesheets') diff --git a/app/stylesheets/print/projects.styl b/app/stylesheets/print/projects.styl index 96f4309..8ab284c 100644 --- a/app/stylesheets/print/projects.styl +++ b/app/stylesheets/print/projects.styl @@ -1,12 +1,3 @@ -.projects { +.project { page-break-inside: avoid } - -.projects__header { -} - -.project__title { -} - -.project__content { -} diff --git a/app/stylesheets/print/writing.styl b/app/stylesheets/print/writing.styl deleted file mode 100644 index 2f36735..0000000 --- a/app/stylesheets/print/writing.styl +++ /dev/null @@ -1,12 +0,0 @@ -.writing { - page-break-inside: avoid -} - -.writing__header { -} - -.writing__title { -} - -.writing__content { -} diff --git a/app/stylesheets/web/projects.styl b/app/stylesheets/web/projects.styl index 6e8441a..f3889af 100644 --- a/app/stylesheets/web/projects.styl +++ b/app/stylesheets/web/projects.styl @@ -4,6 +4,9 @@ .projects__header { } +.project { +} + .project__title { margin-bottom: 0 font-size: 1.1em diff --git a/app/stylesheets/web/writing.styl b/app/stylesheets/web/writing.styl deleted file mode 100644 index 3cbf52a..0000000 --- a/app/stylesheets/web/writing.styl +++ /dev/null @@ -1,18 +0,0 @@ -.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