compass/doc-src/content/stylesheets/partials/_main.scss

64 lines
1.8 KiB
SCSS
Raw Permalink Normal View History

body.get-involved h1 + p { font-size: 1.2em; line-height: 1.45em; }
2010-11-17 05:03:42 +00:00
#page {
position: relative;
2010-11-23 06:09:18 +00:00
padding-top: 40px;
& > article { padding-top: 10px; font-size: 15px;
img { max-width: 100%; } } }
2010-11-17 05:03:42 +00:00
#theme_pref {
a { display: block; font-size: 18px; width: .9em; position: relative; text-decoration: none; @extend .pictos; } }
2010-11-23 06:09:18 +00:00
#docs_panel {
2010-11-17 05:03:42 +00:00
position: absolute; top: 0; right: 0;
2010-11-23 06:09:18 +00:00
width: 100%;
& > div { float: right; margin-left: 10px; @include round-bottom-corners; border: 1px solid; border-top: 0;}
a { text-decoration: none; }
#theme_pref { padding: 3px 12px 6px; a { position: relative; top: 2px;} }
2010-11-23 21:34:29 +00:00
#version { font-size: .75em; padding: 4px 0 5px; background: none; border: none; position: absolute; left: 0; a { @include hover-link; } }
}
#syntax_pref, .syntax_pref { padding: 4px 8px 5px; a { font-size: .9em; padding: 0px 6px 1px; display: inline-block; line-height: 1.45em;} }
.syntax_pref {
float: left; @include round-top-corners; border: 1px solid; border-bottom: 0;
2010-11-23 21:34:29 +00:00
a { text-decoration: none; }
2010-11-23 06:09:18 +00:00
}
footer {
.links { float: left; font-size: .9em;
img { vertical-align: middle; padding-right: 5px; position: relative; top: -2px;}
2010-12-09 05:02:20 +00:00
span { position: relative; top: -1px; }
ul { @include horizontal-list(15px); overflow: visible;
li { padding-top: 3px; }
li:last-child {border: 0; @include box-shadow(none); } } }
2010-11-23 06:09:18 +00:00
}
2010-12-09 05:02:20 +00:00
#page article h2 {
margin-top: 1.5em;
}
2010-11-23 06:09:18 +00:00
h2 a.help {
text-indent: -9999px;
display: inline-block;
position: relative;
text-decoration: none;
2010-11-23 21:34:29 +00:00
@include opacity(.3);
2010-11-24 23:43:25 +00:00
&:hover { @include opacity(.7); }
2010-11-23 06:09:18 +00:00
&:before {
@extend .pictos;
content: "?";
text-indent: 0;
position: absolute;
top: 2px;
left: 0;
2010-11-23 21:34:29 +00:00
font-size: .85em;
2010-11-23 06:09:18 +00:00
}
2010-12-09 05:02:20 +00:00
}
hr {
height: 0px;
border: 0;
border-bottom-width: 4px;
margin: 3em 0;
background: transparent;
}