.template-month {
width: 300px;
background: var( --tg-color-surface-2 );
border-radius: var( --tg-border-radius-medium );
font-size: var( --tg-font-size-small );
font-weight: var( --tg-font-weight-medium );
}
.template-month .tg-event-card {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.tg-event-card-button {
margin: 1rem;
}
/* Reset styles for using in calendar */
.template-month .tg-section-divider {
margin-top: 0.5rem;
margin-bottom: 0;
}
.template-month__grid {
border-bottom: var( --tg-border-base );
padding: 0.5rem;
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
gap: 0.25rem;
}
.template-month__day > a {
display: flex;
color: var( --tg-color-emphasized );
border-radius: var( --tg-border-radius-small );
aspect-ratio: 1;
justify-content: center;
align-items: center;
}
.template-month__day--nextmonth > a {
color: var( --tg-color-subtle );
}
.template-month__day > a.selflink {
background-color: var( --background-color-button-quiet--active );
}
.template-month__day > a:hover {
background-color: var( --background-color-button-quiet--hover );
}
.template-month__day > a:active {
background-color: var( --background-color-button-quiet--active );
}
.template-month__footer {
padding: 0.5rem;
display: grid;
grid-template-columns: repeat(6, 1fr);
}
.template-month__footer .tg-button > a {
padding-left: 0.5rem !important;
padding-right: 0.5rem !important;
}