1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-16 22:34:39 -05:00

css stuff

This commit is contained in:
ashley 2024-10-04 16:42:55 +00:00
parent d4c24d7241
commit e4f33378bd

View file

@ -25,8 +25,8 @@
background-color: #333333;
padding: 10px;
display: flex;
flex-direction: column; /* Stack items vertically on small screens */
align-items: center; /* Center items */
align-items: center; /* Center items vertically */
justify-content: space-between; /* Space items evenly */
}
.navbar h1 {
@ -39,7 +39,7 @@
display: flex; /* Use flexbox for alignment */
gap: 20px; /* Space between year elements */
flex-wrap: wrap; /* Allow wrapping on smaller screens */
justify-content: center; /* Center items */
justify-content: center; /* Center items on smaller screens */
}
.container {
@ -55,6 +55,7 @@
h2, h3 {
color: #bb86fc;
margin: 10px 0; /* Margin between h2 elements */
}
.month-title {
@ -106,8 +107,16 @@
/* Responsive styles */
@media (max-width: 768px) {
.navbar {
flex-direction: column; /* Stack navbar items vertically */
padding: 10px;
flex-direction: column; /* Stack navbar items vertically on small screens */
align-items: center; /* Center items horizontally */
}
.container {
width: 100%; /* Full width on small screens */
height: 100vh; /* Full height of the viewport */
border-radius: 0; /* Remove border-radius for full-screen effect */
box-shadow: none; /* Remove shadow for a flatter design */
padding: 10px; /* Adjust padding for mobile */
}
.calendar-table th, .calendar-table td {
@ -126,6 +135,7 @@
width: 100%; /* Full width */
}
}
</style>
</head>
<body>