aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-03 20:30:40 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-03 20:30:40 +0200
commit9e75d993cdee1c26e7b588a7b4f302c11f99ddce (patch)
treef053b9d9e8b52f4eb8d2226e573b8d1686945bc4
parent372aa40226d4d7c54395511440d5bf4722255b6c (diff)
downloadwww-9e75d993cdee1c26e7b588a7b4f302c11f99ddce.tar.gz
www-9e75d993cdee1c26e7b588a7b4f302c11f99ddce.zip
fix usability stuff
-rw-r--r--static/navbar.css8
-rw-r--r--static/styles.css14
-rw-r--r--template/index.html.j220
3 files changed, 23 insertions, 19 deletions
diff --git a/static/navbar.css b/static/navbar.css
index 5768b898..3c2db9ef 100644
--- a/static/navbar.css
+++ b/static/navbar.css
@@ -19,14 +19,6 @@
19 margin-top: -1px; 19 margin-top: -1px;
20} 20}
21 21
22.dropdown-menu li:hover .sub-menu {
23 visibility: visible;
24}
25
26.dropdown:hover .dropdown-menu {
27 display: block;
28}
29
30.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu { 22.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
31 margin-top: 0; 23 margin-top: 0;
32} 24}
diff --git a/static/styles.css b/static/styles.css
index 7e32f2be..3bacbea4 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -1,3 +1,14 @@
1a.link:after {
2 font-size: .75em;
3 font-family: 'Font Awesome 5 Free';
4 content: " \f35d";
5 font-weight: 900;
6}
7
8a.link {
9 color: #3355FF; /* contrast for near white bg */
10}
11
1.static-top { 12.static-top {
2 position: fixed; 13 position: fixed;
3 top: 0; 14 top: 0;
@@ -196,7 +207,8 @@ body .banner {
196 padding-bottom: 20px; } 207 padding-bottom: 20px; }
197 208
198#body_content .banner a { 209#body_content .banner a {
199 color: white; } 210 color: white;
211}
200 212
201.lang-slector { 213.lang-slector {
202 float: right; 214 float: right;
diff --git a/template/index.html.j2 b/template/index.html.j2
index 367f6d30..205462b1 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -6,7 +6,7 @@
6 <div class="container text-center"> 6 <div class="container text-center">
7 <div class="row"> 7 <div class="row">
8 <div class="container text-center"> 8 <div class="container text-center">
9 <h1><a name="about"></a>{{ _("The Internet of tomorrow needs GNUnet today") }}</h1> 9 <h1>{{ _("The Internet of tomorrow needs GNUnet today") }}</h1>
10 </div> 10 </div>
11 </div> 11 </div>
12 12
@@ -21,7 +21,7 @@
21 <div class="col-lg-2"></div> 21 <div class="col-lg-2"></div>
22 <div class="col-lg-6"> 22 <div class="col-lg-6">
23 <section> 23 <section>
24 <h3>{{ _("The Internet is broken") }}</h3> 24 <h2>{{ _("The Internet is broken") }}</h2>
25 <p> 25 <p>
26 {% trans %} 26 {% trans %}
27 The conventional Internet is currently like a system of 27 The conventional Internet is currently like a system of
@@ -74,9 +74,9 @@
74 distributed, and privacy-preserving applications.<br/> 74 distributed, and privacy-preserving applications.<br/>
75 With 75 With
76 strong roots in 76 strong roots in
77 <a href="https://bib.gnunet.org">academic research</a>, our 77 <a class="link" href="https://bib.gnunet.org">academic research</a>, our
78 goal is to replace the 78 goal is to replace the
79 <a href="https://secushare.org/broken-internet">old insecure Internet</a> 79 <a class="link" href="https://secushare.org/broken-internet">old insecure Internet</a>
80 protocol stack. 80 protocol stack.
81 {% endtrans %} 81 {% endtrans %}
82 </p> 82 </p>
@@ -92,7 +92,7 @@
92 <div class="col-lg-2"></div> 92 <div class="col-lg-2"></div>
93 <div class="col-lg-6"> 93 <div class="col-lg-6">
94 <section> 94 <section>
95 <h3>{{ _("Metadata is exposed") }}</h3> 95 <h2>{{ _("Metadata is exposed") }}</h2>
96 <p> 96 <p>
97 {% trans %} 97 {% trans %}
98 Your metadata is just as revealing as the actual content; and it gets exposed on the Internet.<br> 98 Your metadata is just as revealing as the actual content; and it gets exposed on the Internet.<br>
@@ -126,7 +126,7 @@
126 <p> 126 <p>
127 {% trans %} 127 {% trans %}
128 GNUnet provides 128 GNUnet provides
129 <a href="https://www.w3.org/2014/strint/papers/65.pdf">privacy by design</a>, 129 <a class="link" href="https://www.w3.org/2014/strint/papers/65.pdf">privacy by design</a>,
130 improving addressing, routing, naming and 130 improving addressing, routing, naming and
131 content distribution in a technically robust manner - as 131 content distribution in a technically robust manner - as
132 opposed to ad-hoc designs in place today. 132 opposed to ad-hoc designs in place today.
@@ -150,13 +150,13 @@
150 <div class="col-lg-2"></div> 150 <div class="col-lg-2"></div>
151 <div class="col-lg-6"> 151 <div class="col-lg-6">
152 <section> 152 <section>
153 <h3>{{ _("Freedoms are not respected") }}</h3> 153 <h2>{{ _("Freedoms are not respected") }}</h2>
154 <p> 154 <p>
155 {% trans %} 155 {% trans %}
156 Today, monitoring increasingly centralized infrastructure, 156 Today, monitoring increasingly centralized infrastructure,
157 proprietary implementations, traffic shapers and firewalls 157 proprietary implementations, traffic shapers and firewalls
158 restrict all of the 158 restrict all of the
159 <a href="https://www.gnu.org/philosophy/free-sw.html">essential freedoms</a> 159 <a class="link" href="https://www.gnu.org/philosophy/free-sw.html">essential freedoms</a>
160 to various degrees. 160 to various degrees.
161 {% endtrans %} 161 {% endtrans %}
162 </p> 162 </p>
@@ -179,7 +179,7 @@
179 <p> 179 <p>
180 {% trans %} 180 {% trans %}
181 GNUnet is made for a free and open society: It&#39;s a self-organizing network and it 181 GNUnet is made for a free and open society: It&#39;s a self-organizing network and it
182 is <a href="http://www.gnu.org/philosophy/free-sw.html">free software</a> 182 is <a class="link" href="http://www.gnu.org/philosophy/free-sw.html">free software</a>
183 as in freedom. GNUnet puts you in control of your data. 183 as in freedom. GNUnet puts you in control of your data.
184 You determine which data to share with whom, and you&#39;re not 184 You determine which data to share with whom, and you&#39;re not
185 pressured to accept compromises. 185 pressured to accept compromises.
@@ -201,7 +201,7 @@
201 <div class="col-lg-2"></div> 201 <div class="col-lg-2"></div>
202 <div class="col-lg-6"> 202 <div class="col-lg-6">
203 <section> 203 <section>
204 <h3>{{ _("Decentralization is the key, but hard") }}</h3> 204 <h2>{{ _("Decentralization is the key, but hard") }}</h2>
205 205
206 <p> 206 <p>
207 {% trans %} 207 {% trans %}