141 lines
2.4 KiB
CSS
141 lines
2.4 KiB
CSS
/* Podstawowy styl */
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #f7f7f7;
|
|
color: #222;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
nav {
|
|
background: #d32f2f;
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
color: white;
|
|
}
|
|
|
|
nav a, nav button {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
th, td {
|
|
padding: 10px;
|
|
border-bottom: 1px solid #ccc;
|
|
text-align: center;
|
|
}
|
|
|
|
.photo {
|
|
width: 200px;
|
|
border-radius: 50%;
|
|
display: block;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
/* Styl dla trybu ciemnego */
|
|
body.dark-mode {
|
|
background: #121212;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
body.dark-mode nav {
|
|
background: #333;
|
|
}
|
|
|
|
body.dark-mode table {
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
body.dark-mode h1 {
|
|
color: #eaeaea;
|
|
}
|
|
|
|
body.dark-mode header button {
|
|
background-color: #444;
|
|
color: #eaeaea;
|
|
}
|
|
|
|
body.dark-mode header button:hover {
|
|
background-color: #666;
|
|
}
|
|
|
|
body.dark-mode ul li {
|
|
background-color: #333;
|
|
}
|
|
|
|
body.dark-mode ul li:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
/* Dodatkowe style */
|
|
body.dark-mode h1 {
|
|
color: #eaeaea;
|
|
}
|
|
|
|
body.dark-mode header button {
|
|
background-color: #444;
|
|
color: #eaeaea;
|
|
}
|
|
|
|
body.dark-mode header button:hover {
|
|
background-color: #666;
|
|
}
|
|
|
|
body.dark-mode ul li {
|
|
background-color: #333;
|
|
}
|
|
|
|
body.dark-mode ul li:hover {
|
|
background-color: #444;
|
|
}
|
|
|
|
/* Przyciski i elementy */
|
|
header button {
|
|
padding: 10px 15px;
|
|
border: none;
|
|
background-color: #007bff;
|
|
color: white;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
header button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
/* Style dla listy meczów */
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
ul li {
|
|
background-color: #eaeaea;
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
ul li:hover {
|
|
background-color: #d1d1d1;
|
|
}
|