discourse/app/assets/stylesheets/application/faqs.css.scss

97 lines
1.6 KiB
SCSS
Raw Normal View History

2013-02-06 03:16:51 +08:00
@import "foundation/variables";
@import "foundation/mixins";
@import "foundation/helpers";
// --------------------------------------------------
// FAQs
// --------------------------------------------------
// Base
// --------------------------------------------------
.body-page {
2013-02-09 17:20:57 +08:00
font-family: Georgia, Times, "Times New Roman", serif;
font-size: 16px;
line-height: 22px;
2013-02-06 03:16:51 +08:00
// Consistent vertical spacing
blockquote,
h1,
h2,
h3,
hr,
p,
pre,
ul,
ol,
li,
2013-02-06 03:16:51 +08:00
table {
margin: 0 0 20px;
2013-02-09 17:20:57 +08:00
font-size: 16px;
line-height: 22px;
2013-02-06 03:16:51 +08:00
}
2013-02-09 19:22:03 +08:00
li {
margin-bottom: 8px;
}
2013-02-06 03:16:51 +08:00
// Lists
ul,
2013-02-09 17:20:57 +08:00
ol {
2013-02-06 03:16:51 +08:00
margin-left: 40px;
}
}
// Content wrapper
// --------------------------------------------------
.body-page {
.container {
@extend .clearfix;
width: 960px;
margin: 0 auto;
padding: 20px 10px;
}
}
// Navigation
// --------------------------------------------------
.body-page {
nav {
width: 280px;
overflow: hidden;
position: fixed;
float: left;
border: 1px solid #b9b9b9;
background-color: #fafafa;
@include border-radius-all(4px);
@include box-shadow(0 1px 0 #fff);
> a {
display: block;
border-top: 1px solid #e6e6e6;
padding: 13px;
font-weight: bold;
font-size: 16px;
line-height: 20px;
text-shadow: 0 1px 0 rgba($white, 0.5);
&:first-child {
border-top: 0;
}
&:hover {
background-color: #eee;
}
&.active {
color: #f15b22;
background-color: #f9e7e0;
cursor: default;
}
}
}
}