Compare commits

...

3 Commits

Author SHA1 Message Date
e7494c2ffc Allow any allowed hosts when debug 2023-11-13 23:01:47 -06:00
ea67d5a590 hide the masthead brand on phone screens 2023-11-13 23:00:40 -06:00
371f344490 better bg color match 2023-11-13 22:54:08 -06:00
3 changed files with 7 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
body { body {
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, 0.5); text-shadow: 0 .05rem .1rem rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 25rem rgba(5, 205, 255, 0.103); box-shadow: inset 0 0 25rem rgba(5, 205, 255, 0.103);
background-color: rgba(36, 36, 36, 0.808); background-color: rgba(34, 34, 34, 0.925);
} }
.cover-container { .cover-container {
@@ -67,11 +67,11 @@ body {
} }
} }
.masthead-brand { @media(max-width:48em){
margin-bottom: 0; .masthead-brand{display:none}
} }
.masthead-brand img { .masthead-brand a img {
width: 12rem; width: 12rem;
} }

View File

@@ -21,7 +21,7 @@
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column"> <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto"> <header class="mb-auto">
<div> <div>
<h3 class="masthead-brand float-md-start mb-0"><a href="{{ heading.link }}"><img style="width: 12rem" src="https://c0defox.es/paw-tail.svg" /></a></h3> <h3 class="masthead-brand float-md-start mb-0"><a href="{{ heading.link }}"><img src="https://c0defox.es/paw-tail.svg" /></a></h3>
<nav class="nav nav-masthead justify-content-center float-md-end"> <nav class="nav nav-masthead justify-content-center float-md-end">
<a class="nav-link fw-bold py-1 px-0 active" href="{{ heading.link }}"><i class="bi bi-house-door-fill"></i> Home</a> <a class="nav-link fw-bold py-1 px-0 active" href="{{ heading.link }}"><i class="bi bi-house-door-fill"></i> Home</a>

View File

@@ -27,6 +27,8 @@ DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = []
if DEBUG:
ALLOWED_HOSTS.append("*")
# Application definition # Application definition