p22.10/css/style.css

82 lines
1.2 KiB
CSS
Raw Normal View History

2024-10-17 10:47:01 +00:00
/* Podstawowe style dla zakładek */
.tab {
display: none;
}
.tab.active {
display: block;
}
/* Style dla przycisków kategorii */
.category-buttons {
margin: 10px 0;
text-align: center;
}
.category-buttons button {
margin: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
background-color: #f2f2f2;
border: 1px solid #ccc;
border-radius: 4px;
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
.category-buttons button.active {
background-color: #4CAF50;
color: white;
border: 1px solid #4CAF50;
}
/* Stylizacja tabeli */
2024-10-16 08:40:14 +00:00
table {
width: 100%;
border-collapse: collapse;
2024-10-17 10:47:01 +00:00
margin-top: 20px;
2024-10-16 08:40:14 +00:00
}
2024-10-17 10:47:01 +00:00
2024-10-16 08:40:14 +00:00
th, td {
2024-10-17 10:47:01 +00:00
border: 1px solid #ddd;
padding: 8px;
2024-10-16 08:40:14 +00:00
text-align: center;
}
2024-10-17 10:47:01 +00:00
2024-10-16 08:40:14 +00:00
th {
background-color: #f2f2f2;
}
2024-10-17 10:47:01 +00:00
tr:nth-child(even) {
background-color: #f9f9f9;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
/* Stylizacja kontenera klasy */
.select-class {
2024-10-16 09:16:38 +00:00
margin-top: 20px;
2024-10-17 10:47:01 +00:00
text-align: center;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
.select-class select {
padding: 5px;
font-size: 16px;
2024-10-16 09:16:38 +00:00
}
2024-10-17 10:47:01 +00:00
/* Stylizacja nagłówków */
h1, h2, h3 {
text-align: center;
2024-10-16 10:42:08 +00:00
}
2024-10-17 10:47:01 +00:00
/* Dodatkowe style dla układu */
body {
font-family: Arial, sans-serif;
margin: 20px;
}
2024-10-16 10:42:08 +00:00
2024-10-17 10:47:01 +00:00
footer {
text-align: center;
margin-top: 40px;
font-size: 14px;
color: #555;
}