commit 57b9f564bc03505e0189c2c22a9d2c7aa47c2ea1 Author: gus gus@torproject.org Date: Mon Apr 27 15:48:17 2020 -0400
Fix #26 - Notify users that 2019.www is an outdated website --- css/layout.css | 10 ++++++++-- css/layout.min.css | 8 ++++++-- docs/en/documentation.wml | 1 + en/notice.wmi | 15 +++++++++++++++ 4 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/css/layout.css b/css/layout.css index 16cd3ef7..6e214ffc 100644 --- a/css/layout.css +++ b/css/layout.css @@ -1398,7 +1398,7 @@ p.blogDate { .eoy-background { background-color: #F8F9FA; width: 100%; - height: 300px; + height: 250px; margin-bottom: 35px; }
@@ -1417,7 +1417,7 @@ p.blogDate { }
.eoy-message { - width: 55%; +/* width: 55%; */ float: right; padding-left: 35px; } @@ -1568,3 +1568,9 @@ input[type=checkbox]:checked ~ div#eoy-banner { .black { color: black; } + +/* 2019 notice */ + +.notice-2019 a, a:link, a:visited { + text-decoration: none; +} diff --git a/css/layout.min.css b/css/layout.min.css index 4a4d8f65..870cb1c1 100644 --- a/css/layout.min.css +++ b/css/layout.min.css @@ -3,7 +3,7 @@ .eoy-background { background-color: #F8F9FA; width: 100%; - height: 300px; + height: 250px; margin-bottom: 35px; }
@@ -22,7 +22,7 @@ }
.eoy-message { - width: 55%; +/* width: 55%; */ float: right; padding-left: 35px; } @@ -167,3 +167,7 @@ input[type=checkbox]:checked ~ div#eoy-banner { .black { color: black; } + +.notice-2019 a, a:link, a:visited { + text-decoration: none; +} diff --git a/docs/en/documentation.wml b/docs/en/documentation.wml index ee443d3f..d6642307 100644 --- a/docs/en/documentation.wml +++ b/docs/en/documentation.wml @@ -8,6 +8,7 @@ <a href="<page index>">Home » </a> <a href="<page docs/documentation>">Documentation</a> </div> +#include "notice.wmi" <div id="maincol"> <a id="RunningTor"></a> <a id="Support"></a> diff --git a/en/notice.wmi b/en/notice.wmi new file mode 100644 index 00000000..e5462367 --- /dev/null +++ b/en/notice.wmi @@ -0,0 +1,15 @@ +<label class="black" for="toggle-1">x</label> +<input type="checkbox" id="toggle-1"> +<div class="eoy-background"> + <div class="eoy-wrap"> + <div class="eoy-message"> + <div class="tor-strength-in-num"> + <p>This website is an online archive and it's outdated!</p> + </div> + <div class="keep-tor-strong-giv"> + <p class="advance-universal-hu">Some resources you will find here are <mark>outdated.</mark> We are currently working on a <a href="https://blog.torproject.org/meet-new-torprojectorg">new developer portal</a>.</p> + <p class="advance-universal-hu">You can find updated and maintained resources about <a href="https://tb-manual.torproject.org/">Tor Browser Manual</a>, <a href="https://support.torproject.org/">User Support</a>, <a href="https://community.torproject.org/relay">Relay Operations</a> and <a href="https://community.torproject.org/onion-services/">Onion Services</a>. If you have any questions or need help, please <a href="https://torproject.org/contact">contact us</a>.</p> + </div> + </div> + </div> +</div>
tor-commits@lists.torproject.org