compass/doc-src/content/stylesheets/_reference.scss

73 lines
1.7 KiB
SCSS
Raw Normal View History

// Reference
body.reference {
h3 {
&.mixin, &.constant {
font-family: Monaco, courier;
font-weight: 200;
@include text-shadow;
background-color: #eeeeee;
border: 1px solid #aaaaaa;
padding: 0.75em;
margin-bottom: 0;
a.permalink {
@include hover-link;
@include link-colors(inherit, inherit); } }
.arg[data-default-value] {
color: #666666;
&:before {
content: "["; }
&:after {
content: "]"; } } }
.source-documentation {
background-color: #eeeeee;
border: 1px solid #aaaaaa;
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; } }
2010-04-25 09:55:23 +00:00
span.view-source {
float: right;
margin: 1em;
2010-04-25 09:55:23 +00:00
}
span.color + span.swatch { margin: 0 3px 3px; border: 1px solid #333333; width: 1em; height: 1em; @include inline-block; }
.color-snippet { width: 100px; height: 20px; @include border-radius(3px); }
a.help { font-size: 75%; }
2010-04-25 09:55:23 +00:00
.mixin-source {
pre {
@include box-sizing(border-box);
2010-04-25 09:55:23 +00:00
display: none;
2010-04-26 05:39:38 +00:00
overflow-x: auto;
width: 100%;
padding: $base-rhythm-unit;
2010-04-25 09:55:23 +00:00
}
pre:target {
2010-04-25 09:55:23 +00:00
display: block;
}
}
2010-04-24 17:03:34 +00:00
}
body.docs {
p code, pre {
@include code-text;
border: 1px solid #ccc;
padding: 2px;
background-color: #e7e7e7;
}
}
table.constants {
width: 100%;
@include alternating-rows-and-columns(#eeeeee, #bbbbbb, #191919);
@include outer-table-borders(1px);
@include inner-table-borders(1px);
td, th {
padding: 0.25em 0.5em; } }