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

157 lines
2.6 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
2010-03-28 06:24:41 +00:00
ul, ol
list-style-position: inside
padding-left: 10px
.selected
font-weight: bold
a
+hover-link
2010-03-30 00:49:13 +00:00
#footer
+column(24)
background: #F5F5F5
border-top: 2px solid #ddd
margin: 1em 0
.legalese
+column(12)
hr
+colruler
.links
+column(12, true)
ul
+no-bullets
a
+hover-link
// 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, &.constant
font-family: Monaco, courier
font-weight: 200
+text-shadow
background-color: #eee
border: 1px solid #aaa
padding: 0.75em
margin-bottom: 0
a.permalink
+hover-link
+link-colors("inherit", "inherit")
2010-03-29 06:06:56 +00:00
.arg[data-default-value]
color: #666
&:before
content: "["
&:after
content: "]"
.source-documentation
background-color: #eee
border: 1px solid #aaa
border-top-width: 0
padding: 0.75em
dl.source-documentation
margin-top: 0
dt
font-weight: bold
float: left
margin-right: 15px
dt:not(:first-child)
margin-top: 1em
a.view-source
float: right
margin: 1.25em
span.color + span.swatch
margin: 0 3px 3px
border: 1px solid #333
width: 1em
height: 1em
+inline-block
2010-01-24 09:34:05 +00:00
.color-snippet
width: 100px
height: 20px
+border-radius(3px)
2010-03-17 15:59:06 +00:00
a.help
font-size: 75%
2010-01-24 09:34:05 +00:00
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)
2010-02-07 21:58:52 +00:00
height: 159px
2010-03-28 06:24:41 +00:00
p code
border: 1px solid #ccc
background-color: #f2f2f2
padding: 2px
body#reference-compass-css3
#border-radius
padding: 2px 8px
+border-radius(0.75em)
#text-shadow
+text-shadow(red)
2010-02-07 21:58:52 +00:00
@import partials/syntax.sass