summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/assets/de.html1
-rw-r--r--app/assets/index.html1
-rw-r--r--app/stylesheets/print/header.styl4
-rw-r--r--app/stylesheets/web/header.styl7
-rw-r--r--app/web.styl1
5 files changed, 13 insertions, 1 deletions
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 @@
<body>
<main>
<header class="header">
+ <a class="header__language" lang="en" href="/">[EN]</a>
<h1 class="header__name">Ahmed AbdelHalim</h1>
<em class="header__job-title">Plattform-Ingenieur &centerdot; DevOps</em>
<address class="header__contact-info">
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 @@
<body>
<main>
<header class="header">
+ <a class="header__language" lang="de" href="/de.html">[DE]</a>
<h1 class="header__name">Ahmed AbdelHalim</h1>
<em class="header__job-title">Platform Engineer &centerdot; DevOps</em>
<address class="header__contact-info">
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