82 lines
1.4 KiB
CSS
82 lines
1.4 KiB
CSS
/* dark_theme.css */
|
|
body {
|
|
background-color: #121212;
|
|
color: white;
|
|
font-family: 'Arial', sans-serif;
|
|
}
|
|
|
|
h1, h2, h3, p {
|
|
color: white;
|
|
}
|
|
|
|
a {
|
|
color: #1e90ff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #00bfff; /* Light blue on hover */
|
|
}
|
|
|
|
button {
|
|
background-color: #444;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #555; /* Lighten the button color on hover */
|
|
animation: shake 0.5s; /* Add shake animation on hover */
|
|
}
|
|
|
|
@keyframes shake {
|
|
0%, 100% {
|
|
transform: translateX(0);
|
|
}
|
|
25% {
|
|
transform: translateX(-3px);
|
|
}
|
|
50% {
|
|
transform: translateX(3px);
|
|
}
|
|
75% {
|
|
transform: translateX(-3px);
|
|
}
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #333;
|
|
padding: 10px;
|
|
}
|
|
|
|
.navbar a {
|
|
color: #1e90ff;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.navbar a:hover {
|
|
background-color: #444;
|
|
color: #00bfff;
|
|
}
|
|
|
|
.card {
|
|
background-color: #1e1e1e;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.card-header {
|
|
color: #1e90ff;
|
|
font-weight: bold;
|
|
}
|