1

e11sync: move base template to e11sync/

This commit is contained in:
2024-01-26 10:12:15 +02:00
parent 55015a0456
commit 313e30487d
5 changed files with 27 additions and 6 deletions

View File

@@ -102,17 +102,24 @@ main {
margin-top: 33px;
}
#header {
header {
margin-left: auto;
margin-right: auto;
padding: 1rem 2rem 2rem 2rem;
border-radius: 10px;
max-width: 1000px;
background-color: #e6e6e6;
background: radial-gradient(circle at top left, $lightBlue 0%, #aaa 50%, #666 100%);
}
nav {
padding: 10px 0;
text-align: right;
a {
padding-left: 15px;
}
}
/*******************************/
/* Shared by a couple of pages */
/*******************************/
@@ -272,7 +279,7 @@ blockquote {
color: #ececec;
}
#header {
header {
background-color: $darkBgGrey;
background: radial-gradient(circle at top left, $blueLinkVisited 0%, $darkBgGrey 50%, $darkTextColor 100%);
}

View File

@@ -1,27 +0,0 @@
{% load compress static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block "title" %}11sync.net{% endblock %}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static "signup/style.scss" %}">
{% endcompress %}
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head>
<body id="page-{% block "pagename" %}{% endblock %}">
<div>
<section id="header">
<h1 class="brand-title"><a href="{% url "index" %}">11sync.net</a></h1>
<h2 class="brand-subtitle">Hosted Syncthing + Backups</h2>
</section><!-- #header -->
<main>
{% block "body" %}{% endblock %}
</main>
</div>
</body>
</html>

View File

@@ -1,4 +1,4 @@
{% extends "signup/base.html" %}
{% extends "base.html" %}
{% block "pagename" %}index{% endblock %}