github.com/yoctocloud/packer@v0.6.2-0.20160520224004-e11a0a18423f/website/source/assets/stylesheets/_components.scss (about)

     1  header .header {
     2    height: 200px;
     3    background: #000000;
     4  
     5    h1 {
     6      margin-bottom: -8px;
     7      margin-top: 60px;
     8      text-transform: uppercase;
     9    }
    10  
    11    span {
    12      font-size: 20px;
    13    }
    14  }
    15  
    16  .hero {
    17    height: $hero-height + 100px;
    18    background: #000000 image-url('hero_image.jpg') no-repeat;
    19    background-position: 35px -40px;
    20    background-size: 100%;
    21  
    22    h2 {
    23      margin-top: 70px;
    24    }
    25  
    26    @media (max-width: $screen-md-max) {
    27      height: $hero-height;
    28  
    29      h2 {
    30        font-size: 2.1em;
    31      }
    32    }
    33  
    34    @media (max-width: $screen-sm-max) {
    35      height: auto;
    36      background: none;
    37  
    38      h2 {
    39        margin: 0;
    40        padding: 1em;
    41      }
    42    }
    43  }
    44  
    45  .belt {
    46    &.download {
    47      background-color: $white;
    48      @extend .padded-sm;
    49    }
    50  
    51    .download-container {
    52      background: image-url('down_arrow.png') no-repeat top left;
    53      display: inline-block;
    54      min-height: 73px;
    55      margin: 0 auto;
    56      padding-left: 100px;
    57  
    58      @media (max-width: $screen-sm) {
    59        background: none;
    60        font-size: 75%;
    61        min-height: 50px;
    62        padding: 0;
    63      }
    64    }
    65  
    66    .download-row {
    67      text-align: center;
    68  
    69      .small {
    70        text-align: left;
    71      }
    72    }
    73  
    74    h2 {
    75      font-family: $serif;
    76      font-size: 44px;
    77      color: #7bc6b1;
    78      margin: 0px;
    79      padding: 0px;
    80      padding-top: 7px;
    81      padding-bottom: 3px;
    82      line-height: 1.0;
    83      white-space: nowrap;
    84  
    85      &:hover {
    86        color: $dark-background;
    87      }
    88    }
    89  
    90    span {
    91      color: $gray-dark;
    92    }
    93  }
    94  
    95  .downloads {
    96    margin-top: 20px;
    97  
    98    .description {
    99      margin-bottom: 20px;
   100    }
   101  
   102    .download {
   103      border-bottom: 1px solid #b2b2b2;
   104      padding-bottom: 15px;
   105      margin-bottom: 15px;
   106  
   107      .details {
   108        padding-left: 95px;
   109  
   110        li {
   111          display: inline-block;
   112  
   113          &:after {
   114            content: " | ";
   115          }
   116  
   117          &:last-child:after {
   118            content: "";
   119          }
   120        }
   121  
   122        a {
   123          font-size: 22px;
   124          color: darken($green, 15%);
   125  
   126          &:hover {
   127            color: darken($green, 30%);
   128          }
   129  
   130          &:active {
   131            color: darken($green, 50%);
   132          }
   133        }
   134      }
   135  
   136      .icon {
   137        img {
   138          width: 75px;
   139        }
   140      }
   141  
   142      .os-name {
   143        font-size: 40px;
   144        margin-bottom: -3px;
   145      }
   146    }
   147  
   148    .poweredby {
   149      margin-top: 20px;
   150      margin-bottom: 20px;
   151  
   152      img {
   153        display: block;
   154        margin: 0 auto;
   155        width: 122px;
   156      }
   157    }
   158  }
   159  
   160  .marketting {
   161    p {
   162      padding-left: 10px;
   163      padding-right: 10px;
   164      text-align: justify;
   165    }
   166  }
   167  
   168  .docs-wrapper {
   169    .docs-body {
   170      max-width: 960px;
   171      @extend .white-background;
   172  
   173      .docs-content {
   174        flex-direction: column;
   175        padding: $docs-top-margin 120px 150px;
   176        display: block;
   177  
   178        code {
   179          background-color: #000;
   180          border: 0;
   181          color: #b1d631;
   182          font-size: 14px;
   183        }
   184  
   185        a {
   186          color: darken($green, 15%);
   187  
   188          &:hover {
   189            color: darken($green, 30%);
   190          }
   191  
   192          &:active {
   193            color: darken($green, 50%);
   194          }
   195        }
   196  
   197        ul, ol {
   198          list-style-position: inside;
   199          margin-top: $baseline;
   200          margin-left: 20px;
   201          margin-right: 20px;
   202  
   203          li {
   204            font-family: $serif;
   205            font-size: 17px;
   206            line-height: (30/17) !important;
   207            margin-bottom: $baseline;
   208          }
   209        }
   210  
   211        ul {
   212          list-style-type: circle;
   213        }
   214  
   215        ol {
   216          list-style-type: decimal;
   217        }
   218  
   219        div.alert {
   220          font-family: $serif;
   221          font-size: 17px;
   222          line-height: 1.5;
   223          letter-spacing: 1px;
   224          margin-left: -135px;
   225          margin-right: -135px;
   226          padding-top: 40px;
   227          padding-bottom: 40px;
   228          padding-left: 80px;
   229          padding-right: 80px;
   230          border-radius: 0;
   231        }
   232  
   233        pre {
   234          border: 0;
   235          font-size: 14px;
   236          margin-left: -135px;
   237          margin-right: -135px;
   238          padding-top: 40px;
   239          padding-bottom: 40px;
   240          padding-left: 135px;
   241          padding-right: 135px;
   242          border-radius: 0;
   243        }
   244      }
   245  
   246      section {
   247        margin-top: $docs-top-margin;
   248      }
   249  
   250      h1 {
   251        font-size: 40px;
   252        line-height: (25/20);
   253        text-transform: uppercase;
   254      }
   255  
   256      h2 {
   257        margin-top: $baseline * 2;
   258        text-transform: capitalize;
   259      }
   260  
   261      h3 {
   262        margin-top: $baseline;
   263        text-transform: capitalize;
   264        font-size: 26px;
   265      }
   266    }
   267  }
   268  
   269  .pagination {
   270    position: absolute;
   271    width: 100%;
   272    bottom: 1px;
   273    $border: 1px solid $gray-mid;
   274    height: $nav-height;
   275    border-top: $border;
   276    font-size: 20px;
   277    margin: 0 -15px 0 -15px;
   278    display: block;
   279  
   280    h4 {
   281      display: inline-block;
   282      margin-top: ($baseline * 1.7);
   283      margin-left: $baseline;
   284  
   285      @include respond-to(mobile) {
   286        margin-top: 10px;
   287      }
   288    }
   289  
   290    span {
   291      @include respond-to(mobile) {
   292        display: block;
   293      }
   294    }
   295  
   296    .previous-section,
   297    .next-section {
   298      height: $nav-height;
   299      display: block;
   300  
   301      &:hover {
   302        background-color: transparentize($gray-light, .7);
   303      }
   304    }
   305  
   306    .previous-section {
   307      width: $nav-height;
   308      border-right: $border;
   309      float: left;
   310      background: $white image-url('arrow-left.png') no-repeat center center;
   311      @include respond-to(mobile) {
   312        width: 50%;
   313        background-position: left center;
   314      }
   315    }
   316  
   317    .next-section {
   318      background: $white image-url('arrow-right.png') no-repeat center right;
   319    }
   320  }
   321  
   322  .people {
   323    margin-top: 30px;
   324  
   325    .person {
   326      margin-bottom: 30px;
   327  
   328      img {
   329          width: 125px;
   330      }
   331  
   332      h3 {
   333        text-transform: none;
   334      }
   335  
   336      .bio {
   337        padding-left: 150px;
   338      }
   339    }
   340  }
   341  
   342  @media (max-width:768px){
   343    .docs-wrapper {
   344      .docs-body {
   345        .docs-content {
   346          div.alert {
   347            margin-left: -15px;
   348            margin-right: -15px;
   349          }
   350  
   351          pre {
   352            margin-left: -15px;
   353            margin-right: -15px;
   354          }
   355        }
   356      }
   357    }
   358  }