more improvements for mobile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Samuel Philipp 2023-05-12 00:20:25 +02:00
parent 4deeea962f
commit 088b17b5ab
3 changed files with 7 additions and 5 deletions

View file

@ -16,7 +16,7 @@
"url": "https://git.sp-codes.de/samuel-p/samuel-philipp.de" "url": "https://git.sp-codes.de/samuel-p/samuel-philipp.de"
}, },
"optionalDependencies": { "optionalDependencies": {
"browser-sync": "^2.28.1" "browser-sync": "^2.29.1"
}, },
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^2.0.1", "@11ty/eleventy": "^2.0.1",
@ -28,8 +28,8 @@
"cpx": "^1.5.0", "cpx": "^1.5.0",
"eleventy-plugin-rev": "^1.1.1", "eleventy-plugin-rev": "^1.1.1",
"eleventy-sass": "^2.2.1", "eleventy-sass": "^2.2.1",
"glob": "^10.2.2", "glob": "^10.2.3",
"minify": "^9.2.0", "minify": "^10.0.0",
"postcss": "^8.4.23", "postcss": "^8.4.23",
"sass": "^1.62.1", "sass": "^1.62.1",
"uncss": "^0.17.3" "uncss": "^0.17.3"

View file

@ -42,8 +42,8 @@ title: {{site.title}}
<div class="overlay"> <div class="overlay">
<div class="container h-100"> <div class="container h-100">
<div class="row justify-content-md-center h-100"> <div class="row justify-content-md-center h-100">
<div class="col-md-12 col-lg-8 text-center position-relative"> <div class="col-md-12 col-lg-8 h-100 text-center position-relative">
<div class="d-flex flex-column vh-100"> <div class="d-flex flex-column h-100">
<nav class="nav menu d-none d-md-flex"> <nav class="nav menu d-none d-md-flex">
<div class="items"> <div class="items">
{%- for key in site.menu.items %} {%- for key in site.menu.items %}

View file

@ -56,6 +56,7 @@ header {
.scroll-down-outer { .scroll-down-outer {
position: relative; position: relative;
height: 64px;
margin-top: 30px; margin-top: 30px;
margin-bottom: 4rem; margin-bottom: 4rem;
@ -708,6 +709,7 @@ footer {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
} }
.back-top { .back-top {
--offset: 28px; --offset: 28px;
} }