Skip to content

Commit

Permalink
Tidy up text size
Browse files Browse the repository at this point in the history
  • Loading branch information
uoa-noel committed Mar 20, 2024
1 parent 43cb335 commit c06854d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ University of Auckland-specific styling here. Replace with your own styling.
@font-face{font-family:'NationalBookItalic';src:url("../uoa//NationalWeb-BookItalic.eot");src:url("../uoa//NationalWeb-BookItalic.woff2") format("woff2"),url("../uoa//NationalWeb-BookItalic.woff") format("woff")}

:root {
--bs-font-sans-serif: "NationalWeb-Book";
--bs-font-sans-serif: "NationalBook";
--bs-body-font-family: var(--bs-font-sans-serif);
--bs-body-font-size: 1rem;
--bs-body-font-size: 18px;
--bs-body-font-weight: 400;
}

/*Headings use bold text.*/
h1, h2, h3, h4, h5, .navbar-brand {
font-family: "NationalBold"
}
2 changes: 1 addition & 1 deletion tardis/tardis_portal/templates/tardis_portal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% block content %}
<div id="content" class="container-fluid">
<div class="page-header">
<h1 class="mb-1">{{site_title|default:'MyTardis'}} Data Store</h1>
<h1 class="mb-1">Home</h1>
</div>
{% if not is_authenticated %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark sticky-top">
{% block site_brand %}
<img src="{{ STATIC_URL }}/logo.png" alt="Logo for institution" class="institution-logo">
<a href="{% url 'tardis.tardis_portal.views.index' %}"><img src="{{ STATIC_URL }}/logo.png" alt="Logo for institution" class="institution-logo"></a>
<a class="navbar-brand" href="{% url 'tardis.tardis_portal.views.index' %}">
{{ site_title|default:'MyTardis' }}
</a>
Expand Down

0 comments on commit c06854d

Please sign in to comment.