diff --git a/_i18n/ar.yml b/_i18n/ar.yml index d3fccae5577f6718e023b106306b7e6698b07559..b90c54d2eee83aeac9ad0c69a7da40976849d84b 100644 --- a/_i18n/ar.yml +++ b/_i18n/ar.yml @@ -25,6 +25,8 @@ global: outdatedMax: outdatedVersion: outdatedMin: + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_ar" titles: diff --git a/_i18n/en.yml b/_i18n/en.yml index ed7c23374a47a6c7232a3a9f876324a10205e926..2b9b6794d71e9a3a07da40ac7a2d73640d0f537c 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -25,6 +25,8 @@ global: outdatedMax: This page is outdated. We do not recommend using it. Instead, please see the outdatedVersion: english version outdatedMin: This page has been updated since the translation. You can use this version, but it may be incomplete. + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_en" titles: diff --git a/_i18n/es.yml b/_i18n/es.yml index ec90cf5ba9eb1e6ed39b5c196cb6c84c702ccdd8..9b71363e6407838f5dd199a33e775d0da746a7e6 100644 --- a/_i18n/es.yml +++ b/_i18n/es.yml @@ -25,6 +25,8 @@ global: outdatedMax: Esta página no está actualizada. No recomendamos utilizarla. En su lugar, favor de ver la outdatedVersion: versión en inglés outdatedMin: Esta página ha sido actualizada desde la traducción. Puedes utilizar esta versión, pero puede estar incompleta. + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_es" titles: diff --git a/_i18n/fr.yml b/_i18n/fr.yml index 9d74a04e78dbc10f2f936b27aa07eefe8654e1fe..2d4be59cad9ae40fdf8559cc304dbcbe41c23c8f 100644 --- a/_i18n/fr.yml +++ b/_i18n/fr.yml @@ -26,6 +26,8 @@ global: outdatedMax: Cette page est dans une version trop ancienne. Nous vous recommandons de ne pas vous baser dessus et de consulter la outdatedVersion: verson anglaise outdatedMin: Cette page a été modifiée depuis sa traduction. Vous pouvez vous baser sur cette version, mais elle pourrait être incomplète. + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_fr" titles: diff --git a/_i18n/it.yml b/_i18n/it.yml index 918eb0a2c69557d5aa7814b9efab26d95e3a15e0..6423e566338225ec12c0daf5934bb30226f3826e 100644 --- a/_i18n/it.yml +++ b/_i18n/it.yml @@ -25,6 +25,8 @@ global: outdatedMax: Questa pagina è obsoleta. Suggeriamo di non utilizzarla. Invece, per favore guarda outdatedVersion: versione in inglese outdatedMin: Questa pagina è stata aggiornata successivamente all'ultima traduzione. Puoi utilizzare questa versione, ma potrebbe essere incompleta. + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_it" titles: diff --git a/_i18n/pl.yml b/_i18n/pl.yml index 05553a3dfb06fb40e6e3a8742cd1b76efd2a980b..2851be4a09ef00524470ab154b0aa8dc01e79b34 100644 --- a/_i18n/pl.yml +++ b/_i18n/pl.yml @@ -26,6 +26,8 @@ global: outdatedMax: Ta strona jest nieaktualna. Nie zalecamy korzystania z niej. Zamiast tego, przejdź do outdatedVersion: wersja po angielsku outdatedMin: Ta strona została zaktualizowana po tym, jak została przetłumaczona. Możesz korzystać z tej wersji, jednak może być ona niekompletna. + upgrade: To continue using Monero, make sure your software is up-to-date with the October 18th network upgrade. + moreinfo: More info lang_tag: "@lang_tag_pl" titles: diff --git a/_includes/upgrade.html b/_includes/upgrade.html new file mode 100644 index 0000000000000000000000000000000000000000..3acad4eb49c318dc4f700d47292fe4999a07fdee --- /dev/null +++ b/_includes/upgrade.html @@ -0,0 +1,6 @@ +<div class="upgrade-container"> + <input id="upgrade-toggle" type="checkbox"> + <div class="upgrade-content"> + <p>{% t global.upgrade %} <a class="untranslated-link" href="https://getmonero.org/2018/10/11/monero-0.13.0-released.html">{% t global.moreinfo %}</a> <label class="upgrade-x" for="upgrade-toggle"></label></p> + </div> +</div> \ No newline at end of file diff --git a/_layouts/index.html b/_layouts/index.html new file mode 100644 index 0000000000000000000000000000000000000000..31a3464e6febfc996fa25b8e4568ec8498fb72ac --- /dev/null +++ b/_layouts/index.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> + + {% include head.html %} + + <body> + {% include upgrade.html %} + <div class="page-wrapper"> + {% include header.html %} + {{content}} + {% include footer.html %} + </div> + </body> +</html> \ No newline at end of file diff --git a/css/custom.css b/css/custom.css index 0fc5ee200dc915281bf38c90faaadba67e820a9e..501629972799adf5926b779d22c7293840e7527b 100644 --- a/css/custom.css +++ b/css/custom.css @@ -1095,6 +1095,136 @@ pre.highlight>code { display: block; } + + + + + + + +.upgrade-content { + background-color: #e5ba38; + top: 0; + left: 0; + z-index: 4; + width: 100%; + text-align: center; + color: #4c4c4c; + padding-bottom: 1.3rem; + padding-top: 1.3rem; + -moz-box-shadow: 0 2px 6px rgba(50,50,93,.1); + -webkit-box-shadow: 0 2px 6px rgba(50,50,93,.1); + box-shadow: 0 2px 6px rgba(50,50,93,.1); + margin-bottom: 0.4rem; + position: relative; +} + +.upgrade-content a { + color: #4c4c4c; + font-size: 1.1rem; +} + +.upgrade-content p { + padding: 0; + display: block; + font-size: 1.1rem; +} + +#upgrade-toggle { + display: none; +} + +#upgrade-toggle:checked ~ .upgrade-content, #upgrade-toggle:checked ~ .upgrade-x { + display: none; +} + +label.upgrade-x { + position: absolute; + right: 1rem; + width: 32px; + height: 32px; + opacity: 0.7; + cursor: pointer; +} + +label.upgrade-x:hover { + opacity: 1; +} + +label.upgrade-x:before, label.upgrade-x:after { + position: absolute; + content: ' '; + height: 33px; + width: 3px; + background-color: #4c4c4c; +} + +label.upgrade-x:before { + transform: rotate(45deg); +} + +label.upgrade-x:after { + transform: rotate(-45deg); +} + +@media only screen and (max-width: 75rem) { + +.upgrade-content p { + width: 90%; + margin: 0 auto; + font-size: 1rem; +} + +.upgrade-content a { + font-size: 1rem; +} + +label.upgrade-x:before, label.upgrade-x:after { + position: absolute; + content: ' '; + height: 30px; + background-color: #4c4c4c; +} + +} + +@media only screen and (max-width: 62rem) { + +.upgrade-content { + position: fixed; + top: auto; + bottom: 0; + margin-bottom: 0; + -moz-box-shadow: 0 0 6px rgba(50,50,93,.1); + -webkit-box-shadow: 0 0 6px rgba(50,50,93,.1); + box-shadow: 0 0 6px rgba(50,50,93,.1); +} + +.upgrade-content p { + width: 80%; +} + +label.upgrade-x { + top: 0.5rem; + right: 0.5rem; +} + +} + +@media only screen and (max-width: 30rem) { + +.upgrade-content p { + width: 75%; +} + +} + + + + + + + .disclaimer { background-color: #ff7519; position: fixed; diff --git a/index.html b/index.html index 438225636920cd1748f2d05c6ce73d61381f0850..c2cab6bca75b157cfaeb12a7f1142a01755a5fcf 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ --- -layout: base +layout: index title: Home permalink: index.html ---