feat: max width
This commit is contained in:
2 files changed
+14
-2
No files matched your search
<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");
|
||||
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
@media (min-width: 1024px) {
|
||||
.container {
|
||||
max-width: 768px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.container {
|
||||
max-width: 768px;
|
||||
}
|
||||