compass/doc-src/content/stylesheets/main.sass

119 lines
2.1 KiB
Sass
Raw Normal View History

@import compass/utilities
2010-01-24 09:34:05 +00:00
@import compass/css3
2010-01-21 06:25:44 +00:00
@import blueprint
body
font-family: "Lucida Sans", "Lucida Grande", Lucida, sans-serif
2010-01-23 02:16:47 +00:00
line-height: 1.5
font-size: 13px
2010-01-21 06:25:44 +00:00
// Layout
2010-01-21 06:25:44 +00:00
#container
+pie-clearfix
2010-01-21 06:25:44 +00:00
#main
+column(16, true)
+prepend(8)
2010-01-21 06:25:44 +00:00
#sidebar
+column(8)
2010-01-21 06:25:44 +00:00
+pull(24, true)
background: #F5F5F5
h2
font-size: 16px
ul
padding: 5px
// Typography
blockquote
:font-style italic
hr
:background none
:height 0
:font-size 0
:line-height 0
:border none
:border-top 2px solid #CCC
// Regular data tables
table.datagrid
border-collapse: collapse
th
:background #EEE
td,
th
border: 1px solid #CCC
text-align: left
padding: 5px
cell-spacing: 0
// Reference
body.reference
h3.mixin
background-color: #eee
border: 1px solid #aaa
padding: 0.75em
margin-bottom: 0
a.permalink
+hover-link
+link-colors("inherit", "inherit")
.source-documentation
background-color: #eee
border: 1px solid #aaa
border-top-width: 0
padding: 0.75em
a.view-source
float: right
margin: 1.25em
2010-01-24 09:34:05 +00:00
span.color
border-bottom: 1px dotted #333
.color-snippet
width: 100px
height: 20px
+border-radius(3px)
.tipsy
padding: 5px
font-size: 10px
background-repeat: no-repeat
background-image= image_url("tipsy.gif")
&-north
background-position: top center
&-south
background-position: bottom center
&-east
background-position: right center
&-west
background-position: left center
&-inner
padding: 5px 8px 5px 8px
background-color: black
color: white
max-width: 200px
text-align: center
+border-radius(3px)
table.constants
width: 100%
+alternating-rows-and-columns(#EEE, #bbb, #191919)
+outer-table-borders(1px)
+inner-table-borders(1px)
td, th
padding: 0.25em 0.5em
2010-01-25 00:06:34 +00:00
ol#breadcrumbs
+horizontal-list
+no-bullets
li:after
content: " > "
li.last:after
content: ""
li.last
2010-01-31 18:01:04 +00:00
visibility: hidden
body#home #logo
2010-01-31 18:01:04 +00:00
+replace-text("compass.png", 0px)
height: 159px