feat: max width

This commit is contained in:
Janik von Rotz committed 2025-04-11 10:11:12 +02:00
1 parent f7b0f0ce6e
commit b7cdf1ed0b
2 files changed
+14 -2

No files matched your search

+2 -2
View File
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
@@ -14,6 +13,7 @@
href="https://unpkg.com/prismjs@1.20.0/themes/prism-okaidia.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="/css/style.css">
<title>
{{ renderData.title or title or metadata.title}}
</title>
@@ -43,7 +43,7 @@
</footer>
</main>
<script src="/js/randomFunctionNames.js"></script>
<button id="scrollToTop" class="secondary">↑ Top</button>
<button id="scrollToTop" class="secondary">↑ Top</button>
<script>
const scrollToTopBtn = document.getElementById("scrollToTop");
+12
View File
@@ -1,3 +1,15 @@
@media (min-width: 1024px) {
.container {
max-width: 768px;
}
}
@media (min-width: 1280px) {
.container {
max-width: 768px;
}