$theme-name: 'twentythirteen'; @import "mixins/mixins"; /* Base variables */ @import "variables"; /* Customize variables below */ $preview-background: #220E10; $brand-primary: #e05d22; $border-radius: 2px; /* Base common CSS : DON'T CHANGE */ @import "base"; /** CALENDAR NAVIGATION BLOCK (top) **/ @import "partials/twentythirteen_nav"; .calendar-archives.#{$theme-name} { a { text-decoration: none; } /** CALENDAR GRID BLOCK **/ > .archives-years { background-color: #220E10; } // Month and Day, common styles .month, .day { position: relative; display: block; overflow: hidden; float: left; color: #e6402a; background: #3a1c1f; border-bottom: 1px #220E10 solid; border-right: 1px #220E10 solid; border-radius: $border-radius-large; // Month/day with posts &.has-posts { a { display: block; width: 100%; height: 100%; border-bottom: 3px solid #b93207; border-radius: $border-radius-large; color: $text-color; @include gradient-vertical(#e05d22, #d94412); &:hover { @include gradient-vertical(#ed6a31, #e55627); } } } // last month/day of a single line &.last { margin-right: 0 !important; } } // MONTH only styles .month { width: 25%; // 100%(line width) - 3%(margin-right) * 3(last one is 0) / 4(months per line) height: 50px; // Month name inside a month square .month-name { text-transform: capitalize; font-size: 16px; font-weight: 400; display: block; position: absolute; 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: 14.285% !important; height: 25px; 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; border: none; font-size: 85%; color: $text-color; text-transform: uppercase; box-shadow: none; background: none !important; } } // A single line of days .week-row { margin: 0; padding: 0; overflow: hidden; background: #220E10; // line with weekday names &.weekdays { margin-bottom: 3px; } } }