Created
February 12, 2014 17:56
-
-
Save airtwo/8960939 to your computer and use it in GitHub Desktop.
Calendar SASS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "library"; | |
@import "reset"; | |
// Global templates | |
%group:after { | |
display: table; | |
clear: both; | |
content: ""; | |
} | |
%container { | |
margin: 0 auto; | |
max-width: 960px; | |
} | |
// Global tags | |
body { | |
font-family: 'Quicksand', sans-serif; | |
} | |
a { | |
color: #800000; | |
} | |
// Everything else | |
div { | |
&.month { | |
h2 { | |
text-align: center; | |
font-weight: bold; | |
font-size: 22px; | |
background-color: #293231; | |
color: #fff; | |
padding: 5px 0px; | |
border-bottom: 2px solid black; | |
} | |
div { | |
&.week { | |
div { | |
&.day { | |
position: relative; | |
font-size: 22px; | |
background-color: #d0c18c; | |
padding: 10px 5px; | |
margin-bottom: 10px; | |
b { | |
background-color: #d11f1a; | |
padding: 5px 7px; | |
border-radius: 50%; | |
color: #fff; | |
} | |
h3 { | |
display: inline-block; | |
position: absolute; | |
right: 0px; | |
color: #1f2524; | |
font-size: 24px; | |
padding-right: 5px; | |
} | |
} | |
div { | |
&.event { | |
background-color: #fff; | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment