From a48d0fe1fd7a8375f873e93df070f72095a882cf Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 14 Nov 2022 00:35:11 +0100 Subject: Add language link and style it for web and print views --- app/assets/de.html | 1 + app/assets/index.html | 1 + app/stylesheets/print/header.styl | 4 ++++ app/stylesheets/web/header.styl | 7 +++++++ app/web.styl | 1 - 5 files changed, 13 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/de.html b/app/assets/de.html index 81b2916..755e782 100644 --- a/app/assets/de.html +++ b/app/assets/de.html @@ -24,6 +24,7 @@
+ [EN]

Ahmed AbdelHalim

Plattform-Ingenieur · DevOps
diff --git a/app/assets/index.html b/app/assets/index.html index 2c98441..b246dd2 100644 --- a/app/assets/index.html +++ b/app/assets/index.html @@ -24,6 +24,7 @@
+ [DE]

Ahmed AbdelHalim

Platform Engineer · DevOps
diff --git a/app/stylesheets/print/header.styl b/app/stylesheets/print/header.styl index 7f6b7ab..3a8e14f 100644 --- a/app/stylesheets/print/header.styl +++ b/app/stylesheets/print/header.styl @@ -2,6 +2,10 @@ margin-bottom: 0.1em } +.header__language { + display: none +} + .header__tel .header__website .header__email diff --git a/app/stylesheets/web/header.styl b/app/stylesheets/web/header.styl index 6350b92..9ff75a8 100644 --- a/app/stylesheets/web/header.styl +++ b/app/stylesheets/web/header.styl @@ -3,9 +3,16 @@ font-style: normal } +.header__language { + float: right + margin-top: 1em + margin-bottom: -0.3em +} + .header__name { font-size: 3.3em margin-bottom: -0.2em + clear: right } .header__job-title { diff --git a/app/web.styl b/app/web.styl index 2e05848..7320840 100644 --- a/app/web.styl +++ b/app/web.styl @@ -28,7 +28,6 @@ main { margin-right: 1cm } - a:link, a:visited, a:hover, a:active { text-decoration-color: secondaryColor text-decoration-thickness: 2px -- cgit v1.2.3