Skip to content

Instantly share code, notes, and snippets.

@royw
Created January 14, 2009 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save royw/46871 to your computer and use it in GitHub Desktop.
Save royw/46871 to your computer and use it in GitHub Desktop.
=week_layout
:margin 0
:padding 0
:width 700px
:border 2px solid #333
:background-color #ddd
ol
li
:list-style none
:list-style-position inside
:font-weight bold
:width 88px
:border 1px solid #999
:float left
:background-color #fff
:padding 5px
:overflow hidden
h3
:padding 0
:margin 0
:color blue
ul
:margin 0
:padding 0
:clear both
li
:list-style normal
:font-weight normal
:background-color #fff
:float none
:border none
:padding 5px 0
:margin 0
:height auto
.sunday
:margin-left 0
.monday
:margin-left 100px
.tuesday
:margin-left 200px
.wednesday
:margin-left 300px
.thursday
:margin-left 400px
.friday
:margin-left 500px
.saturday
:margin-left 600px
li:hover
:overflow visible
ul
:width 150px
:margin-left -38px
:background-color #8cf
:border 1px solid #069
:padding 10px
:z-index 10
:position absolute
li
:height auto
:background-color #8cf
:width 130px
li.hover
ul
:width 150px
:margin-left -38px
:background-color #8cf
:border 1px solid #069
:padding 10px
:z-index 10
:position absolute
li
:height auto
:background-color #8cf
:width 130px
#calendar
:margin-top 2em
:margin-bottom 2em
.month
+week_layout
ol
li
:height 88px
.week
+week_layout
ol
li
:height auto
.clear
:clear both
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment