css
This commit is contained in:
@@ -62,7 +62,7 @@ if (!isset($_SESSION["user"])) {
|
||||
<aside class="editor-sidebar">
|
||||
|
||||
<div class="sidebar-block">
|
||||
<button type="submit" class="login-button">Veröffentlichen</button>
|
||||
<button type="submit" id="editor-button" class="button">Veröffentlichen</button>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-block">
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ $error = $error ?? null;
|
||||
<button type="submit"
|
||||
value="anmelden"
|
||||
name="loginSubmit"
|
||||
class="login-button">
|
||||
class="button">
|
||||
anmelden
|
||||
</button>
|
||||
|
||||
|
||||
+3
-3
@@ -33,13 +33,13 @@ $user = $user ?? null;
|
||||
</form>
|
||||
<br>
|
||||
|
||||
<a href="index.php?pfad=deleteAccount" class="login-button">
|
||||
<a href="index.php?pfad=deleteAccount" class="button">
|
||||
Account löschen
|
||||
</a>
|
||||
|
||||
<br><br>
|
||||
|
||||
<a href="index.php?pfad=logout" class="login-button">
|
||||
<a href="index.php?pfad=logout" class="button">
|
||||
Abmelden
|
||||
</a>
|
||||
</div>
|
||||
@@ -86,7 +86,7 @@ $user = $user ?? null;
|
||||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<p>Du hast noch keine Beiträge erstellt.</p>
|
||||
<button type="button" class="login-button" onclick="window.location.href='index.php?pfad=createArticle';">
|
||||
<button type="button" class="button" onclick="window.location.href='index.php?pfad=createArticle';">
|
||||
Beitrag erstellen!
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -52,7 +52,7 @@ $error = $error ?? null;
|
||||
<button type="submit"
|
||||
value="register"
|
||||
name="registerSubmit"
|
||||
class="login-button">
|
||||
class="button">
|
||||
kostenlos registrieren
|
||||
</button>
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ include_once 'php/controller/showArticle-controller.php';
|
||||
<aside class="editor-sidebar">
|
||||
|
||||
<div class="sidebar-block">
|
||||
<button type="submit" class="login-button">Änderungen speichern</button>
|
||||
<button type="submit" class="button">Änderungen speichern</button>
|
||||
</div>
|
||||
|
||||
<div class="sidebar-block">
|
||||
|
||||
+2
-2
@@ -155,7 +155,7 @@ a, button, input, select, textarea, label, main{
|
||||
color: #1f2937;
|
||||
}
|
||||
|
||||
.login-button {
|
||||
.button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background-color: #2563eb;
|
||||
@@ -168,7 +168,7 @@ a, button, input, select, textarea, label, main{
|
||||
transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.login-button:hover {
|
||||
.button:hover {
|
||||
background-color: #1d4ed8;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
||||
|
||||
Reference in New Issue
Block a user