mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-15 04:48:42 +01:00
css stuff
This commit is contained in:
parent
d4c24d7241
commit
e4f33378bd
1 changed files with 104 additions and 94 deletions
|
@ -19,30 +19,30 @@
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column; /* Stack items vertically on small screens */
|
align-items: center; /* Center items vertically */
|
||||||
align-items: center; /* Center items */
|
justify-content: space-between; /* Space items evenly */
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar h1 {
|
.navbar h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #bb86fc;
|
color: #bb86fc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar .years {
|
.navbar .years {
|
||||||
color: #bb86fc; /* Year text color */
|
color: #bb86fc; /* Year text color */
|
||||||
display: flex; /* Use flexbox for alignment */
|
display: flex; /* Use flexbox for alignment */
|
||||||
gap: 20px; /* Space between year elements */
|
gap: 20px; /* Space between year elements */
|
||||||
flex-wrap: wrap; /* Allow wrapping on smaller screens */
|
flex-wrap: wrap; /* Allow wrapping on smaller screens */
|
||||||
justify-content: center; /* Center items */
|
justify-content: center; /* Center items on smaller screens */
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background-color: #1e1e1e;
|
background-color: #1e1e1e;
|
||||||
|
@ -51,45 +51,46 @@
|
||||||
width: 90%;
|
width: 90%;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3 {
|
h2, h3 {
|
||||||
color: #bb86fc;
|
color: #bb86fc;
|
||||||
}
|
margin: 10px 0; /* Margin between h2 elements */
|
||||||
|
}
|
||||||
|
|
||||||
.month-title {
|
.month-title {
|
||||||
font-size: 1.5em; /* Adjust the size as needed */
|
font-size: 1.5em; /* Adjust the size as needed */
|
||||||
margin: 20px 0; /* Spacing above and below */
|
margin: 20px 0; /* Spacing above and below */
|
||||||
color: #bb86fc; /* Month title color */
|
color: #bb86fc; /* Month title color */
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table {
|
.calendar-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th, .calendar-table td {
|
.calendar-table th, .calendar-table td {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border: 1px solid #333333;
|
border: 1px solid #333333;
|
||||||
font-size: 0.9em; /* Smaller font size for better fit */
|
font-size: 0.9em; /* Smaller font size for better fit */
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th {
|
.calendar-table th {
|
||||||
background-color: #333333;
|
background-color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table td {
|
.calendar-table td {
|
||||||
background-color: #2c2c2c;
|
background-color: #2c2c2c;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #bb86fc;
|
background-color: #bb86fc;
|
||||||
|
@ -97,17 +98,25 @@
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button:hover {
|
.button:hover {
|
||||||
background-color: #9c62f3;
|
background-color: #9c62f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive styles */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.navbar {
|
||||||
|
flex-direction: column; /* Stack navbar items vertically on small screens */
|
||||||
|
align-items: center; /* Center items horizontally */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Responsive styles */
|
.container {
|
||||||
@media (max-width: 768px) {
|
width: 100%; /* Full width on small screens */
|
||||||
.navbar {
|
height: 100vh; /* Full height of the viewport */
|
||||||
flex-direction: column; /* Stack navbar items vertically */
|
border-radius: 0; /* Remove border-radius for full-screen effect */
|
||||||
padding: 10px;
|
box-shadow: none; /* Remove shadow for a flatter design */
|
||||||
|
padding: 10px; /* Adjust padding for mobile */
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th, .calendar-table td {
|
.calendar-table th, .calendar-table td {
|
||||||
|
@ -125,7 +134,8 @@
|
||||||
display: block; /* Stack buttons vertically */
|
display: block; /* Stack buttons vertically */
|
||||||
width: 100%; /* Full width */
|
width: 100%; /* Full width */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in a new issue