packer-cn/website/source/stylesheets/_components.scss

299 lines
5.9 KiB
SCSS
Raw Normal View History

2013-06-24 19:25:42 -04:00
header .header {
height: 200px;
background: #000000;
h1 {
margin-bottom: -8px;
margin-top: 60px;
text-transform: uppercase;
}
span {
font-size: 20px;
}
}
.hero {
2013-06-20 20:46:51 -04:00
height: $hero-height;
background: #000000 url(/images/hero_image.jpg) no-repeat 35px -40px;
2013-06-20 22:00:05 -04:00
background-size: 960px 467px;
2013-06-20 20:46:51 -04:00
h2 {
margin-top: 70px;
2013-06-20 20:46:51 -04:00
}
}
.belt {
2013-06-20 20:46:51 -04:00
&.download {
background-color: $white;
@extend .padded-sm;
}
2013-06-21 03:55:13 -04:00
.download-container {
background: url(/images/down_arrow.png) no-repeat top left;
min-height: 73px;
margin: 0 auto;
padding-left: 100px;
2013-06-20 20:46:51 -04:00
}
h2 {
2013-06-21 03:55:13 -04:00
font-family: $serif;
font-size: 38px;
color: #7bc6b1;
margin: 0px;
padding: 0px;
padding-top: 7px;
padding-bottom: 3px;
2013-06-20 20:46:51 -04:00
line-height: 1.0;
2013-06-21 03:55:13 -04:00
&:hover {
color: $dark-background;
2013-06-20 20:46:51 -04:00
}
}
span {
color: $gray-dark;
}
}
2013-06-24 19:25:42 -04:00
.downloads {
margin-top: 20px;
.description {
margin-bottom: 20px;
}
.download {
border-bottom: 1px solid #b2b2b2;
padding-bottom: 15px;
margin-bottom: 15px;
.details {
padding-left: 95px;
li {
display: inline-block;
&:after {
content: " | ";
}
&:last-child:after {
content: "";
}
}
a {
font-size: 22px;
color: darken($green, 15%);
&:hover {
color: darken($green, 30%);
}
&:active {
color: darken($green, 50%);
}
}
}
.icon {
img {
width: 75px;
}
}
.os-name {
font-size: 40px;
margin-bottom: -3px;
}
}
}
2013-06-24 13:27:27 -04:00
.marketting {
p {
padding-left: 10px;
padding-right: 10px;
text-align: justify;
2013-06-20 20:46:51 -04:00
}
}
.docs-wrapper {
2013-06-20 20:46:51 -04:00
clear: right;
.docs-body {
float: left;
width: 70%;
max-width: 760px;
display: block;
@extend .white-background;
.docs-content {
padding: $docs-top-margin 80px;
display: block;
2013-06-21 19:48:01 -04:00
p code {
font-size: 14px;
}
2013-06-21 02:00:27 -04:00
code {
background-color: #000;
border: 0;
color: #b1d631;
2013-06-21 19:48:01 -04:00
font-size: 12px;
2013-06-21 02:00:27 -04:00
}
a {
color: darken($green, 15%);
&:hover {
color: darken($green, 30%);
}
&:active {
color: darken($green, 50%);
}
}
ul,
ol {
list-style-type: circle;
list-style-position: inside;
margin-top: $baseline;
margin-left: 20px;
margin-right: 20px;
li {
font-family: $serif;
font-size: 17px;
line-height: (30/17) !important;
margin-bottom: $baseline;
}
}
2013-06-21 15:18:29 -04:00
div.alert {
font-family: $serif;
font-size: 17px;
line-height: 1.5;
letter-spacing: 1px;
margin-left: -80px;
margin-right: -80px;
padding-top: 15px;
padding-bottom: 15px;
padding-left: 80px;
padding-right: 80px;
border-radius: 0;
}
pre {
2013-06-21 01:41:43 -04:00
border: 0;
2013-06-21 19:48:01 -04:00
font-size: 12px;
margin-left: -80px;
margin-right: -80px;
padding-top: 40px;
padding-bottom: 40px;
padding-left: 80px;
padding-right: 80px;
border-radius: 0;
2013-06-20 20:46:51 -04:00
}
}
2013-06-20 21:35:02 -04:00
.docs-background {
@extend .white-background;
height: 100%;
width: 70%;
max-width: 760px;
2013-06-20 21:35:02 -04:00
position: fixed;
top: 0;
left: $sidebar-width;
z-index: -9999;
}
2013-06-20 20:46:51 -04:00
section {
margin-top: $docs-top-margin;
}
h1 {
font-size: 40px;
line-height: (25/20);
text-transform: uppercase;
}
h2 {
margin-top: $baseline * 2;
text-transform: capitalize;
}
h3 {
margin-top: $baseline;
text-transform: capitalize;
}
}
}
.pagination {
2013-06-20 20:46:51 -04:00
$border: 1px solid $gray-mid;
height: $nav-height;
border-top: $border;
font-size: 20px;
margin: 0px;
h4 {
display: inline-block;
margin-top: ($baseline * 1.7);
margin-left: $baseline;
@include respond-to(mobile) {
margin-top: 10px;
}
}
span {
@include respond-to(mobile) {
display: block;
}
}
.previous-section,
.next-section {
height: $nav-height;
display: block;
&:hover {
background-color: transparentize($gray-light, .7);
}
}
.previous-section {
width: $nav-height;
border-right: $border;
float: left;
background: $white url(/images/arrow-left.png) no-repeat center center;
@include respond-to(mobile) {
width: 50%;
background-position: left center;
}
}
.next-section {
background: $white url(/images/arrow-right.png) no-repeat center right;
}
}
2013-06-21 23:46:51 -04:00
.people {
margin-top: 30px;
.person {
margin-bottom: 30px;
h3 {
text-transform: none;
}
.bio {
padding-left: 150px;
}
}
}