$theme-name: 'twentyfourteenlight'; @import "mixins/mixins"; /* Base variables */ @import "variables"; /* Customize variables below */ $preview-background: #FFFFFF; $brand-primary: #24890d; $border-radius: 0px; /* Base common CSS : DON'T CHANGE */ @import "base"; /** CALENDAR NAVIGATION BLOCK (top) **/ @import "partials/twentyfourteenlight_nav"; .calendar-archives.#{$theme-name} { a { text-decoration: none; } /** CALENDAR GRID BLOCK **/ > .archives-years { background-color: #FFF; } // Month and Day, common styles .month, .day { display: block; color: #777; border-bottom: 1px #FFF solid; border-right: 1px #FFF solid; border-radius: $border-radius; background-color: #f4f4f4; // Month/day with posts &.has-posts { a { display: block; width: 100%; height: 100%; border-radius: $border-radius; color: #FFFFFF; background-color: #000; &:hover { background-color: $brand-primary; } } } // last month/day of a single line &.last { margin-right: 0 !important; border-right: 0 !important; } } // MONTH only styles .month { width: $month-width; // 100%(line width) - 3%(margin-right) * 3(last one is 0) / 4(months per line) height: $month-height; // Month name inside a month square .month-name { position: absolute; display: block; text-transform: capitalize; font-size: 16px; font-weight: 400; top: 6px; left: 8px; } // Contains the "0 posts" text inside a month square .postcount { display: block; position: absolute; right: 6px; bottom: 6px; // Number of posts style .count-number { } // Text "posts" style .count-text { font-size: 9px; } } } // DAY only styles .day { width: $day-width !important; padding: 5px 0; text-align: center; line-height: 100%; // Day with posts &.has-posts { padding: 0; a { padding: 5px 0 !important; text-decoration: none; } } &.noday { border: none; box-shadow: none; background: none !important; } // WEEKDAY style. Has common styles with DAY &.weekday { display: inline-block; font-size: 85%; text-transform: uppercase; font-weight: bold; box-shadow: none; background-color: transparent; } } // A single line of days .week-row { margin: 0; padding: 0; overflow: hidden; // line with weekday names &.weekdays { } } }