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; 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 {
@ -39,7 +39,7 @@
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 {
@ -55,6 +55,7 @@
h2, h3 { h2, h3 {
color: #bb86fc; color: #bb86fc;
margin: 10px 0; /* Margin between h2 elements */
} }
.month-title { .month-title {
@ -106,8 +107,16 @@
/* Responsive styles */ /* Responsive styles */
@media (max-width: 768px) { @media (max-width: 768px) {
.navbar { .navbar {
flex-direction: column; /* Stack navbar items vertically */ flex-direction: column; /* Stack navbar items vertically on small screens */
padding: 10px; 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 { .calendar-table th, .calendar-table td {
@ -126,6 +135,7 @@
width: 100%; /* Full width */ width: 100%; /* Full width */
} }
} }
</style> </style>
</head> </head>
<body> <body>