From 8418df91e36a267f37bd6320c830d08d6aba0ddf Mon Sep 17 00:00:00 2001
From: Capelier-Marla
Date: Thu, 26 Jan 2023 13:31:08 +0100
Subject: [PATCH] removed :has() css attributes to use classes (because f
firefox)
---
Views/category/view.php | 2 +-
Views/common/category_list.php | 2 +-
Views/home/view.php | 2 +-
Views/recipe/search.php | 2 +-
Views/recipe/view.php | 2 +-
Views/user/login.php | 2 +-
static/style.css | 6 +++---
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Views/category/view.php b/Views/category/view.php
index fb74aa6..b8ca07f 100644
--- a/Views/category/view.php
+++ b/Views/category/view.php
@@ -9,7 +9,7 @@ $allCategory = array(
);
?>
-
+
= View::show("common/category_list"); ?>
- Catégories :
+ Catégories :
$category_path) {
echo '- '. $category . '
';
diff --git a/Views/home/view.php b/Views/home/view.php
index 5f4d55e..d9d9b06 100644
--- a/Views/home/view.php
+++ b/Views/home/view.php
@@ -1,7 +1,7 @@
-
+
diff --git a/Views/recipe/search.php b/Views/recipe/search.php
index 054b399..3a15eec 100644
--- a/Views/recipe/search.php
+++ b/Views/recipe/search.php
@@ -4,7 +4,7 @@
?>
-
+
diff --git a/Views/recipe/view.php b/Views/recipe/view.php
index ef41e4a..f247b58 100644
--- a/Views/recipe/view.php
+++ b/Views/recipe/view.php
@@ -1,7 +1,7 @@
-
+
diff --git a/Views/user/login.php b/Views/user/login.php
index 65aae72..d83c349 100644
--- a/Views/user/login.php
+++ b/Views/user/login.php
@@ -1,6 +1,6 @@
Error: {$A_view["errmsg"]}
";
+ echo " Error: {$A_view["errmsg"]}
";
}
?>
diff --git a/static/style.css b/static/style.css
index 8da2d90..2a01ac1 100644
--- a/static/style.css
+++ b/static/style.css
@@ -114,7 +114,7 @@ body > header > nav > ul > li:last-child > a > img {
height: calc(var(--size-max) - var(--size-xl));
}
-main:has(aside) {
+main.hasAside {
display: flex;
flex-direction: row;
justify-content: center;
@@ -140,7 +140,7 @@ aside ul {
flex-direction: column;
gap: var(--size-s);
}
-aside li:has(h3)::marker{
+aside li.hasH3::marker{
content: none;
}
aside li h3 {
@@ -206,7 +206,7 @@ main.registerPage {
gap: var(--size-xl);
}
-body:has(main.registerPage) > p {
+p.inMainRegisterPage {
display: flex;
justify-content: center;
font-size: var(--size-xl);