design changes

This commit is contained in:
2026-04-27 21:35:27 +02:00
parent b9c2b7260d
commit 93a346cf23
4 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
{ {
"id": "personal_website", "id": "personal_website",
"title": "Portfolio Website", "title": "Portfolio Website",
"description": "Eine Website zum Vorzeigen meiner Projekte.", "description": "Diese Website zeigt meine Projekte in Form eines persönlichen Portfolios.",
"tags": [ "tags": [
"HTML", "HTML",
"CSS", "CSS",
+1 -1
View File
@@ -114,7 +114,7 @@
{ {
"id": "personal_website", "id": "personal_website",
"title": "Portfolio Website", "title": "Portfolio Website",
"description": "A website to showcase my projects.", "description": "This website showcases my projects in the form of a personal portfolio.",
"tags": [ "tags": [
"HTML", "HTML",
"CSS", "CSS",
+1 -2
View File
@@ -1,5 +1,4 @@
let lang = getCookie("lang"); let lang = getCookie("lang");
console.log(lang);
if (lang == null) { if (lang == null) {
lang = navigator.language.split("-")[0]; lang = navigator.language.split("-")[0];
} }
@@ -156,7 +155,7 @@ async function loadData() {
const block_text = document.createElement("div"); const block_text = document.createElement("div");
const text_title = document.createElement("h3"); const text_title = document.createElement("h2");
text_title.textContent = content.heading; text_title.textContent = content.heading;
block_text.appendChild(text_title); block_text.appendChild(text_title);
+6 -7
View File
@@ -8,7 +8,7 @@
--serif: 'Instrument Serif', Georgia, serif; --serif: 'Instrument Serif', Georgia, serif;
--sans: 'DM Sans', system-ui, sans-serif; --sans: 'DM Sans', system-ui, sans-serif;
--nav-w: 230px; --nav-w: 230px;
--font-size: 17px; --font-size: 18px;
--margin-main-content: 100px; --margin-main-content: 100px;
} }
@@ -252,6 +252,7 @@ option {
height: 600px; height: 600px;
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
overflow: hidden;
} }
.section-header { .section-header {
@@ -273,14 +274,12 @@ option {
border: 1px solid var(--border); border: 1px solid var(--border);
padding: 3px 10px; padding: 3px 10px;
border-radius: 3px; border-radius: 3px;
font-size: 14px; font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
} }
.content-block {
overflow: hidden;
}
.block-image { .block-image {
overflow: hidden; overflow: hidden;
border-top: 1px solid var(--border); border-top: 1px solid var(--border);