Add HTML metadata

This commit is contained in:
Miraty 2021-12-01 21:57:49 +01:00
parent 5697363739
commit 3a6851238c
2 changed files with 11 additions and 63 deletions

View File

@ -1,70 +1,14 @@
<!DOCTYPE HTML>
<html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GNU AFFERO GENERAL PUBLIC LICENSE</title>
<meta content="">
<style>
html {
font-family: ubuntu, sans-serif;
margin-left: 20%;
margin-right: 20%;
font-size: 22px;
background-color: #2a2a2a;
color: white;
line-height: 30px;
text-align: justify;
}
::selection {
color: #2a2a2a;
background-color: white;
}
h1 {
line-height: 45px;
}
a[href] {
color: white;
transition: color 0.1s;
}
a[href]:hover {
color: red;
}
@font-face {
font-family: "ubuntu";
src: url('bibli/ubuntu/Ubuntu-R.ttf');
}
@media (max-width: 500px) {
html {
margin-left: 8px;
margin-right: 8px;
}
}
@media (max-width: 800px) and (min-width: 501px) {
html {
margin-left: 10%;
margin-right: 10%;
}
}
@media (max-width: 1500px) and (min-width: 801px) {
html {
margin-left: 15%;
margin-right: 15%;
}
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
</head>
<body>
<h1 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h1>
<p style="text-align: center;">Version 3, 19 November 2007</p>
<h1>GNU AFFERO GENERAL PUBLIC LICENSE</h1>
<p>Version 3, 19 November 2007</p>
<p>Copyright &copy; 2007 Free Software Foundation,
Inc. &lt;<a href="https://fsf.org/">https://fsf.org/</a>&gt;

View File

@ -62,10 +62,14 @@ if (
<!DOCTYPE html>
<html lang="<?= $locale ?>">
<head>
<meta charset="UTF-8">
<meta charset="utf-8">
<title>LibreQR · <?= $loc['subtitle'] ?></title>
<meta name="description" content="<?= $loc['description'] ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light">
<meta name="application-name" content="LibreQR">
<meta name="referrer" content="no-referrer">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' data:; style-src 'self'; form-action 'self';">
<link rel="manifest" href="manifest.php">
<link rel="search" type="application/opensearchdescription+xml" title="LibreQR" href="opensearch.php&#63;redondancy=<?= $params['redondancy'] ?>&amp;margin=<?= $params['margin'] ?>&amp;size=<?= $params['size'] ?>&amp;bgColor=<?= urlencode($params['bgColor']) ?>&amp;mainColor=<?= urlencode($params['mainColor']) ?>">
<?php