From c2865134ffaf2f274c9a7dcc72d399b693fcc402 Mon Sep 17 00:00:00 2001 From: Miraty Date: Tue, 26 Sep 2023 22:13:54 +0200 Subject: [PATCH] Update mkht.php format + titles on home + rem sizes --- .gitignore | 12 +--- src/404.md => 404.md | 0 src/LICENSE.en.md => LICENSE.en.md | 0 src/cgu.md => cgu.md | 0 src/courriel.md => courriel.md | 0 ...ils-techniques.md => details-techniques.md | 0 header.inc.php | 7 +++ src/index.md => index.md | 12 ++-- ...-contenu.md => manifeste-sur-le-contenu.md | 0 src/matrix.md => matrix.md | 0 src/nextcloud.md => nextcloud.md | 0 style.css | 63 ++++++++++++------- 12 files changed, 58 insertions(+), 36 deletions(-) rename src/404.md => 404.md (100%) mode change 100755 => 100644 rename src/LICENSE.en.md => LICENSE.en.md (100%) rename src/cgu.md => cgu.md (100%) mode change 100755 => 100644 rename src/courriel.md => courriel.md (100%) mode change 100755 => 100644 rename src/details-techniques.md => details-techniques.md (100%) mode change 100755 => 100644 create mode 100644 header.inc.php rename src/index.md => index.md (96%) mode change 100755 => 100644 rename src/manifeste-sur-le-contenu.md => manifeste-sur-le-contenu.md (100%) mode change 100755 => 100644 rename src/matrix.md => matrix.md (100%) mode change 100755 => 100644 rename src/nextcloud.md => nextcloud.md (100%) mode change 100755 => 100644 diff --git a/.gitignore b/.gitignore index 9e43751..eb5a316 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1 @@ -mkht-php.css -css/* -*.gz -*.md -!/src/*.md -*.gmi -!/src/*.gmi -!/README.md -*.html -!/*.inc.html -*.atom +target diff --git a/src/404.md b/404.md old mode 100755 new mode 100644 similarity index 100% rename from src/404.md rename to 404.md diff --git a/src/LICENSE.en.md b/LICENSE.en.md similarity index 100% rename from src/LICENSE.en.md rename to LICENSE.en.md diff --git a/src/cgu.md b/cgu.md old mode 100755 new mode 100644 similarity index 100% rename from src/cgu.md rename to cgu.md diff --git a/src/courriel.md b/courriel.md old mode 100755 new mode 100644 similarity index 100% rename from src/courriel.md rename to courriel.md diff --git a/src/details-techniques.md b/details-techniques.md old mode 100755 new mode 100644 similarity index 100% rename from src/details-techniques.md rename to details-techniques.md diff --git a/header.inc.php b/header.inc.php new file mode 100644 index 0000000..03d4b99 --- /dev/null +++ b/header.inc.php @@ -0,0 +1,7 @@ +
+ ' : '' ?> + + alt="" title="Accueil" /> + + ' : '' ?> +
diff --git a/src/index.md b/index.md old mode 100755 new mode 100644 similarity index 96% rename from src/index.md rename to index.md index 499d368..2195c8d --- a/src/index.md +++ b/index.md @@ -1,5 +1,7 @@ *[RSS]: Really Simple Syndication +## Présentation + Antopie propose des services Internet, administrés par et hébergés chez [Miraty](/fr/index.html) grâce à [YunoHost](https://yunohost.org). Le compte @Antopie@mamot.fr ([RSS](https://mamot.fr/@Antopie.rss)) informe des pannes, mises à jour et nouveaux services. @@ -12,6 +14,8 @@ Le compte @Antopie@mamot.fr ([R Conditions d'utilisation +## Services +
'Forge logicielle simple basée sur Git.', 'libreqr' => 'Un générateur de codes QR fait maison.', 'vaultwarden' => 'Enregistrer des clés de passe. Compatible avec les clients Bitwarden.', - 'nextcloud' => 'Synchronisation de fichiers, de contacts (CardDAV), d’agenda (CalDAV), Carnet , et plein d’autres fonctionnalités grâce à des extensions.', + 'nextcloud' => 'Synchronisation de fichiers, de contacts (CardDAV), d’agenda (CalDAV), et plein d’autres fonctionnalités grâce à des extensions.', 'synapse' => 'Un serveur Matrix, qui est un protocole internet moderne pour la communication écrite, audio ou vidéo.', - 'element' => 'Client Web pour Matrix.', + 'element' => 'Client Web pour Matrix.', 'privatebin' => 'Partager des textes, codes sources ou Markdown rapidement.', 'jirafeau' => 'Rendre un fichier accessible par une URL Web.', 'etherpad' => 'Éditer un texte sur plusieurs appareils en même temps. Utilisable avec MyPads.', @@ -239,9 +243,9 @@ $aboutService = array( foreach($descService as $codeService => $descService) { ?>
-
+
-

+

Site
diff --git a/src/manifeste-sur-le-contenu.md b/manifeste-sur-le-contenu.md old mode 100755 new mode 100644 similarity index 100% rename from src/manifeste-sur-le-contenu.md rename to manifeste-sur-le-contenu.md diff --git a/src/matrix.md b/matrix.md old mode 100755 new mode 100644 similarity index 100% rename from src/matrix.md rename to matrix.md diff --git a/src/nextcloud.md b/nextcloud.md old mode 100755 new mode 100644 similarity index 100% rename from src/nextcloud.md rename to nextcloud.md diff --git a/style.css b/style.css index 25928c8..e0a42c1 100644 --- a/style.css +++ b/style.css @@ -1,15 +1,22 @@ .grid { display: grid; - grid-template-columns: repeat(auto-fill, minmax(max(350px, calc((100% - (30px * 5)) / 6)), 1fr)); - grid-gap: 30px; + grid-template-columns: repeat(auto-fill, minmax(max(11.66rem, calc((100% - (1rem * 5)) / 6)), 1fr)); + grid-gap: 1rem; } -/* Add a white shadow to dark images to get enough contrast with dark theme */ +.imgService { + width: auto; + max-height: 4rem; +} + +/* Add a white shadow around dark images to get enough contrast with dark theme */ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] { - filter: drop-shadow(1px 1px 0 white) - drop-shadow(-1px -1px 0 white) - drop-shadow(-1px 1px 0 white) - drop-shadow(1px -1px 0 white); + filter: + drop-shadow( 0.03rem 0.03rem 0 white) + drop-shadow( 0.03rem -0.03rem 0 white) + drop-shadow(-0.03rem 0.03rem 0 white) + drop-shadow(-0.03rem -0.03rem 0 white) + ; } .action::before { @@ -17,8 +24,8 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] { } .metaService { - margin: 6px; - margin-bottom: 0px; + margin: 0.2rem; + margin-bottom: 0; } .descService { @@ -27,7 +34,7 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] { .domService { font-size: 0.8em; - line-height: 26px; + line-height: 0.86rem; } .domService code, .domService em { @@ -38,17 +45,31 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] { overflow-wrap: anywhere; } +.centered > section { + border: none; + padding-left: unset; +} + +header > h1 { + margin: 0; +} + +header > img, h1 > img { + max-height: 3.4rem; + width: auto; +} + .interlude { display: flex; justify-content: center; - margin-top: 20px; - margin-bottom: 10px; + margin-top: 0.66rem; + margin-bottom: 0.33rem; } .interlude > hr { border: 0; - border-top: 2px gray dashed; - width: 520px; + border-top: 0.1rem gray dashed; + width: 17.33rem; } .row { @@ -60,23 +81,23 @@ img[src="img/logos/searx.webp"], img[src="img/logos/peertube.webp"] { } .row > a.button { - margin: 10px; + margin: 0.33rem; } .padRow { - padding: 10px; + padding: 0.33rem; } small { - font-size: 0.8em; + font-size: 0.8rem; } h1.titreService { - font-size: 1.3em; + font-size: 1.3rem; text-align: center; - margin: 0px; - padding-bottom: 0px; - padding-top: 0px; + margin: 0; + padding-bottom: 0; + padding-top: 0; } .antopie {