diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-10 17:53:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 17:53:26 -0500 |
commit | 8192fdd63c26498583e0b4fa128e812d8f9ebb9a (patch) | |
tree | 1759722121b437f8483666b35315df7aeeef0f18 /ext/bg | |
parent | 2484ba68d11d8844a9392aeb6c5769ea05207983 (diff) |
Update style of legal.html to match settings v2 (#1092)
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/css/settings2.css | 4 | ||||
-rw-r--r-- | ext/bg/legal.html | 55 |
2 files changed, 44 insertions, 15 deletions
diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 245331a3..9b5bea81 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -281,6 +281,7 @@ h3 { overflow-y: scroll; position: relative; align-items: stretch; + justify-content: center; } .content-left { flex: 1 1 0; @@ -609,6 +610,9 @@ h3 { flex: 1 1 auto; align-self: center; } +.settings-item-left:last-child { + padding-right: var(--settings-group-inner-horizontal-padding); +} .settings-item-right { margin-top: calc(var(--settings-group-inner-vertical-margin) * -1); padding: var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding) var(--settings-group-inner-vertical-padding) var(--settings-group-inner-horizontal-padding-half); diff --git a/ext/bg/legal.html b/ext/bg/legal.html index 8b4fe513..df886384 100644 --- a/ext/bg/legal.html +++ b/ext/bg/legal.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width,initial-scale=1" /> + <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Yomichan Legal</title> <link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19"> @@ -11,17 +11,26 @@ <link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48"> <link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64"> <link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128"> - <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap.min.css"> - <link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css"> + <link rel="stylesheet" type="text/css" href="/bg/css/settings2.css"> <style> pre { - white-space: pre-line; + white-space: pre-wrap; + margin: 0; } </style> </head> -<body><div class="container"> +<body> -<h3>Yomichan License</h3> +<!-- Main content --> +<div class="content-outer"><div class="content"> +<div class="content-center"> + + <span tabindex="-1" id="content-scroll-focus"></span> + + <h1>Yomichan Legal</h1> + + <h2>Yomichan License</h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> Copyright (C) 2016-2020 Yomichan Authors @@ -38,17 +47,19 @@ 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 <https://www.gnu.org/licenses/>. </pre> + </div></div></div></div></div> -<h3>EDRDG License</h3> + <h2>EDRDG License</h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> This package uses the <a href="https://www.edrdg.org/jmdict/edict.html" target="_blank" rel="noopener">EDICT</a> and <a href="https://www.edrdg.org/wiki/index.php/KANJIDIC_Project" target="_blank" rel="noopener">KANJIDIC</a> dictionary files. These files are the property of the <a href="https://www.edrdg.org/" target="_blank" rel="noopener">Electronic Dictionary Research and Development Group</a>, and are used in conformance with the Group's <a href="https://www.edrdg.org/edrdg/licence.html" target="_blank" rel="noopener">licence</a>. </pre> + </div></div></div></div></div> -<h3>Third-Party Software Licenses</h3> - -<h4><a href="https://github.com/twbs/bootstrap/blob/v3.3.7/LICENSE" target="_blank" rel="noopener">Bootstrap v3.3.7</a></h4> + <h2><a href="https://github.com/twbs/bootstrap/blob/v3.3.7/LICENSE" target="_blank" rel="noopener noreferrer">Bootstrap v3.3.7</a></h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> The MIT License (MIT) @@ -72,8 +83,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </pre> + </div></div></div></div></div> -<h4><a href="https://github.com/wycats/handlebars.js/blob/v4.0.6/LICENSE" target="_blank" rel="noopener">Handlebars v4.0.6</a></h4> + <h2><a href="https://github.com/wycats/handlebars.js/blob/v4.0.6/LICENSE" target="_blank" rel="noopener noreferrer">Handlebars v4.0.6</a></h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> Copyright (C) 2011-2016 by Yehuda Katz @@ -95,8 +108,10 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </pre> + </div></div></div></div></div> -<h4><a href="https://github.com/jquery/jquery/blob/3.2.1/LICENSE.txt" target="_blank" rel="noopener">jQuery v3.2.1</a></h4> + <h2><a href="https://github.com/jquery/jquery/blob/3.2.1/LICENSE.txt" target="_blank" rel="noopener noreferrer">jQuery v3.2.1</a></h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> Copyright JS Foundation and other contributors, https://js.foundation/ @@ -135,8 +150,10 @@ externally maintained libraries used by this software which have their own licenses; we recommend you read them, as their terms may differ from the terms above. </pre> + </div></div></div></div></div> -<h4><a href="https://github.com/Stuk/jszip/blob/v3.1.3/LICENSE.markdown" target="_blank" rel="noopener">JSZip v3.1.3</a></h4> + <h2><a href="https://github.com/Stuk/jszip/blob/v3.1.3/LICENSE.markdown" target="_blank" rel="noopener noreferrer">JSZip v3.1.3</a></h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> Copyright (c) 2009-2016 Stuart Knightley, David Duponchel, Franz Buchinger, António Afonso @@ -146,8 +163,10 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </pre> + </div></div></div></div></div> -<h4><a href="https://github.com/WaniKani/WanaKana/blob/4.0.2/LICENSE" target="_blank" rel="noopener">WanaKana v4.0.2</a></h4> + <h2><a href="https://github.com/WaniKani/WanaKana/blob/4.0.2/LICENSE" target="_blank" rel="noopener noreferrer">WanaKana v4.0.2</a></h2> + <div class="settings-group"><div class="settings-item"><div class="settings-item-inner"><div class="settings-item-left"><div class="settings-item-label"> <pre> The MIT License (MIT) @@ -170,6 +189,12 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </pre> + </div></div></div></div></div> + + <div class="footer-padding"></div> + +</div> +</div></div> -</div></body> +</body> </html> |