201 lines
3.3 KiB
CSS
201 lines
3.3 KiB
CSS
|
/* Általános beállítások */
|
||
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
background-color: #f9f9f9;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
/* Oldal címe */
|
||
|
h1 {
|
||
|
text-align: center;
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
padding: 20px;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
/* Űrlap konténer */
|
||
|
form {
|
||
|
max-width: 600px;
|
||
|
margin: 20px auto;
|
||
|
padding: 20px;
|
||
|
background-color: #ffffff;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
/* Címkék */
|
||
|
form label {
|
||
|
display: block;
|
||
|
margin-bottom: 5px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* Bemeneti mezők */
|
||
|
form input, form select, form button {
|
||
|
width: 100%;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 15px;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 5px;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
/* Bemeneti mezők fókusz */
|
||
|
form input:focus, form select:focus {
|
||
|
border-color: #4CAF50;
|
||
|
outline: none;
|
||
|
background-color: #f1f8f6;
|
||
|
}
|
||
|
|
||
|
/* Gomb stílus */
|
||
|
form button {
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
font-size: 16px;
|
||
|
border: none;
|
||
|
cursor: pointer;
|
||
|
transition: background-color 0.3s;
|
||
|
}
|
||
|
|
||
|
/* Gomb hover */
|
||
|
form button:hover {
|
||
|
background-color: #45a049;
|
||
|
}
|
||
|
|
||
|
/* Táblázat */
|
||
|
table {
|
||
|
width: 90%;
|
||
|
margin: 20px auto;
|
||
|
border-collapse: collapse;
|
||
|
background-color: white;
|
||
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
/* Táblázat fejléce */
|
||
|
table th {
|
||
|
background-color: #4CAF50;
|
||
|
color: white;
|
||
|
padding: 10px;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
/* Táblázat cellák */
|
||
|
table td {
|
||
|
padding: 10px;
|
||
|
border: 1px solid #ddd;
|
||
|
}
|
||
|
|
||
|
/* Táblázat sorok */
|
||
|
table tr:nth-child(even) {
|
||
|
background-color: #f2f2f2;
|
||
|
}
|
||
|
|
||
|
/* Táblázat hover */
|
||
|
table tr:hover {
|
||
|
background-color: #e9f5ec;
|
||
|
}
|
||
|
|
||
|
/* Táblázat üzenet */
|
||
|
.no-results {
|
||
|
text-align: center;
|
||
|
color: #666;
|
||
|
font-size: 18px;
|
||
|
margin-top: 20px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Általános beállítások */
|
||
|
body {
|
||
|
font-family: Arial, sans-serif;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
background-color: #f4f4f4;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
/* Navigációs menü */
|
||
|
nav {
|
||
|
background-color: #4CAF50;
|
||
|
padding: 10px 0;
|
||
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
/* Menü lista */
|
||
|
nav ul {
|
||
|
list-style-type: none;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
/* Menü elemek */
|
||
|
nav ul li {
|
||
|
display: inline;
|
||
|
margin: 0 15px;
|
||
|
}
|
||
|
|
||
|
/* Menü linkek */
|
||
|
nav ul li a {
|
||
|
text-decoration: none;
|
||
|
color: white;
|
||
|
font-size: 18px;
|
||
|
padding: 10px 20px;
|
||
|
border-radius: 5px;
|
||
|
transition: background-color 0.3s, color 0.3s;
|
||
|
}
|
||
|
|
||
|
/* Menü hover */
|
||
|
nav ul li a:hover {
|
||
|
background-color: white;
|
||
|
color: #4CAF50;
|
||
|
}
|
||
|
|
||
|
/* Tartalom */
|
||
|
main {
|
||
|
text-align: center;
|
||
|
padding: 50px 20px;
|
||
|
}
|
||
|
|
||
|
main h1 {
|
||
|
color: #4CAF50;
|
||
|
font-size: 32px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
main p {
|
||
|
font-size: 18px;
|
||
|
color: #555;
|
||
|
}
|
||
|
|
||
|
/* Label stílus */
|
||
|
label {
|
||
|
display: block;
|
||
|
font-weight: bold;
|
||
|
margin-bottom: 5px;
|
||
|
color: #4CAF50;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
/* Select (legördülő lista) stílus */
|
||
|
select {
|
||
|
width: 100%;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 15px;
|
||
|
border: 1px solid #ccc;
|
||
|
border-radius: 5px;
|
||
|
font-size: 16px;
|
||
|
background-color: #f9f9f9;
|
||
|
color: #333;
|
||
|
transition: border-color 0.3s, background-color 0.3s;
|
||
|
}
|
||
|
|
||
|
/* Select fókusz állapot */
|
||
|
select:focus {
|
||
|
border-color: #4CAF50;
|
||
|
background-color: #f1f8f6;
|
||
|
outline: none;
|
||
|
}
|