213 lines
6 KiB
HTML
213 lines
6 KiB
HTML
{% load static %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<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 {
|
|
height: 100%;
|
|
background-color: #868F69;
|
|
background-repeat: repeat;
|
|
background-attachment: fixed;
|
|
color: #000000;
|
|
font-family: "Cormorant Garamond", serif;
|
|
line-height: 1.5em;
|
|
font-size: 1.1em;
|
|
background-image: url("{% static 'img/bg.png' %}");
|
|
}
|
|
|
|
h1.header {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
color: #603814;
|
|
font-family: "Girassol", serif;
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-size: 70px;
|
|
text-shadow: 1px 1px 0px #868F69, 2px 2px 0px #254117;
|
|
}
|
|
|
|
.container {
|
|
background-color: #ffffff;
|
|
width: 70%;
|
|
max-width: 1400px;
|
|
padding: 20px;
|
|
margin: auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
.container {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
.nav {
|
|
box-sizing: border-box;
|
|
background-color: rgba(96,56,20, .9);
|
|
color: white;
|
|
margin-bottom: 0px;
|
|
box-shadow: 0 5px 5px -2px #603814;
|
|
border-top-style: ridge;
|
|
border-left-style: ridge;
|
|
border-right-style: ridge;
|
|
border-color: #603814;
|
|
padding: 1px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.nav a {
|
|
color: white;
|
|
font-size: 20px;
|
|
padding: 10px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav a:hover {
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.nav a:active {
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#main {
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
color: #3C241B;
|
|
padding: 15px;
|
|
text-align: justify;
|
|
/* HOW TO MAKE BOX SHADOW FOR TOP BORDER - A BIT JANKY BUT WORKS. Note how the one for the sides has completely transparent opacity. */
|
|
box-shadow: inset 0 -8px 4px 4px rgba(255, 255, 255, 0), inset 0 2px 4px 0px #603814;
|
|
border-left-style: ridge;
|
|
border-right-style: ridge;
|
|
border-bottom-style:ridge;
|
|
border-color: #603814;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.forum-category {
|
|
width: 100%;
|
|
height: 40px;
|
|
background-color: #603814;
|
|
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;
|
|
}
|
|
|
|
.messages {
|
|
box-sizing: border-box;
|
|
list-style: none;
|
|
margin: 1em 0 2em;
|
|
padding: 0;
|
|
}
|
|
|
|
.messages li {
|
|
box-sizing: border-box;
|
|
padding: 1em;
|
|
width: 100%;
|
|
line-height: 2.0em;
|
|
}
|
|
|
|
.debug {
|
|
background-color: #d0ebff;
|
|
}
|
|
|
|
.success {
|
|
background-color: #b2f2bb;
|
|
}
|
|
|
|
.warning {
|
|
background-color: #ffec99;
|
|
}
|
|
|
|
.error {
|
|
background-color: #ffe3e3;
|
|
}
|
|
</style>
|
|
<h1 class="header">Christians of the Internet</h1>
|
|
<div class="container nav">
|
|
<center>
|
|
<a href="https://christian-webring.nekoweb.org/">Home</a>
|
|
<a href="https://christian-webring.nekoweb.org/widget.html">Widget</a>
|
|
<a href="https://christian-webring.nekoweb.org/rules.html">Rules</a>
|
|
<a href="https://christian-webring.nekoweb.org/member-list.html">Index</a>
|
|
<a href="https://christian-webring.nekoweb.org/manager.html">Manager</a>
|
|
<a href="{% url 'signup' %}">Join</a>
|
|
</center>
|
|
</div>
|
|
<div class="container nav" style="margin-top:-10px;">
|
|
<center>
|
|
<a href="{% url 'forum_threads' %}">Forum</a>
|
|
<a href="{% url 'profile' %}">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 id="main" class="container">
|
|
{% if messages %}
|
|
<ul class="messages">
|
|
{% for message in messages %}
|
|
<li {% if message.tags %}class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
</body>
|
|
</html>
|