summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHombreLaser <buran@silosneeded.com>2024-11-10 20:17:15 -0600
committerHombreLaser <buran@silosneeded.com>2024-11-10 20:17:15 -0600
commit9f84c8a8d3426b8a0c19f9ec19e68a7532863ef5 (patch)
treedf937bd0e71fcd5a4ee0f44ce4b4a306422bd96d
parentbbe2fb0634f6c6dde7bdd41b2b2220a0cfec6d21 (diff)
Fix for mobile
-rw-r--r--_includes/banner.liquid3
-rw-r--r--_includes/navigation_buttons.liquid30
-rw-r--r--_layouts/default.liquid2
-rw-r--r--_layouts/post.liquid2
4 files changed, 17 insertions, 20 deletions
diff --git a/_includes/banner.liquid b/_includes/banner.liquid
index 2dc05e9..19c47ab 100644
--- a/_includes/banner.liquid
+++ b/_includes/banner.liquid
@@ -1,6 +1,6 @@
<nav class="navbar has-background-primary">
<div class="container">
- <div id="navMenu" class="navbar-menu">
+ <div id="navMenu" class="navbar-menu has-background-primary is-active">
<div class="navbar-start">
{% if site.lang != "es" %}
<a class="navigation page-title" href="/{{ site.lang }}">{{ site.title }}</a>
@@ -39,3 +39,4 @@
</div>
</div>
</nav>
+
diff --git a/_includes/navigation_buttons.liquid b/_includes/navigation_buttons.liquid
index adfed25..13ee0e0 100644
--- a/_includes/navigation_buttons.liquid
+++ b/_includes/navigation_buttons.liquid
@@ -1,20 +1,16 @@
-<div class="columns mt-2">
- <div class="column">
- <div class="navigation-element">
- {% if page.next %}
- <a class="button is-info has-text-white" rel="next" href="{{ page.next.url | relative_url }}">
- {{ site.data[site.active_lang].strings.post.next }}
- </a>
- {% endif %}
+<div class="columns mt-2 mb-6">
+ {% if page.next %}
+ <div class="column is-one-fifth">
+ <a class="button is-info has-text-white" rel="next" href="{{ page.next.url | relative_url }}">
+ {{ site.data[site.active_lang].strings.post.next }}
+ </a>
</div>
- </div>
- <div class="column is-offset-9">
- <div class="navigation-element end-justified">
- {% if page.previous %}
- <a class="button is-info has-text-white" rel="prev" href="{{ page.previous.url | relative_url }}">
- {{ site.data[site.active_lang].strings.post.previous }}
- </a>
- {% endif %}
+ {% endif %}
+ {% if page.previous %}
+ <div class="column is-one-fifth is-offset-8">
+ <a class="button is-info has-text-white" rel="prev" href="{{ page.previous.url | relative_url }}">
+ {{ site.data[site.active_lang].strings.post.previous }}
+ </a>
</div>
- </div>
+ {% endif %}
</div>
diff --git a/_layouts/default.liquid b/_layouts/default.liquid
index 99c27d4..cf1fe5a 100644
--- a/_layouts/default.liquid
+++ b/_layouts/default.liquid
@@ -4,7 +4,7 @@
<div id="page-container">
{% include banner.liquid %}
- <div class="columns mt-2 is-mobile">
+ <div class="columns mt-2 is-desktop">
<div class="column is-three-fifths is-offset-one-fifth">
{{ content }}
</div>
diff --git a/_layouts/post.liquid b/_layouts/post.liquid
index c006e72..8e3adbe 100644
--- a/_layouts/post.liquid
+++ b/_layouts/post.liquid
@@ -4,7 +4,7 @@
<div id="page-container">
{% include banner.liquid %}
- <div class="columns mt-2 is-mobile">
+ <div class="columns mt-2 is-desktop">
<div class="column is-three-fifths is-offset-one-fifth">
<div class="column">
<h1>