added margin
This commit is contained in:
parent
01a340b818
commit
1ee8fcb495
3 changed files with 39 additions and 27 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/* Old site styles, left in just in case.
|
||||
Shouldn't break anything! */
|
||||
@media (max-width: 570px) {
|
||||
.oneThird {
|
||||
width: 100%;
|
||||
|
|
@ -20,6 +22,7 @@
|
|||
.headerLinks {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
/* If you for some reason need to override the default sizing model,
|
||||
for instance, if you're using a Google Maps widget, you may need
|
||||
|
|
@ -39,17 +42,20 @@ html {
|
|||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 90px;
|
||||
background-color: #fefefe;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
/* Set the fixed height of the footer here */
|
||||
height: 30px;
|
||||
line-height: 30px; /* Vertically center the text there */
|
||||
height: 60px;
|
||||
line-height: 60px; /* Vertically center the text there */
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
|
|
@ -58,6 +64,9 @@ body {
|
|||
width: 50px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background-color: lightgrey;
|
||||
/* Default Colors */
|
||||
.main-content {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
background-color: white;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,14 +12,15 @@
|
|||
<link rel="icon" type="image/x-icon" href="/static/website/images/evennia_logo.png" />
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous"> <!-- Custom styles -->
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<!-- Base CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="{% static "website/css/app.css" %}">
|
||||
|
||||
{% comment %}
|
||||
Allows for loading custom styles without overriding the base site styles
|
||||
{% endcomment %}
|
||||
<!-- Custom CSS -->
|
||||
<link rel="stylesheet" type="text/css" href="{% static "website/css/custom.css" %}">
|
||||
|
||||
{% block header_ext %}
|
||||
|
|
@ -79,7 +80,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container" id="main-copy">
|
||||
<div class="container main-content" id="main-copy">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="jumbotron">
|
||||
<h1>Welcome!</h1>
|
||||
<hr />
|
||||
<p>Welcome to your new installation of <a href="http://evennia.com">Evennia</a>, your friendly
|
||||
|
|
@ -18,7 +19,7 @@
|
|||
database without logging into the game.
|
||||
{% if webclient_enabled %}
|
||||
You can also connect to the game directly from your browser using our
|
||||
<a href="{% url 'webclient:index' %}">online client</a>!<br></br>
|
||||
<a href="{% url 'webclient:index' %}">online client</a>!<br>
|
||||
{% endif %}
|
||||
For more info, take your time to
|
||||
peruse our extensive online <a href="https://github.com/evennia/evennia/wiki">documentation</a>.
|
||||
|
|
@ -29,6 +30,7 @@
|
|||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
|
@ -48,7 +50,7 @@
|
|||
<div class="card-deck">
|
||||
<div class="card card-outline-secondary text-center">
|
||||
<h3 class="card-header">Players</h3>
|
||||
<div class="card-block"
|
||||
<div class="card-block">
|
||||
<p>
|
||||
There's currently <strong>{{num_players_connected}}</strong> connected out of a total of <strong>{{num_players_registered}}</strong> players registered. Of these, <strong>{{num_players_registered_recent}}</strong> were created this week, and <strong>{{num_players_connected_recent}}</strong> have connected within the last seven days.
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue