aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-06 17:13:54 +0000
committerng0 <ng0@n0.is>2019-02-06 17:13:54 +0000
commit5826d7e71c37d9ff8c77c2ccea11ad7cae93a406 (patch)
tree47a04f8186d23718060846ec504417684e2fcdcc
parenta1d33c4bec5245fd04182c2326dc43d6e16eecf4 (diff)
downloadwww-5826d7e71c37d9ff8c77c2ccea11ad7cae93a406.tar.gz
www-5826d7e71c37d9ff8c77c2ccea11ad7cae93a406.zip
add classes for unused skip element, add message in the footer to
report problems to us, more with ev
-rw-r--r--common/footer.j2.inc3
-rw-r--r--common/navigation.j2.inc9
-rw-r--r--ev.html.j24
-rw-r--r--styles.css34
4 files changed, 47 insertions, 3 deletions
diff --git a/common/footer.j2.inc b/common/footer.j2.inc
index 804f10f4..8a39e0af 100644
--- a/common/footer.j2.inc
+++ b/common/footer.j2.inc
@@ -1,4 +1,4 @@
1<footer> 1<footer id="footer">
2 <div class="container-fluid cushion-below"> 2 <div class="container-fluid cushion-below">
3 <div class="container"> 3 <div class="container">
4 <div class="row"> 4 <div class="row">
@@ -28,5 +28,6 @@
28 <div class="container text-center"> 28 <div class="container text-center">
29 <p>&copy; <a href="ev.html">GNUnet e.V.</a> 2015, 2016, 2017, 2018, 2019</p> 29 <p>&copy; <a href="ev.html">GNUnet e.V.</a> 2015, 2016, 2017, 2018, 2019</p>
30 <p>{{ _("This page was created using <a href='https://www.gnu.org/'>Free Software</a> only.") }}</p> 30 <p>{{ _("This page was created using <a href='https://www.gnu.org/'>Free Software</a> only.") }}</p>
31 <p>{{ _("Report issues with this website to <a href='contact.html'>us</a>.") }}</p>
31 </div> 32 </div>
32</footer> 33</footer>
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc
index e03dd9c6..84f5b087 100644
--- a/common/navigation.j2.inc
+++ b/common/navigation.j2.inc
@@ -1,3 +1,12 @@
1<!--
2<div id="header" class="">
3 <ul class="skip">
4 <!-- <li><a href="#nav">jump to main navigation</a></li> -->
5 <li><a href="#content">jump to main content</a></li>
6 <li><a href="#footer">jump to footer</a></li>
7 </ul>
8</div>
9-->
1<nav class="navbar navbar-inverse navbar-default"> 10<nav class="navbar navbar-inverse navbar-default">
2 <div class="container-fluid"> 11 <div class="container-fluid">
3 <ul class="nav navbar-nav"> 12 <ul class="nav navbar-nav">
diff --git a/ev.html.j2 b/ev.html.j2
index 7824bf9a..b0d2bf42 100644
--- a/ev.html.j2
+++ b/ev.html.j2
@@ -1,6 +1,6 @@
1{% extends "common/base.j2" %} 1{% extends "common/base.j2" %}
2{% block body_content %} 2{% block body_content %}
3<div> 3<main>
4<div class="container-fluid"> 4<div class="container-fluid">
5 <div class="container text-center"> 5 <div class="container text-center">
6 <h1>{{ _("Verein zur F&ouml;rderung von GNUnet e.V.") }}</h1> 6 <h1>{{ _("Verein zur F&ouml;rderung von GNUnet e.V.") }}</h1>
@@ -116,5 +116,5 @@
116</div> 116</div>
117 117
118</div> <!-- /container --> 118</div> <!-- /container -->
119</div> 119</main>
120{% endblock body_content %} 120{% endblock body_content %}
diff --git a/styles.css b/styles.css
index 2f7cd174..4534f9e6 100644
--- a/styles.css
+++ b/styles.css
@@ -6,6 +6,34 @@
6 z-index: 3; 6 z-index: 3;
7} 7}
8 8
9.skip {
10 display:none!important;
11}
12
13.skip {
14 position: absolute;
15 top: 0;
16 left: 0;
17 width: 100%;
18 font-size: .857143em;
19}
20
21.skip li {
22 position:absolute;
23 z-index:1;
24 margin:0;
25}
26.skip a {
27 position:absolute;
28 left:-9999px;
29}
30.skip a:active,
31.skip a:focus {
32 display:block;
33 position:static;
34 left:0;
35 padding:.25em 1em;
36}
9 37
10/* hyperlinks and buttons */ 38/* hyperlinks and buttons */
11#body_content a, 39#body_content a,
@@ -20,6 +48,12 @@ a.btn:visited {
20 text-decoration: none !important; 48 text-decoration: none !important;
21 color: white !important; 49 color: white !important;
22} 50}
51/* For reference if bootstrap does not cover the main-Element issue in IE9-11 */
52/*
53main {
54 display:block;
55}
56*/
23#body_content a:hover { 57#body_content a:hover {
24 transition: background-color 0.7s; 58 transition: background-color 0.7s;
25 background-color: #d00; 59 background-color: #d00;