style update

This commit is contained in:
2026-08-14 12:40:41 +02:00
parent 02cdd9c6f4
commit 33a5a00054
2 changed files with 20 additions and 17 deletions
-14
View File
@@ -69,19 +69,5 @@
</div>
<script src="/assets/email.js"></script>
<script>
document.querySelectorAll('a[href^="#"]').forEach(function(anchor) {
anchor.addEventListener('click', function(e) {
var href = this.getAttribute('href');
if (href !== '#') {
e.preventDefault();
var target = document.querySelector(href);
if (target) {
target.scrollIntoView({ behavior: 'smooth' });
}
}
});
});
</script>
</body>
</html>
+20 -3
View File
@@ -114,7 +114,13 @@ p { margin-bottom: 10px; }
#impressumcontent {
padding-top: 100px;
height: 200px;
padding-bottom: 200px;
}
#cvcontent li,
#personalprojectscontent li,
#programminglanguagescontent li {
margin-left: 35px;
}
/* Background */
@@ -152,7 +158,7 @@ p { margin-bottom: 10px; }
#personalprojectscontent,
#programminglanguagescontent,
#impressumcontent {
width: calc(100% - 40px);
width: 100%;
padding: 20px;
left: 0;
background: var(--color-surface-solid);
@@ -160,6 +166,17 @@ p { margin-bottom: 10px; }
box-shadow: 0 2px 4px var(--color-shadow);
}
#cvcontent li,
#personalprojectscontent li,
#programminglanguagescontent li {
margin-left: 35px;
}
#impressumcontent {
padding-top: 20px;
padding-bottom: 20px;
}
.headlinespace {
height: 20px;
padding: 20px;
@@ -177,7 +194,7 @@ p { margin-bottom: 10px; }
padding: 20px;
background: var(--color-nav-bg);
position: relative;
width: calc(100% - 40px);
width: 100%;
}
#head { display: block; padding-top: 20px; }