Fix logo font and nav links

This commit is contained in:
Matt Borgerson 2020-04-03 05:09:04 -07:00
parent 2998479c25
commit 193bc777b6
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ from datetime import datetime
from jinja2 import Environment, FileSystemLoader
cover_path_url_base = 'https://raw.githubusercontent.com/mborgerson/xemu-website/master/'
web_root = 'https://mborgerson.github.io/xemu-website/'
web_root = '/'
titles = {}
bad_titles = []

View File

@ -5,13 +5,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.13.0/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet">
<title>{%block title %}{% endblock %}{% if self.title() %} | {% endif %}xemu: Original Xbox Emulator</title>
{% block header_extension %}{% endblock %}
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">xemu</a>
<a class="navbar-brand" href="/" style="font-family: 'Ubuntu Mono'">xemu</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
@ -19,7 +20,7 @@
<div class="collapse navbar-collapse" id="navbarsExample04">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#compatibility">Compatibility <span class="sr-only">(current)</span></a>
<a class="nav-link" href="/#compatibility">Compatibility</a>
</li>
</ul>
</div>

View File

@ -1,6 +1,5 @@
{% extends "template_base.html" %}
{% block header_extension %}
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet">
<style type="text/css">
/* https://www.gungorbudak.com/blog/2018/12/12/bootstrap-4-search-box-with-search-icon/ */
.has-search .form-control {