Skip to content

Commit

Permalink
Center navbar links on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
AvivYaish authored Jul 26, 2024
1 parent 341e111 commit 5ab39af
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions _layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
<main class="my-4">
<div class="container px-5 py-3 bg-{{ index_bg }} rounded">
<center>
<h2 style="font-weight: bold">
{% if page.indextitle %}
<h2 style="font-weight: bold;">
{{ site.title }}
{% else %}
{{ title }}
{% endif %}
</h2>
<p>{{ description }}</p>
<hr class="my-4">
Expand Down
1 change: 1 addition & 0 deletions _sass/overrides/_bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ caption {

.nav-link {
color: $nav-link_color;
text-align: center;

&:hover {
color: $nav-link_hover;
Expand Down
Binary file removed assets/images/logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: index
title: Home
indextitle: true
navorder: 1
description: |
Hosted by Columbia University's Center for Digital Finance and Technologies<br/>
Expand Down

0 comments on commit 5ab39af

Please sign in to comment.