Commit eafc5d8c authored by wikmart's avatar wikmart
Browse files

css added

parent 46e2a6d1
No related merge requests found
Showing with 59 additions and 15 deletions
+59 -15
......@@ -60,35 +60,80 @@ if (empty($_SESSION['user'])) {
<head>
<title>Tabulka s textovým vstupem a tlačítkem odeslat</title>
<style>
/* obecné styly pro celou stránku */
/* body */
body {
background-color: #F9E2B3;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
/* table */
table {
border-collapse: collapse;
width: 100%;
margin: 20px auto;
}
td {
border: 1px solid black;
padding: 10px;
padding: 20px;
text-align: center;
background-color: #FBD28B;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
/* form */
form {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
label {
font-weight: bold;
margin-bottom: 5px;
}
input {
width: 80%;
padding: 5px;
border: none;
border-bottom: 1px solid black;
box-sizing: border-box;
font-size: 16px;
background-color: #FFE0B2;
border-radius: 5px;
margin-bottom: 5px;
}
button {
background-color: #4CAF50;
color: white;
padding: 8px 16px;
background-color: #FFB74D;
color: #FFF;
padding: 5px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: all 0.3s ease-in-out;
}
button:hover {
background-color: #3e8e41;
background-color: #FFA726;
}
/* messages */
.message {
font-style: italic;
margin-top: 10px;
}
.success {
color: green;
}
.error {
color: red;
}
</style>
</head>
......@@ -301,10 +346,9 @@ if (empty($_SESSION['user'])) {
</body>
<h1>Vítej, uživateli <?= $_SESSION['user'] ?></h1>
<button><a href="logout.php">Odhlásit se</a></button>
<a href="logout.php">Odhlásit se</a>
<a href=""></a>
</html>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment