Minor fixes
This commit is contained in:
parent
cf444dab3f
commit
3e3ad169b8
4 changed files with 10 additions and 19 deletions
|
@ -136,7 +136,7 @@ if (badQuery()) {
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a id="lienTitres" href="./">
|
<a id="lienTitres" href="./">
|
||||||
<img id="logo" src="themes/<?php echo $theme; ?>/icons/64.png" alt="Code QR stylisé">
|
<img id="logo" src="themes/<?php echo $theme; ?>/icons/128.png" alt="Code QR stylisé">
|
||||||
<div id="titres">
|
<div id="titres">
|
||||||
<h1>LibreQR</h1>
|
<h1>LibreQR</h1>
|
||||||
<h2>Générateur de codes QR</h2>
|
<h2>Générateur de codes QR</h2>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"lang": "fr",
|
"lang": "fr",
|
||||||
"name": "LibreQR",
|
"name": "LibreQR",
|
||||||
"short_name": "LibreQR",
|
"short_name": "LibreQR",
|
||||||
"description": "Générer un code QR rapidement",
|
"description": "Générer un code QR",
|
||||||
"start_url": "<?php echo $instPath; ?>",
|
"start_url": "<?php echo $instPath; ?>",
|
||||||
"scope": "<?php echo $instPath; ?>",
|
"scope": "<?php echo $instPath; ?>",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
|
|
|
@ -4,10 +4,9 @@
|
||||||
<ShortName>Générer un code QR</ShortName>
|
<ShortName>Générer un code QR</ShortName>
|
||||||
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
|
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
|
||||||
<?php
|
<?php
|
||||||
foreach($themeDimensionsFavicons as $dimFav) {
|
foreach($themeDimensionsIcons as $dimIcon) {
|
||||||
echo ' <Image height="' . $dimFav . '" width="' . $dimFav . '" type="image/png">' . $instPath . 'themes/' . $theme . '/icons/' . $dimFav . '.png</Image>' . "\n";
|
echo ' <Image height="' . $dimIcon . '" width="' . $dimIcon . '" type="image/png">' . $instPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png</Image>' . "\n";
|
||||||
}
|
} ?>
|
||||||
?>
|
|
||||||
<Language>fr</Language>
|
<Language>fr</Language>
|
||||||
<InputEncoding>UTF-8</InputEncoding>
|
<InputEncoding>UTF-8</InputEncoding>
|
||||||
<Url type="text/html" template="<?php echo $instPath; ?>?txt={searchTerms}&redondancy=<?php if (isset($_GET['redondancy'])) { echo $_GET['redondancy']; } ?>&margin=<?= $_GET['margin'] ?>&size=<?= $_GET['size'] ?>&bgColor=<?= urlencode($_GET['bgColor']) ?>&mainColor=<?= urlencode($_GET['mainColor']) ?>"/>
|
<Url type="text/html" template="<?php echo $instPath; ?>?txt={searchTerms}&redondancy=<?php if (isset($_GET['redondancy'])) { echo $_GET['redondancy']; } ?>&margin=<?= $_GET['margin'] ?>&size=<?= $_GET['size'] ?>&bgColor=<?= urlencode($_GET['bgColor']) ?>&mainColor=<?= urlencode($_GET['mainColor']) ?>"/>
|
||||||
|
|
18
style.less
18
style.less
|
@ -110,7 +110,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
padding: auto;
|
|
||||||
font-size: 33px;
|
font-size: 33px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,11 +129,6 @@ h2 {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
|
||||||
padding: auto;
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#titre {
|
#titre {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -216,7 +210,6 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Inputs */
|
/* Inputs */
|
||||||
|
|
||||||
#redondancy, #margin, #txt, #size, input[type=color], input[type=submit], .bouton {
|
#redondancy, #margin, #txt, #size, input[type=color], input[type=submit], .bouton {
|
||||||
|
@ -311,9 +304,11 @@ svg {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
width: 300px;
|
position: fixed;
|
||||||
|
margin: 5px;
|
||||||
|
left: 0px;
|
||||||
|
top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.conteneurAide:hover .contenuAide, .conteneurAide:focus-within .contenuAide {
|
.conteneurAide:hover .contenuAide, .conteneurAide:focus-within .contenuAide {
|
||||||
|
@ -342,14 +337,11 @@ svg {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
|
||||||
margin-top: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#info {
|
#info {
|
||||||
color: @text;
|
color: @text;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
|
font-size: 20px;
|
||||||
|
|
||||||
& a:link {
|
& a:link {
|
||||||
color: @text;
|
color: @text;
|
||||||
|
|
Loading…
Reference in a new issue