dawdle/site/dawdle/templates/dawdle/base.html
2024-02-29 15:44:59 +11:00

163 lines
3.1 KiB
HTML

<html><head><title>{% block title %}Friends IdleRPG{% endblock %}</title>
<style>
body {
font-family: sans-serif;
margin: 0;
padding: 0;
background: #eee;
}
#header-container {
color: #e1cdb5;
background: #49306b;
margin: 0;
padding: 0 0.5em;
}
#header {
text-align: left;
#height: 67px;
padding: 0;
margin: 0 auto;
width: 70%;
position: relative;
}
#header h1 {
display: inline-block;
margin: 0;
line-height: 67px;
}
#header ul {
display: inline-block;
position: absolute;
right: 0;
margin: 0;
padding: 0;
list-style-type: none;
height: 100%:
}
#header li {
display: inline-block;
margin: 0;
line-height: 67px;
text-align: center;
padding-left: 1em;
padding-right: 1em;
}
#header li:hover {
background-color: #AF97AC;
}
#header a {
color: #e1cdb5;
text-decoration: none;
}
#content {
margin: 1em auto;
width: 75%;
}
.contentbox {
background: white;
margin: 2rem;
padding: 0.5rem;
}
.contentbox h1 {
margin-top: 0;
padding: 0;
}
.contentbox h2 {
margin-top: 0;
padding: 0;
}
.good-align {
color: #00f;
}
.evil-align {
color: #B00;
}
@media only screen and (max-width: 1200px) {
body {
font-size: 200%;
margin: 0;
padding: 0;
}
#header-container {
padding-top: 0;
padding-bottom: 0;
}
#header h1 {
display: block;
position: relative;
text-align: center;
}
#header ul {
display: block;
position: relative;
margin: 0 auto;
text-align: center;
}
#content {
width: 100%;
margin: 0;
}
.contentbox {
margin: 0 0;
}
}
#playerlist {
display: inline-block;
border-collapse: collapse;
}
#playerlist tr:nth-child(even) {
background: #E1CDB5;
}
#playerlist thead tr {
background: #90708C;
}
#playerlist thead tr td {
color: white;
font-weight: bold;
padding: 0.5rem 1rem;
}
#playerlist td {
padding: 0.1rem 1rem;
}
#pmap-container {
display: inline-block;
padding: 1rem;
vertical-align: top;
}
.online a {
text-decoration: none;
color: black;
}
.online a:hover {
color: black;
text-decoration: underline;
}
.offline {
color: gray;
}
.offline a {
text-decoration: none;
color: gray;
}
.offline a:hover {
color: gray;
text-decoration: underline;
}
{% block extrastyles %}{% endblock %}
</style>
</head><body>
<div id="header-container">
<div id="header">
<h1><a href="/">AnimeFriends RPG</a></h1>
<ul>
<a href="{% url 'dawdle:about' %}"><li>About</li></a>
<a href="{% url 'dawdle:player-list' %}"><li>Players</li></a>
<a href="/quest"><li>Quest</li></a>
<a href="/timelapse"><li>TimeLapse</li></a>
</ul>
</div>
</div>
<div id="content">{% block content %}{% endblock %}</div>
</body></html>