diff --git a/_i18n/ar.yml b/_i18n/ar.yml index d3fccae5..b90c54d2 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 ed7c2337..2b9b6794 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 ec90cf5b..9b71363e 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 9d74a04e..2d4be59c 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 918eb0a2..6423e566 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 05553a3d..2851be4a 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 00000000..3acad4eb --- /dev/null +++ b/_includes/upgrade.html @@ -0,0 +1,6 @@ +
+ +
+

{% t global.upgrade %} {% t global.moreinfo %}

+
+
\ No newline at end of file diff --git a/_layouts/index.html b/_layouts/index.html new file mode 100644 index 00000000..31a3464e --- /dev/null +++ b/_layouts/index.html @@ -0,0 +1,14 @@ + + + + {% include head.html %} + + + {% include upgrade.html %} +
+ {% include header.html %} + {{content}} + {% include footer.html %} +
+ + \ No newline at end of file diff --git a/css/custom.css b/css/custom.css index 0fc5ee20..50162997 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 43822563..c2cab6bc 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ --- -layout: base +layout: index title: Home permalink: index.html ---