Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wider gutter when in desktop mode #300

Merged
merged 3 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer id="footer">
<div class="container py-1 py-4">
<div class="container py-4 g-lg-5">
<div class="row g-4 d-flex justify-content-between">
{%- for column in site.data.footer.columns %}
{%- if column.type == "image" %}
Expand Down Expand Up @@ -38,8 +38,8 @@
</div>
{%- endunless %}
</div>
<div class="copyright p-4">
<div class="container d-flex justify-content-between flex-column flex-lg-row">
<div class="copyright py-4">
<div class="container g-lg-5 d-flex justify-content-between flex-column flex-lg-row">
{%- unless site.data.footer.copyright == nil %}
<div class="d-flex align-items-center mb-3 mb-lg-0 mx-auto mx-lg-0 text-center">{{ site.data.footer.copyright | markdownify }}</div>
{%- endunless %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<a class="visually-hidden-focusable" href='#main'>Skip to content</a>
<a class="visually-hidden-focusable" href='#footer'>Skip to footer</a>
<nav class="navbar navbar-{{ site.theme_variables.topnav.theme | default: 'light' }} navbar-expand-lg mb-3 mb-lg-5">
<div class="container">
<div class="container g-lg-5">
<a class="navbar-brand flex-grow-1 overflow-x-auto" href="{{ '/' | relative_url }}"><img class="{% if site.topnav_title %}me-3 {% endif %}img-fluid" alt="{{site.title}} logo" src="{{ site.theme_variables.topnav.brand_logo | default: 'assets/img/main_logo.svg' | relative_url }}">{% if site.topnav_title %}<span class="me-0 me-lg-3">{{site.topnav_title}}</span>{% endif %}</a>
<button class="navbar-toggler text-primary" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<i title="navbar-toggler" class="fa-solid fa-bars"></i>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% if jekyll.environment == "development" and site.theme_variables.dev-info-banner == true %}{% include dev-info.html %}{% endif %}
{% include topnav.html %}
<!-- Page Content -->
<div class="container flex-grow-1">
<div class="container g-lg-5 flex-grow-1">
<!-- Content Row -->
<div {% unless page.sidebar == nil or page.sidebar == false %}id="layout" class="gap-5"{% endunless %}>
<!-- Sidebar -->
Expand Down