diff --git a/src/document-blocked.html b/src/document-blocked.html index c1f035a5b..9f2601982 100644 --- a/src/document-blocked.html +++ b/src/document-blocked.html @@ -7,22 +7,28 @@ body { font-size: large; text-align: center; } -.label { - margin-bottom: 2px; +body > div { + margin: 1.5em 0; + } +body > div > p { + margin: 2px 0; + } +body > div > p:first-child { + margin: 1.5em 0 0 0; + } +body > div > p:last-child { + margin: 0 0 0 1.5em; } .code { background-color: rgba(0, 0, 0, 0.1); display: inline-block; font-family: monospace; - margin: 0; padding: 2px 4px; word-break: break-all; } -a, button { - margin: 0 1em; - } button { cursor: pointer; + margin: 0 1em; padding: 0.25em 0.5em; font-size: inherit; } @@ -41,11 +47,26 @@ img { -

-

-

-

-

+
+

+

+
+ +
+

+

+
+ +
+

+

+
+ +
+

+

+
+ diff --git a/src/js/document-blocked.js b/src/js/document-blocked.js index f7919287a..7108100ea 100644 --- a/src/js/document-blocked.js +++ b/src/js/document-blocked.js @@ -59,12 +59,12 @@ uDom('#why').text(details.why.slice(3)); if ( window.history.length > 1 ) { uDom('#back').on('click', function() { window.history.back(); }); + uDom('#bye').css('display', 'none'); } else { + uDom('#bye').on('click', function() { window.close(); }); uDom('#back').css('display', 'none'); } -uDom('#bye').on('click', function() { window.close(); }); - uDom('#yolo').attr('href', details.url) .on('click', yolo);