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/assets/index.html | 24 ++++++++++++------------ app/print.styl | 1 - app/stylesheets/print/projects.styl | 11 +---------- app/stylesheets/print/writing.styl | 12 ------------ app/stylesheets/web/projects.styl | 3 +++ app/stylesheets/web/writing.styl | 18 ------------------ app/web.styl | 1 - 7 files changed, 16 insertions(+), 54 deletions(-) delete mode 100644 app/stylesheets/print/writing.styl delete mode 100644 app/stylesheets/web/writing.styl diff --git a/app/assets/index.html b/app/assets/index.html index 89a3beb..c55e982 100644 --- a/app/assets/index.html +++ b/app/assets/index.html @@ -205,13 +205,13 @@ -
-

Writing

-
-

+
+

Writing

+ -
-

+
+

Clean Code and the Art of Exception Handling

-

+

A Toptal published blog post @@ -235,7 +235,7 @@

Projects

-
+ -
+ -
+ -
+

a14m.srht.site diff --git a/app/print.styl b/app/print.styl index c1feba7..389c493 100644 --- a/app/print.styl +++ b/app/print.styl @@ -16,7 +16,6 @@ body { @require "stylesheets/print/summary.styl" @require "stylesheets/print/skills.styl" @require "stylesheets/print/work.styl" -@require "stylesheets/print/writing.styl" @require "stylesheets/print/projects.styl" @require "stylesheets/print/education.styl" 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 -} diff --git a/app/web.styl b/app/web.styl index 203ef9e..3352eb5 100644 --- a/app/web.styl +++ b/app/web.styl @@ -60,6 +60,5 @@ a:link, a:visited, a:hover, a:active { @require "stylesheets/web/summary.styl" @require "stylesheets/web/skills.styl" @require "stylesheets/web/work.styl" -@require "stylesheets/web/writing.styl" @require "stylesheets/web/projects.styl" @require "stylesheets/web/education.styl" -- cgit v1.2.3