diff options
author | Jesús <heckyel@hyperbola.info> | 2019-08-10 22:29:47 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-08-10 22:29:47 -0500 |
commit | 0458214081f1ea9700753cdae81814e3314da606 (patch) | |
tree | cbf02bccfeea7821ee8dd022a214fb8d3aae5f5e /main-blocked.html | |
parent | 09e4754b2ed89dd2a44c3e7690b939ca8c774750 (diff) | |
download | ematrix-0458214081f1ea9700753cdae81814e3314da606.tar.lz ematrix-0458214081f1ea9700753cdae81814e3314da606.tar.xz ematrix-0458214081f1ea9700753cdae81814e3314da606.zip |
Fix semantic HTML
Diffstat (limited to 'main-blocked.html')
-rw-r--r-- | main-blocked.html | 299 |
1 files changed, 151 insertions, 148 deletions
diff --git a/main-blocked.html b/main-blocked.html index e00477b..ada349f 100644 --- a/main-blocked.html +++ b/main-blocked.html @@ -1,159 +1,162 @@ <!DOCTYPE html> -<!-- *************************************************************************** +<html> + <head> + <meta charset="utf-8"> + <!-- *************************************************************************** - ηMatrix - a browser extension to black/white list requests. - Copyright (C) 2019 Alessio Vanni + ηMatrix - a browser extension to black/white list requests. + Copyright (C) 2019 Alessio Vanni - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program. If not, see {http://www.gnu.org/licenses/}. + You should have received a copy of the GNU General Public License + along with this program. If not, see {http://www.gnu.org/licenses/}. - Home: https://gitlab.com/vannilla/ematrix - uMatrix Home: https://github.com/gorhill/uMatrix - --> -<html> -<head> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<title></title> -<link rel="stylesheet" href="css/common.css" type="text/css"> -<style> -body { - font-family: sans-serif; - font-size: large; - text-align: center; - } -body > div { - margin: 1.5em 0; - } -body > div > p { - margin: 4px 0; - } -body > div > p:first-child { - margin: 1.5em 0 0 0; - } -.code { - background-color: rgba(0, 0, 0, 0.1); - display: inline-block; - font-family: monospace; - font-size: large; - line-height: 1.2; - padding: 2px 4px; - word-break: break-all; - } -button { - cursor: pointer; - margin: 0 1em 0.25em 1em; - padding: 0.25em 0.5em; - font-size: inherit; - } -#theURL { - margin: 0.25em 0; - padding: 0; - } -#theURL > * { - margin: 0; - } -#theURL > p { - position: relative; - z-index: 10; - } -#theURL > p > span { - background-color: transparent; - top: 100%; - box-sizing: border-box; - cursor: pointer; - opacity: 0.5; - padding: 0.2em; - position: absolute; - transform: translate(0, -50%); - } -body[dir="ltr"] #theURL > p > span { - right: 0; - } -body[dir="rtl"] #theURL > p > span { - left: 0; - } -#theURL > p:hover > span { - opacity: 1; - } -#theURL > p > span:before { - content: '\f010'; - } -#theURL.collapsed > p > span:before { - content: '\f00e'; - } -#parsed { - background-color: #f8f8f8; - border: 1px solid rgba(0, 0, 0, 0.1); - border-top: none; - color: gray; - font-size: small; - overflow-x: hidden; - padding: 4px; - text-align: initial; - text-overflow: ellipsis; - } -#theURL.collapsed > #parsed { - display: none; - } -#parsed ul, #parsed li { - list-style-type: none; - } -#parsed li { - white-space: nowrap; - } -#parsed span { - display: inline-block; - } -#parsed span:first-of-type { - font-weight: bold; - } -#warningSign { - margin: 1e, 0; - opacity: 1; - pointer-events: none; - width: 100%; - } -#warningSign > span { - color: #f2a500; - font-size: 180px; - } -</style> -</head> -<body> -<div id="warningSign"><span class="fa"></span></div> -<div> - <p data-i18n="mainBlockedPrompt1"></p> - <div id="theURL" class="collapsed"> - <p class="what code"></p> - <ul id="parsed"></ul> + Home: https://gitlab.com/vannilla/ematrix + uMatrix Home: https://github.com/gorhill/uMatrix + --> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title></title> + <link rel="stylesheet" href="css/common.css" type="text/css"> + <style> + body { + font-family: sans-serif; + font-size: large; + text-align: center; + } + body > div { + margin: 1.5em 0; + } + body > div > p { + margin: 4px 0; + } + body > div > p:first-child { + margin: 1.5em 0 0 0; + } + .code { + background-color: rgba(0, 0, 0, 0.1); + display: inline-block; + font-family: monospace; + font-size: large; + line-height: 1.2; + padding: 2px 4px; + word-break: break-all; + } + button { + cursor: pointer; + margin: 0 1em 0.25em 1em; + padding: 0.25em 0.5em; + font-size: inherit; + } + #theURL { + margin: 0.25em 0; + padding: 0; + } + #theURL > * { + margin: 0; + } + #theURL > p { + position: relative; + z-index: 10; + } + #theURL > p > span { + background-color: transparent; + top: 100%; + box-sizing: border-box; + cursor: pointer; + opacity: 0.5; + padding: 0.2em; + position: absolute; + transform: translate(0, -50%); + } + body[dir="ltr"] #theURL > p > span { + right: 0; + } + body[dir="rtl"] #theURL > p > span { + left: 0; + } + #theURL > p:hover > span { + opacity: 1; + } + #theURL > p > span:before { + content: '\f010'; + } + #theURL.collapsed > p > span:before { + content: '\f00e'; + } + #parsed { + background-color: #f8f8f8; + border: 1px solid rgba(0, 0, 0, 0.1); + border-top: none; + color: gray; + font-size: small; + overflow-x: hidden; + padding: 4px; + text-align: initial; + text-overflow: ellipsis; + } + #theURL.collapsed > #parsed { + display: none; + } + #parsed ul, #parsed li { + list-style-type: none; + } + #parsed li { + white-space: nowrap; + } + #parsed span { + display: inline-block; + } + #parsed span:first-of-type { + font-weight: bold; + } + #warningSign { + margin: 1em, 0; + opacity: 1; + pointer-events: none; + width: 100%; + } + #warningSign > span { + color: #f2a500; + font-size: 180px; + } + </style> + </head> + <body> + <div id="warningSign"><span class="fa"></span></div> + <div> + <p data-i18n="mainBlockedPrompt1"></p> + <div id="theURL" class="collapsed"> + <p class="what code"></p> + <ul id="parsed"></ul> + </div> </div> - </div> -<!-- <div> - <p data-i18n="mainBlockedPrompt2"></p> - <p id="why" class="code"></p> - </div> - --> + <!-- <div> + <p data-i18n="mainBlockedPrompt2"></p> + <p id="why" class="code"></p> + </div> + --> -<div> - <p><button id="back" data-i18n="mainBlockedBack" type="button"></button> - <button id="bye" data-i18n="mainBlockedClose" type="button"></button></p> - </div> + <div> + <p> + <button id="back" data-i18n="mainBlockedBack" type="button"></button> + <button id="bye" data-i18n="mainBlockedClose" type="button"></button> + </p> + </div> -<script src="js/vapi-common.js"></script> -<script src="js/vapi-client.js"></script> -<script src="js/udom.js"></script> -<script src="js/i18n.js"></script> -<script src="js/main-blocked.js"></script> -</body> + <script src="js/vapi-common.js"></script> + <script src="js/vapi-client.js"></script> + <script src="js/udom.js"></script> + <script src="js/i18n.js"></script> + <script src="js/main-blocked.js"></script> + </body> </html> |