${layout.format_date(occurrence.localized_start, 'date')}
diff --git a/onegov/town/theme/styles/town.scss b/onegov/town/theme/styles/town.scss
index 257a75b..536b777 100644
--- a/onegov/town/theme/styles/town.scss
+++ b/onegov/town/theme/styles/town.scss
@@ -2033,6 +2033,44 @@ button {
}
}
+/*
+ A box rendering the following structure as a calendar-like box:
+
+
+ Wednesday
+ 11
+ March
+
+*/
+.calendar-day-box {
+ padding: .5em 0;
+ width: 100%;
+
+ @media #{$small-up} {
+ font-weight: bold;
+ }
+
+ @media #{$large-up} {
+ background-color: $white-smoke;
+ font-weight: normal;
+
+ span {
+ display: block;
+ font-size: 1rem;
+ text-align: center;
+
+ &.dot {
+ display: none;
+ }
+
+ &.day {
+ font-size: 3rem;
+ font-weight: bold;
+ }
+ }
+ }
+}
+
/*
Events
*/
@@ -2066,32 +2104,6 @@ button {
}
}
-.occurrences-day-date {
- padding: .5em 0;
- width: 100%;
-
- &.active {
- background-color: $white-smoke;
- }
-
- @media #{$large-up} {
- span {
- display: block;
- font-size: 1rem;
- text-align: center;
-
- &.day {
- font-size: 3rem;
- font-weight: bold;
- }
-
- &.dot {
- display: none;
- }
- }
- }
-}
-
.occurrences-filter-result {
margin-bottom: 1em;