From 1ffa7ca22e5526504c9918a66c4520c3a94dd5c5 Mon Sep 17 00:00:00 2001 From: tutosrive Date: Mon, 14 Jul 2025 13:24:33 -0500 Subject: [PATCH] Fix responsive layout --- docs/assets/css/index.css | 87 ++++++++++++++++++++++----------------- docs/index.html | 4 +- 2 files changed, 52 insertions(+), 39 deletions(-) diff --git a/docs/assets/css/index.css b/docs/assets/css/index.css index d1f534b..6efde52 100644 --- a/docs/assets/css/index.css +++ b/docs/assets/css/index.css @@ -1,71 +1,84 @@ hr { - margin: 20px 0 !important; + margin: 20px 0 !important; } h1 { - text-align: center; - font-size: xx-large; + text-align: center; + font-size: xx-large; } code { - background-color: #2c2c2c; - padding: 2px 4px; - border-radius: 4px; - font-family: 'Courier New', Courier, monospace; - user-select: all; + background-color: #2c2c2c; + color: rgb(166, 255, 0); + padding: 2px 4px; + border-radius: 4px; + font-family: 'Courier New', Courier, monospace; + user-select: all; + overflow-x: scroll; +} + +pre, +code { + overflow: scroll; + scrollbar-width: none; + -ms-overflow-style: none; +} + +pre::-webkit-scrollbar { + display: none; } #description h2 { - text-align: center; - font-size: x-large; - margin-bottom: 15px; + text-align: center; + font-size: x-large; + margin-bottom: 15px; } #title-page::after { - content: 'org'; - font-size: small; + content: 'org'; + font-size: small; } .thumbnail-dev2forge { - width: 80vh; + width: 80vh; } #carrusel-repos::-webkit-scrollbar { - display: none; + display: none; } #carrusel-repos { - scrollbar-width: none; - -ms-overflow-style: none; + scrollbar-width: none; + -ms-overflow-style: none; } .no-scrollbar::-webkit-scrollbar { - display: none; + display: none; } .no-scrollbar { - scrollbar-width: none; - -ms-overflow-style: none; + scrollbar-width: none; + -ms-overflow-style: none; } .btn-repo-link { - border-radius: 200px; - padding: 5px 10px; - color: #2563eb; - text-decoration: none; - box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08); - border: 1.5px solid #93c5fd; - transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); - display: flex; - align-items: center; - justify-content: center; + border-radius: 200px; + padding: 5px 10px; + color: #2563eb; + text-decoration: none; + box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08); + border: 1.5px solid #93c5fd; + transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); + display: flex; + align-items: center; + justify-content: center; } .btn-repo-link:hover { - background-color: #2563eb; - color: #fff; - box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18); - transform: scale(1.12); + background-color: #2563eb; + color: #fff; + box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18); + transform: scale(1.12); } .btn-repo-link img { - filter: none; - transition: filter 0.2s; + filter: none; + transition: filter 0.2s; } .btn-repo-link:hover img { - filter: brightness(0) invert(1); + filter: brightness(0) invert(1); } diff --git a/docs/index.html b/docs/index.html index 8b1c8d3..a5102fe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -66,7 +66,7 @@ } - +
@@ -75,7 +75,7 @@

-
+