Removed inline css from template

This commit is contained in:
Ed 2022-12-18 17:50:03 +01:00
parent 32f1260adc
commit 3a3da0fa86
4 changed files with 3 additions and 8 deletions

View File

@ -13,6 +13,7 @@
h1 img {max-height:1.4em;} h1 img {max-height:1.4em;}
.notice {padding:0.8em;border-radius:3px;background:#e53935;color:#eee;} .notice {padding:0.8em;border-radius:3px;background:#e53935;color:#eee;}
.notice a {color:#eee;font-decoration:underline;} .notice a {color:#eee;font-decoration:underline;}
.container {max-width:40em}
</style> </style>
</head> </head>
<body> <body>

View File

@ -1,9 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Welcome!{% endblock %} {% block title %}Create a new room{% endblock %}
{% block main %} {% block main %}
<style>
.container {max-width:40em}
</style>
<main class="container"> <main class="container">
<header> <header>
<h1>Create a new room</h1> <h1>Create a new room</h1>

View File

@ -2,7 +2,7 @@
{% block title %}Error {{exception.status_code}}{% endblock %} {% block title %}Error {{exception.status_code}}{% endblock %}
{% block main %} {% block main %}
<main class="container"> <main class="container">
<h1>Oh no! Error {{exception.status_code}}</h1> <h1>{{exception.status_code}}</h1>
<p>{{exception}}</p> <p>{{exception}}</p>
</main> </main>
{% endblock %} {% endblock %}

View File

@ -1,9 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}{{order.name}}'s Booking{% endblock %} {% block title %}{{order.name}}'s Booking{% endblock %}
{% block main %} {% block main %}
<style>
.container {max-width:40em}
</style>
<main class="container"> <main class="container">
<header> <header>
<h1>{{order.name}}'s Booking</h1> <h1>{{order.name}}'s Booking</h1>