Update 7 files
- /html/src/css/style.css - /html/about.php - /html/admin.php - /html/compte.php - /html/editpage.php - /html/index.php - /include/functions.php
This commit is contained in:
parent
f0eecc2f09
commit
2a9eabd310
@ -12,7 +12,7 @@ require "../include/functions.php";
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
</head>
|
||||
<body>
|
||||
<body class='<?=$_SESSION['colormode']?>'>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
|
@ -18,7 +18,7 @@ if($_SESSION['role'] < 3) {
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
</head>
|
||||
<body>
|
||||
<body class='<?=$_SESSION['colormode']?>'>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
|
@ -31,7 +31,7 @@ if(isset($_POST['delete_account'])) {
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
</head>
|
||||
<body>
|
||||
<body class='<?=$_SESSION['colormode']?>'>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
|
@ -70,7 +70,7 @@ if(isset($fichier)) {
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<body class='<?=$_SESSION['colormode']?>'>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
|
@ -12,7 +12,7 @@ require "../include/functions.php";
|
||||
<link rel="icon" href="src/img/favicon.ico">
|
||||
<title><?=$title?></title>
|
||||
</head>
|
||||
<body>
|
||||
<body class='<?=$_SESSION['colormode']?>'>
|
||||
<header>
|
||||
<div class="pancontent">
|
||||
<div class="athena-container">
|
||||
|
@ -1,4 +1,13 @@
|
||||
:root {
|
||||
--text: #000000;
|
||||
--background: hsl(0, 0%, 100%);
|
||||
--dark-background: hsl(0, 0%, 100%);
|
||||
--darker-background: hsl(0, 0%, 100%);
|
||||
--article-background: hsl(0, 0%, 100%);
|
||||
--article-text: hsl(0, 0%, 0%);
|
||||
}
|
||||
|
||||
.light {
|
||||
--text: #373737;
|
||||
--background: hsl(0, 0%, 100%);
|
||||
--dark-background: hsl(0, 0%, 100%);
|
||||
@ -7,6 +16,15 @@
|
||||
--article-text: hsl(0, 0%, 0%);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--text: #b3b3b3;
|
||||
--background: hsl(0, 0%, 15%);
|
||||
--dark-background: hsl(0, 0%, 10%);
|
||||
--darker-background: hsl(0, 0%, 5%);
|
||||
--article-background: hsl(0, 0%, 15%);
|
||||
--article-text: hsl(0, 0%, 100%);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: crfont; /* Nom de la police */
|
||||
src: url('/src/fonts/bahnschrift.ttf') format('truetype'); /* Chemin vers votre fichier TTF */
|
||||
|
@ -9,6 +9,10 @@ if(!isset($_SESSION['role'])) {
|
||||
$_SESSION['role'] = 0;
|
||||
}
|
||||
|
||||
if(!isset($_SESSION['colormode'])) {
|
||||
$_SESSION['colormode'] = "dark";
|
||||
}
|
||||
|
||||
function nav($nav) {
|
||||
foreach($nav as $name => $url) {
|
||||
echo "<a href='$url'><div class='navitem'>$name</div></a>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user