diff --git a/aboutme.html b/aboutme.html index cfed338..2c6c9eb 100644 --- a/aboutme.html +++ b/aboutme.html @@ -44,9 +44,9 @@
- - - + + +
diff --git a/contactme.html b/contactme.html index 2a0053e..56e6c97 100644 --- a/contactme.html +++ b/contactme.html @@ -35,9 +35,9 @@
- - - + + +
diff --git a/css/style.css b/css/style.css index f77a3b8..2b507f9 100644 --- a/css/style.css +++ b/css/style.css @@ -61,6 +61,16 @@ nav ul li a:hover{ cursor: pointer; } +#lang{ + color: black; + padding: 5px; + background-color: #e2de84; + box-shadow: 5px 5px 5px black; + width: 2.5em; + margin-top: 28px; + margin-left: 5px; +} + h1{ color: black; } @@ -192,8 +202,16 @@ h2{ box-shadow: 0 0 0; } + #lang{ + margin-left: 5px; + margin-bottom: 23px; + width: 58px; + transform: translateX(-60px); + } + .menu-icon{ display: block; + transform: translateX(70px); } #menuList{ diff --git a/index.html b/index.html index 9919343..8fb6bd9 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,7 @@ +
@@ -37,9 +38,9 @@
- - - + + +
diff --git a/js/lang.js b/js/lang.js new file mode 100644 index 0000000..053e975 --- /dev/null +++ b/js/lang.js @@ -0,0 +1,16 @@ +var language = { + eng: { + welcometitle: "Hello Internet!", + welcome: "I'm Malik, some guy on the web who's learning to code.
Welcome to my personal website. Here you can find out more about me and my projects! Thanks for stopping by. :)" + }, + ger: { + welcometitle: "Hallo Internet!", + welcome:"Ich bin Malik, irgend so ein Typ im Web, der gerade Programmieren lernt.
Willkommen auf meiner persönlichen Webseite. Hier erfährst du mehr über mich und meine Projekte! Danke fürs Vorbeischauen. :)" + } +}; + +if(window.location.hash) { + if(window.location.hash == "#ger") { + welcome.textContent = language.ger.welcome; + } +} \ No newline at end of file diff --git a/projects.html b/projects.html index 640f92b..642d4e5 100644 --- a/projects.html +++ b/projects.html @@ -35,9 +35,9 @@
- - - + + +
diff --git a/webicons/eng.png b/webicons/eng.png new file mode 100644 index 0000000..0aac316 Binary files /dev/null and b/webicons/eng.png differ diff --git a/webicons/ger.png b/webicons/ger.png new file mode 100644 index 0000000..200866d Binary files /dev/null and b/webicons/ger.png differ