Switch To Darkly Theme

This commit is contained in:
Ben C 2022-03-02 05:50:57 -08:00 committed by GitHub
parent 008c379560
commit 117d55ce99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>New Horizons Documentation | {{ page.title|title }}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.1.3/dist/css/bootstrap-night.min.css"
<link href="https://bootswatch.com/5/darkly/bootstrap.min.css"
crossorigin="anonymous" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
@ -13,7 +13,7 @@
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-2">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-2">
<div class="container-fluid">
<a class="navbar-brand" href="/">New Horizons</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"

View File

@ -18,13 +18,13 @@
</em>
{% endif %}
{% if sub_property.is_required_property %}
{{ " " }}<span class="badge bg-warning required-property">Required</span>
{{ " " }}<span class="badge bg-warning required-property ms-2">Required</span>
{% endif %}
{% if sub_property is deprecated %}
{{ " " }}<span class="badge bg-danger deprecated-property">Deprecated</span>
{{ " " }}<span class="badge bg-danger deprecated-property ms-2">Deprecated</span>
{% endif %}
{% if sub_property.is_pattern_property %}
{{ " " }}<span class="badge bg-info pattern-property">Pattern Property</span>
{{ " " }}<span class="badge bg-info pattern-property ms-2">Pattern Property</span>
{% endif %}
</button>
</h2>