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

365 lines
5.8 KiB
SCSS
Raw Normal View History

2013-06-24 19:25:42 -04:00
header .header {
2014-10-20 13:55:50 -04:00
height: 200px;
background: #000000;
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
h1 {
margin-bottom: -8px;
margin-top: 60px;
text-transform: uppercase;
}
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
span {
font-size: 20px;
}
2013-06-24 19:25:42 -04:00
}
.hero {
2014-10-20 13:55:50 -04:00
height: $hero-height + 100px;
background: #000000 image-url('hero_image.jpg') no-repeat;
background-position: 35px -40px;
background-size: 100%;
h2 {
margin-top: 70px;
}
@media (max-width: $screen-md-max) {
2013-06-20 20:46:51 -04:00
height: $hero-height;
h2 {
2014-10-20 13:55:50 -04:00
font-size: 2.1em;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
2014-10-20 13:55:50 -04:00
@media (max-width: $screen-sm-max) {
height: auto;
background: none;
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
h2 {
margin: 0;
padding: 1em;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
.belt {
&.download {
background-color: $white;
@extend .padded-sm;
}
.download-container {
background: image-url('down_arrow.png') no-repeat top left;
display: inline-block;
min-height: 73px;
margin: 0 auto;
padding-left: 100px;
@media (max-width: $screen-sm) {
background: none;
font-size: 75%;
min-height: 50px;
padding: 0;
}
2014-10-20 13:55:50 -04:00
}
2014-10-20 13:55:50 -04:00
.download-row {
text-align: center;
2013-06-21 03:55:13 -04:00
2014-10-20 13:55:50 -04:00
.small {
text-align: left;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
h2 {
font-family: $serif;
font-size: 44px;
color: #7bc6b1;
margin: 0px;
padding: 0px;
padding-top: 7px;
padding-bottom: 3px;
line-height: 1.0;
white-space: nowrap;
&:hover {
color: $dark-background;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
span {
color: $gray-dark;
}
}
2013-06-24 19:25:42 -04:00
.downloads {
2014-10-20 13:55:50 -04:00
margin-top: 20px;
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
.description {
margin-bottom: 20px;
}
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
.download {
border-bottom: 1px solid #b2b2b2;
padding-bottom: 15px;
margin-bottom: 15px;
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
.details {
padding-left: 95px;
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
li {
display: inline-block;
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
&:after {
content: " | ";
}
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
&:last-child:after {
content: "";
}
}
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
a {
font-size: 22px;
color: darken($green, 15%);
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
&:hover {
color: darken($green, 30%);
2013-06-24 19:25:42 -04:00
}
2014-10-20 13:55:50 -04:00
&:active {
color: darken($green, 50%);
2013-06-24 19:25:42 -04:00
}
2014-10-20 13:55:50 -04:00
}
}
2013-06-24 19:25:42 -04:00
2014-10-20 13:55:50 -04:00
.icon {
img {
width: 75px;
}
}
.os-name {
font-size: 40px;
margin-bottom: -3px;
2013-06-24 19:25:42 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-07-18 10:48:52 -04:00
2014-10-20 13:55:50 -04:00
.poweredby {
margin-top: 20px;
margin-bottom: 20px;
2013-07-18 10:48:52 -04:00
2014-10-20 13:55:50 -04:00
img {
display: block;
margin: 0 auto;
width: 122px;
2013-07-18 10:48:52 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-06-24 19:25:42 -04:00
}
2013-06-24 13:27:27 -04:00
.marketting {
2014-10-20 13:55:50 -04:00
p {
padding-left: 10px;
padding-right: 10px;
text-align: justify;
}
}
.docs-wrapper {
2014-10-20 13:55:50 -04:00
.docs-body {
max-width: 960px;
2014-10-20 13:55:50 -04:00
@extend .white-background;
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
.docs-content {
2015-11-10 05:02:08 -05:00
flex-direction: column;
2015-11-10 16:35:38 -05:00
padding: $docs-top-margin 120px 150px;
2014-10-20 13:55:50 -04:00
display: block;
2013-06-20 21:35:02 -04:00
2014-10-20 13:55:50 -04:00
code {
background-color: #000;
border: 0;
color: #b1d631;
font-size: 14px;
2016-10-19 16:56:22 -04:00
font-weight: normal;
font-family: $mono;
text-shadow: 0 0 0;
2014-10-20 13:55:50 -04:00
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
a {
color: darken($green, 15%);
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
&:hover {
color: darken($green, 30%);
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
&:active {
color: darken($green, 50%);
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
2017-01-04 17:56:50 -05:00
ul, ol {
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;
p {
display: inline;
2014-10-20 13:55:50 -04:00
}
}
2017-01-04 17:56:50 -05:00
}
2014-10-20 13:55:50 -04:00
ul {
list-style-type: circle;
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
ol {
list-style-type: decimal;
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
div.alert {
font-family: $serif;
font-size: 17px;
line-height: 1.5;
letter-spacing: 1px;
2015-11-10 15:25:43 -05:00
margin-left: -135px;
margin-right: -135px;
2014-10-20 13:55:50 -04:00
padding-top: 40px;
padding-bottom: 40px;
padding-left: 80px;
padding-right: 80px;
border-radius: 0;
}
pre {
border: 0;
font-size: 14px;
2015-11-10 15:25:43 -05:00
margin-left: -135px;
margin-right: -135px;
2014-10-20 13:55:50 -04:00
padding-top: 40px;
padding-bottom: 40px;
2016-03-11 20:29:25 -05:00
padding-left: 135px;
padding-right: 135px;
2014-10-20 13:55:50 -04:00
border-radius: 0;
}
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
section {
margin-top: $docs-top-margin;
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
h1 {
font-size: 40px;
line-height: (25/20);
text-transform: uppercase;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
h2 {
margin-top: $baseline * 2;
text-transform: capitalize;
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
h3 {
margin-top: $baseline;
text-transform: capitalize;
font-size: 26px;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
.pagination {
2015-11-10 16:35:38 -05:00
position: absolute;
width: 100%;
bottom: 1px;
2014-10-20 13:55:50 -04:00
$border: 1px solid $gray-mid;
height: $nav-height;
border-top: $border;
font-size: 20px;
2015-11-10 05:02:08 -05:00
margin: 0 -15px 0 -15px;
2014-10-20 13:55:50 -04:00
display: block;
h4 {
display: inline-block;
margin-top: ($baseline * 1.7);
margin-left: $baseline;
@include respond-to(mobile) {
margin-top: 10px;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-06-20 20:46:51 -04:00
2014-10-20 13:55:50 -04:00
span {
@include respond-to(mobile) {
display: block;
2013-06-20 20:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
.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 image-url('arrow-left.png') no-repeat center center;
@include respond-to(mobile) {
width: 50%;
background-position: left center;
}
}
.next-section {
background: $white image-url('arrow-right.png') no-repeat center right;
}
}
2013-06-21 23:46:51 -04:00
.people {
2014-10-20 13:55:50 -04:00
margin-top: 30px;
2013-06-21 23:46:51 -04:00
2014-10-20 13:55:50 -04:00
.person {
margin-bottom: 30px;
2013-06-21 23:46:51 -04:00
img {
width: 125px;
}
2014-10-20 13:55:50 -04:00
h3 {
text-transform: none;
}
2013-06-21 23:46:51 -04:00
2014-10-20 13:55:50 -04:00
.bio {
padding-left: 150px;
2013-06-21 23:46:51 -04:00
}
2014-10-20 13:55:50 -04:00
}
2013-06-21 23:46:51 -04:00
}
2015-11-10 15:25:43 -05:00
@media (max-width:768px){
.docs-wrapper {
.docs-body {
.docs-content {
div.alert {
margin-left: -15px;
margin-right: -15px;
}
pre {
margin-left: -15px;
margin-right: -15px;
}
}
}
}
}