.month { padding: 70px 25px; width: 100%; margin-top: 40px; background: var(--mediumpurple); text-align: center; border-radius: 10px; } .cal-entry{ border-color: var(--text-primary); border-radius: 10px; border-width: 2px; border-style: dotted; } .entry-body{ padding: 2vw 4vw; } .entry-header{ background-color: var(--darkerbeige); padding: 15px; border-bottom-color: var(--text-primary); border-bottom-width: 1px; border-bottom-style: solid; } .month ul { margin: 0; padding: 0; } .month ul li { color: white !important; font-size: 20px; text-transform: uppercase; letter-spacing: 3px; list-style: none; } .prev a, .next a{ color: white !important; } .month .prev { float: left; padding-top: 10px; } .month .next { float: right; padding-top: 10px; } .weekdays { border-radius: 10px; margin: 0; padding: 10px 0; background-color: #ddd; } .weekdays li { display: inline-block; width: 13.6%; color: #666; text-align: center; } .days { border-radius: 10px; padding: 10px 0; background: #eee; margin: 0; } .days li { list-style-type: none; display: inline-block; width: 13.6%; text-align: center; margin-bottom: 5px; font-size:12px; color: #777; } .days li .active { padding: 5px; background: #1abc9c; color: white !important } /* Add media queries for smaller screens */ @media screen and (max-width:720px) { .weekdays li, .days li {width: 13.1%;} } @media screen and (max-width: 420px) { .weekdays li, .days li {width: 12.5%;} .days li .active {padding: 2px;} } @media screen and (max-width: 290px) { .weekdays li, .days li {width: 12.2%;} }