mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-18 01:10:25 +00:00
style update
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user