From 1c3ce08c5c918eb55166d173cf79e15fe00973c9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 6 May 2021 22:36:02 +0200 Subject: Finish the styling of the work Experience section --- app/assets/index.html | 47 +++++++++++++++++++++++------------------ app/base.styl | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++- app/print.styl | 13 ++++++++++++ 3 files changed, 97 insertions(+), 21 deletions(-) diff --git a/app/assets/index.html b/app/assets/index.html index 8170b19..30a16ce 100644 --- a/app/assets/index.html +++ b/app/assets/index.html @@ -81,13 +81,15 @@ -
+

Work Experience

-

Sapera GmbH.

- Senior Developer/DevOps - Berlin, Germany - Apr. 2018 - Present +
+

Sapera GmbH.

+ Senior Developer/DevOps + Berlin, Germany + Apr. 2018 - Present +
  • Implemented infrastructure as code (IaC) for different projects using Terraform and Ansible. @@ -113,10 +115,12 @@
-

LIQID GmbH.

- Senior Backend Developer - Berlin, Germany - Mar. 2016 - Dec. 2017 +
+

LIQID GmbH.

+ Senior Backend Developer + Berlin, Germany + Mar. 2016 - Dec. 2017 +
  • Maintained the RESTful API (used by admins and front-end).
  • Implemented and maintained the integration with Deutsche Bank.
  • @@ -138,10 +142,12 @@
-

PrioriData GmbH.

- Full Stack Developer - Berlin, Germany - Jul. 2015 - Mar. 2016 +
+

PrioriData GmbH.

+ Full Stack Developer + Berlin, Germany + Jul. 2015 - Mar. 2016 +

Was acquired by Airnow Data Ltd.

  • Maintained the Rails web (dashboard) app.
  • @@ -159,16 +165,17 @@
-
-

AskNative

- Backend Developer/DevOps - Remote, Egypt - May. 2013 - Jul. 2015 +
+

AskNative

+ Backend Developer/DevOps + Remote, Egypt + May. 2013 - Jul. 2015 +
  • - Reimplemented large portions of the API to follow better design patterns (Hexagonal Architecture, and - Pub/Sub pattern). + Reimplemented large portions of the API to follow better design patterns
    + (Hexagonal Architecture, and Pub/Sub pattern).
  • Implemented the test suite for the API.
  • Implemented events booking feature via Stripe.
  • diff --git a/app/base.styl b/app/base.styl index 43be22d..76825be 100644 --- a/app/base.styl +++ b/app/base.styl @@ -96,7 +96,6 @@ article { dl { display: flex flex-flow: row wrap - // justify-content: space-between; } dt { @@ -118,3 +117,60 @@ article { } } } + +.work { + article > .info { + display: flex + flex-flow: row wrap + justify-content: space-between; + + @media screen and (max-width: 740px) { + flex-flow: column wrap + } + + // company + h2 { + order: 0 + min-width: 50% + margin-top: 0.2em + margin-bottom: 0 + } + + // title + em:nth-of-type(1) { + order: 2 + min-width: 50% + + @media screen and (max-width: 740px) { + order: 1 + } + } + + // location + em:nth-of-type(2) { + order 1 + min-width: 50% + text-align: right + align-self: flex-end + + @media screen and (max-width: 740px) { + order: 2 + text-align: left + align-self: flex-start + } + } + + // duration + em:nth-of-type(3) { + order: 3 + min-width: 50% + text-align: right + align-self: flex-end + + @media screen and (max-width: 740px) { + text-align: left + align-self: flex-start + } + } + } +} diff --git a/app/print.styl b/app/print.styl index 0ef1da5..32c7c54 100644 --- a/app/print.styl +++ b/app/print.styl @@ -48,3 +48,16 @@ article { margin-bottom: 0 } } + +.work { + // avoid page breaks inside a work experience section + article { + page-break-inside: avoid + } + + article > .info { + h2 { + margin-top: 0.8em + } + } +} -- cgit v1.2.3