introduce mini.css

This commit is contained in:
Paul
2019-04-13 00:41:36 +02:00
parent 20c96a8f47
commit b14676f9e5
3 changed files with 27 additions and 41 deletions
+3 -33
View File
@@ -1,39 +1,9 @@
body {
background-color: #ffffff;
font-family: arial, verdana, sans-serif;
text-align: left;
float: left;
}
.flat {
border: 0px;
}
header {
display: inline-block;
}
table {
border-width: 2px;
border-spacing: 0px;
border-style: solid;
border-color: black;
border-collapse: collapse;
background-color: white;
}
table th {
border-width: 4px;
padding: 5px;
border-style: solid;
border-color: gray;
background-color: white;
}
table td {
border-width: 4px;
padding: 5px;
border-style: solid;
border-color: gray;
background-color: white;
}
.header-img {
float: left;
margin: 0px 15px 15px 0px;
border: 0;
}
main {
background-color:white
}
File diff suppressed because one or more lines are too long
+23 -8
View File
@@ -3,9 +3,11 @@
<head>
<meta charset="{{ config['server']['encoding'] }}">
<title>{% block title %}{{ config['metadata']['identification']['title'] }} -{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="language" content="{{ config['server']['language'] }}">
<meta name="description" content="{{ config['metadata']['identification']['title'] }}">
<meta name="keywords" content="{{ config['metadata']['identification']['keywords']|join(',') }}">
<link rel="stylesheet" href="{{ config['server']['url'] }}/static/css/mini.min.css">
<link rel="stylesheet" href="{{ config['server']['url'] }}/static/css/default.css">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
@@ -17,15 +19,28 @@
{% endblock %}
</head>
<body>
<header>
<h1><a title="{{ config['metadata']['identification']['title'] }}" href="{{ config['server']['url'] }}/?f=html">{{ config['metadata']['identification']['title'] }}</a><a title="JSON" href="{{ config['server']['url'] }}/"><img alt="JSON" src="{{ config['server']['url'] }}/static/img/json.png" width="30" height="30"/></a></h1>
<span itemprop="description">{{ config['metadata']['identification']['description'] }}</span>
<header class="sticky row">
<div class="col-sm col-md-10 col-md-offset-1">
<a role="button" title="{{ config['metadata']['identification']['description'] }}" href="{{ config['server']['url'] }}/?f=html">{{ config['metadata']['identification']['title'] }}</a>
<a href="#" role="button" style="float:right">Contact</a>
<a href="#" role="button" style="float:right">About</a>
</div>
</header>
<hr/>
{% block body %}
{% endblock %}
<hr/>
<footer>Powered by <a title="pygeoapi" href="https://github.com/geopython/pygeoapi">pygeoapi</a> {{ version }}</footer>
<main>
<div class="container">
<div class="row cols-sm-12 cols-md-10">
<div class="col-md-offset-1">
{% block body %}
{% endblock %}
</div>
</div>
</div>
</main>
<footer class="row bottom">
<div class="col-sm col-md-10 col-md-offset-1">
Powered by <a title="pygeoapi" href="https://github.com/geopython/pygeoapi">pygeoapi</a> {{ version }}
</div>
</footer>
{% block extrafoot %}
{% endblock %}
</body>