From 375c48fb1a4934bf30f300b71ae26d472d344baa Mon Sep 17 00:00:00 2001 From: timurgordon Date: Wed, 6 Apr 2022 17:39:56 +0300 Subject: [PATCH] mobile view fixes --- config.toml | 2 +- content/_index.md | 4 +--- content/footer/_index.md | 4 ++-- css/index.css | 8 ++++---- templates/partials/header.html | 15 +++++++-------- templates/shortcodes/row.html | 4 ++-- templates/shortcodes/space.html | 2 +- 7 files changed, 18 insertions(+), 21 deletions(-) diff --git a/config.toml b/config.toml index 223393e..808a8a6 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The URL the site will be built for -base_url = "https://www4.ourverse.tf" +base_url = "https://ourverse.tf" # Change this to your own URL! Please note this variable **must** be uncommented. title = "ThreeFold" diff --git a/content/_index.md b/content/_index.md index 381900f..58e253f 100644 --- a/content/_index.md +++ b/content/_index.md @@ -23,9 +23,7 @@ extra: ## **IMETANATION** -The only truly decentralized metaverse - -on the planet awaits you +The only truly decentralized metaverse on the planet awaits you diff --git a/content/footer/_index.md b/content/footer/_index.md index 57869d0..ab303a7 100644 --- a/content/footer/_index.md +++ b/content/footer/_index.md @@ -1,10 +1,10 @@ --- title: "Footer" -description: "The alternative to the current too centralized and unsustainable internet." +description: "The only truly decentralized metaverse on the planet awaits you." insert_anchor_links: "left" extra: logoPath: "/images/OurVerse-logo.png" - socialLinks: { Facebook: "https://", Github: "https://", Twitter: "https://" } + socialLinks: { Github: "https://" } --- {% row(style="center narrow invert-color" bgColor="#2d103e") %} diff --git a/css/index.css b/css/index.css index 174773b..7bd01e0 100644 --- a/css/index.css +++ b/css/index.css @@ -68,19 +68,19 @@ img[src*="#tft_img"] { @apply font-semibold; } h2 { - @apply text-4xl lg:text-8xl font-normal leading-none; + @apply text-5xl lg:text-8xl font-normal leading-none; } h2 strong { @apply font-medium; } h3 { - @apply text-xl lg:text-6xl font-normal leading-none; + @apply text-3xl lg:text-6xl font-normal leading-none; } h3 strong { @apply font-semibold; } h4 { - @apply text-sm lg:text-4xl font-normal; + @apply text-xl lg:text-4xl font-normal; } h5 { @apply text-md my-1 tracking-widest text-zinc-500 font-semibold; @@ -89,7 +89,7 @@ img[src*="#tft_img"] { @apply text-md not-italic font-normal my-1; } p { - @apply text-2xl leading-tight; + @apply text-lg lg:text-2xl leading-tight; font-family: "Lato", sans-serif; } blockquote { diff --git a/templates/partials/header.html b/templates/partials/header.html index 894328c..ed49d8c 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -61,15 +61,15 @@ function showHamburger() { document.getElementById('header-container').className = "overflow-hidden"; document.getElementById('hamburger').className = "fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; - document.getElementById('hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; - document.getElementById('close-hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; + document.getElementById('hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; + document.getElementById('close-hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; } function hideHamburger() { document.getElementById('header-container').className = ""; document.getElementById('hamburger').className = "hidden absolute z-20 top-0 inset-x-0 transition transform origin-top-right lg:hidden"; - document.getElementById('hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; - document.getElementById('close-hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"; + document.getElementById('hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; + document.getElementById('close-hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; if (displayedMenu !== "") { hideMenu(displayedMenu); } } @@ -90,20 +90,20 @@
-
+
- -
diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html index 3b9fc13..15c60a4 100644 --- a/templates/shortcodes/row.html +++ b/templates/shortcodes/row.html @@ -19,7 +19,7 @@ Parameters: {% set row_class = row_class ~ " lg:items-center" %} {% endif %} -{% set col_class = "flex-1 mb-8 md:mb-0 md:mx-8" %} +{% set col_class = "flex-1 mb-20 lg:mb-0 lg:mx-8" %} {% if style %} @@ -37,7 +37,7 @@ Parameters: {% set col_class = col_class ~ "flex-1 lg:m-0 " %} {% set row_class = row_class ~ " lg:ml-20 " %} {% else %} - {% set col_class = col_class ~ "flex-1 m-4 lg:m-0 " %} + {% set col_class = col_class ~ "flex-1 lg:m-0 " %} {% endif %} {% else %} {% set row_class = row_class ~ " mx-8 " %} diff --git a/templates/shortcodes/space.html b/templates/shortcodes/space.html index 19c7d41..c385628 100644 --- a/templates/shortcodes/space.html +++ b/templates/shortcodes/space.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file