Browse Source

Minor fixes

master
Miraty 3 months ago
parent
commit
3e3ad169b8
4 changed files with 10 additions and 19 deletions
  1. +1
    -1
      index.php
  2. +1
    -1
      manifest.php
  3. +3
    -4
      opensearch.php
  4. +5
    -13
      style.less

+ 1
- 1
index.php View File

@@ -136,7 +136,7 @@ if (badQuery()) {

<header>
<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">
<h1>LibreQR</h1>
<h2>Générateur de codes QR</h2>


+ 1
- 1
manifest.php View File

@@ -4,7 +4,7 @@
"lang": "fr",
"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; ?>",
"scope": "<?php echo $instPath; ?>",
"display": "standalone",


+ 3
- 4
opensearch.php View File

@@ -4,10 +4,9 @@
<ShortName>Générer un code QR</ShortName>
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
<?php
foreach($themeDimensionsFavicons as $dimFav) {
echo ' <Image height="' . $dimFav . '" width="' . $dimFav . '" type="image/png">' . $instPath . 'themes/' . $theme . '/icons/' . $dimFav . '.png</Image>' . "\n";
}
?>
foreach($themeDimensionsIcons as $dimIcon) {
echo ' <Image height="' . $dimIcon . '" width="' . $dimIcon . '" type="image/png">' . $instPath . 'themes/' . $theme . '/icons/' . $dimIcon . '.png</Image>' . "\n";
} ?>
<Language>fr</Language>
<InputEncoding>UTF-8</InputEncoding>
<Url type="text/html" template="<?php echo $instPath; ?>&#63;txt={searchTerms}&amp;redondancy=<?php if (isset($_GET['redondancy'])) { echo $_GET['redondancy']; } ?>&amp;margin=<?= $_GET['margin'] ?>&amp;size=<?= $_GET['size'] ?>&amp;bgColor=<?= urlencode($_GET['bgColor']) ?>&amp;mainColor=<?= urlencode($_GET['mainColor']) ?>"/>


+ 5
- 13
style.less View File

@@ -110,7 +110,6 @@ h1, h2, h3, h4, h5, h6 {
}

h1 {
padding: auto;
font-size: 33px;
}

@@ -130,11 +129,6 @@ h2 {
margin-top: 30px;
}

h1 {
padding: auto;
margin-left: 10px;
}

#titre {
text-align: center;
justify-content: center;
@@ -216,7 +210,6 @@ footer {
}
}


/* Inputs */

#redondancy, #margin, #txt, #size, input[type=color], input[type=submit], .bouton {
@@ -311,9 +304,11 @@ svg {
text-align: left;

@media (max-width: 500px) {
width: 300px;
position: fixed;
margin: 5px;
left: 0px;
top: 0px;
}

}

.conteneurAide:hover .contenuAide, .conteneurAide:focus-within .contenuAide {
@@ -342,14 +337,11 @@ svg {
font-size: 20px;
}

footer {
margin-top: 50px;
}

#info {
color: @text;
margin-bottom: 20px;
padding-top: 30px;
font-size: 20px;

& a:link {
color: @text;


Loading…
Cancel
Save