Now have the tiles working properly. Also, user interface somewhat improved.
|
|
@ -9,13 +9,14 @@ body {
|
|||
width:80%;
|
||||
margin: 0 10%;
|
||||
padding: 0;
|
||||
padding-top: 8em;
|
||||
padding-bottom: 2em;
|
||||
padding-top: 12em;
|
||||
padding-bottom: 2em;
|
||||
}
|
||||
|
||||
/* footer of the document, within #main-container */
|
||||
#footer {
|
||||
clear: both;
|
||||
font-size: smaller;
|
||||
padding: 0 2em;
|
||||
text-align: center;
|
||||
color:white;
|
||||
|
|
@ -33,15 +34,18 @@ body {
|
|||
#header {
|
||||
width:100%;
|
||||
margin: -10px;
|
||||
padding: 0.5em 10%;
|
||||
padding: 0.25em 10%;
|
||||
position: fixed;
|
||||
z-index: 149;
|
||||
background-color: black;
|
||||
background-image: "../img/earth-space-strip.jpg";
|
||||
background-repeat: no-repeat;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#header h1 {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#header-logo {
|
||||
float: left;
|
||||
padding-right: 2.5em;
|
||||
|
|
@ -80,6 +84,10 @@ li.nav-item a:active { background: gray; color: white; }
|
|||
border: thin solid white;
|
||||
}
|
||||
|
||||
.world {
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
div.error {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -97,7 +105,7 @@ h1 {
|
|||
h1, h2, h3, h4, h5 {
|
||||
background-color: black;
|
||||
color: white;
|
||||
padding-left: 20px;
|
||||
padding-left: -20px;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
3459
resources/public/docs/mw-engine/uberdoc.html
Normal file
3153
resources/public/docs/mw-parser/uberdoc.html
Normal file
3234
resources/public/docs/mw-ui/uberdoc.html
Normal file
BIN
resources/public/img/tiles/climax.png
Normal file
|
After Width: | Height: | Size: 921 B |
BIN
resources/public/img/tiles/fire.png
Normal file
|
After Width: | Height: | Size: 977 B |
BIN
resources/public/img/tiles/forest.png
Normal file
|
After Width: | Height: | Size: 937 B |
BIN
resources/public/img/tiles/grassland.png
Normal file
|
After Width: | Height: | Size: 163 B |
BIN
resources/public/img/tiles/heath.png
Normal file
|
After Width: | Height: | Size: 855 B |
BIN
resources/public/img/tiles/scrub.png
Normal file
|
After Width: | Height: | Size: 687 B |
BIN
resources/public/img/tiles/snow.png
Normal file
|
After Width: | Height: | Size: 782 B |
BIN
resources/public/img/tiles/waste.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
resources/public/img/tiles/water.png
Normal file
|
After Width: | Height: | Size: 621 B |
|
|
@ -1,8 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
{{content|safe}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -19,14 +19,16 @@
|
|||
<meta content="{{seconds}}" http-equiv="{{maybe-refresh}}" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<div id="header" style=" background-image: url( '{{servlet-context}}/img/earth-space-strip.jpg');"
|
||||
>
|
||||
<div id="nav">
|
||||
<a class="navbar-brand" href="{{servlet-context}}/">MicroWorld</a>
|
||||
<ul class="nav">
|
||||
<li class="{{home-selected}}"><a href="{{servlet-context}}/">Home</a></li>
|
||||
<li class="{{about-selected}}"><a href="{{servlet-context}}/about">About</a></li>
|
||||
<li class="{{world-selected}}"><a href="{{servlet-context}}/world">World</a></li>
|
||||
<li class="{{docs-selected}}"><a href="{{servlet-context}}/docs">Documentation</a></li>
|
||||
</ul>
|
||||
<h1>{{title}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
14
resources/templates/docs.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<ul>
|
||||
{% for component in components %}
|
||||
<li>
|
||||
<a href="{{servlet-context}}/docs/{{component}}/uberdoc.html">
|
||||
{{component}}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
<form action="world">
|
||||
<p class="widget">
|
||||
<label for="y">Size of your world: rows</label>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
{% extends "templates/base.html" %}
|
||||
{% block content %}
|
||||
<div>
|
||||
<h1>{{title}}</h1>
|
||||
|
||||
{{content|safe}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
|||