cwr/web/templates/base.html
2025-10-23 09:37:46 -04:00

148 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<script async src="https://tally.so/widgets/embed.js"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Christians of the Internet</title>
{% block head %}{% endblock %}
</head>
<body>
<style>
body {
background-color: #d7c5e0;
background-image: url("https://sadhost.neocities.org/images/tiles/bgif016.gif");
background-repeat: repeat;
background-attachment: fixed;
color: #000000;
font-family: "Cormorant Garamond", serif;
line-height: 1.5em;
font-size: 1.1em;
height: 100%;
}
h1.header {
font-family: "Special Elite", serif;
text-align: center;
font-size: 45px;
font-weight: normal;
color: #ffffff;
}
.container {
background-color: #ffffff;
width: 70%;
max-width: 1400px;
padding: 20px;
margin: auto;
}
@media only screen and (max-width: 1000px) {
.container {
width: 95%;
}
}
.nav {
padding: 1px;
padding-left: 20px;
padding-right: 20px;
margin-bottom: 10px;
}
.nav a {
text-decoration: none;
margin-right: 5px;
color: #657346;
}
.nav a:hover {
font-style: italic;
font-weight: bold;
}
.nav a:active {
font-style: italic;
font-weight: bold;
}
.forum-category {
width: 100%;
height: 40px;
background-color: #657346;
color: white;
padding-top: 6px;
padding-bottom: 3px;
padding-left: 10px;
box-sizing: border-box;
font-weight: bold;
}
.forum-thread {
width: 100%;
border: solid #657346 1px;
border-top: 0px;
padding: 15px;
box-sizing: border-box;
}
table {
line-height: 1em;
border-collapse: collapse;
width: 100%;
}
td,
th {
border: 1px solid #657346;
text-align: left;
padding: 8px;
}
.hide {
display: none;
}
blockquote {
color: green;
}
blockquote:before {
position: absolute;
content: "> ";
margin-left: -1em;
}
</style>
<h1 class="header">Christians of the Internet</h1>
<div class="container nav">
<center>
<a href="/">Home</a>
<a href="widget.html">Widget</a>
<a href="/rules.html">Rules</a>
<a href="/member-list.html">Index</a>
<a href="/manager.html">Manager</a>
<a href="/form.html">Join</a>
</center>
</div>
<div class="container nav" style="margin-top:-10px;">
<center>
<a href="#">Forum</a>
<a href="#">Profile</a>
<a href="{% url 'custom_logout' %}">Logout</a>
</center>
</div>
<script>
function toggleDisplay(elemId) {
let elem = document.getElementById(elemId);
if (elem.style.display === "none" || elem.style.display === "") {
elem.style.display = "block";
} else {
elem.style.display = "none";
}
}
</script>
<div class="container">
{% block content %}{% endblock %}
</div>
</body>
</html>