github.com/underarmour/terraform@v0.6.7-0.20151214142642-e159649486f4/website/source/assets/stylesheets/_docs.scss (about)

     1  //
     2  // Docs
     3  // --------------------------------------------------
     4  
     5  body.page-sub{
     6  	background-color: $light-black;
     7  }
     8  
     9  body.layout-atlas,
    10  body.layout-aws,
    11  body.layout-azure,
    12  body.layout-cloudflare,
    13  body.layout-cloudstack,
    14  body.layout-consul,
    15  body.layout-digitalocean,
    16  body.layout-dme,
    17  body.layout-dnsimple,
    18  body.layout-docker,
    19  body.layout-google,
    20  body.layout-heroku,
    21  body.layout-mailgun,
    22  body.layout-openstack,
    23  body.layout-packet,
    24  body.layout-rundeck,
    25  body.layout-statuscake,
    26  body.layout-template,
    27  body.layout-tls,
    28  body.layout-vsphere,
    29  body.layout-docs,
    30  body.layout-downloads,
    31  body.layout-inner,
    32  body.layout-intro{
    33  	background: $light-black image-url('sidebar-wire.png') left 62px no-repeat;
    34  
    35  	>.container{
    36  		.col-md-8[role=main]{
    37  			min-height: 800px;
    38  			background-color: white;
    39  
    40  			>div{
    41  				position: relative;
    42  				z-index: 10;
    43  			}
    44  		}
    45  	}
    46  }
    47  
    48  .docs-sidebar{
    49    position: relative;
    50    z-index: 20;
    51    margin-bottom: 30px;
    52  	margin-top: 50px;
    53  	margin-right: 4%;
    54  
    55  	a{
    56  			color: $purple;
    57  	}
    58  
    59  	.docs-sidenav{
    60  		padding-top: 15px;
    61  		padding-bottom: 15px;
    62  
    63  		:last-child{
    64  			border-bottom: none;
    65  		}
    66  
    67  		//all li > a
    68  		li{
    69  			position: relative;
    70  
    71  			> a{
    72  				color: white;
    73  				@include transition( color 0.5s ease );
    74  			}
    75  
    76  			> a:hover,
    77  			> a:focus {
    78  				background-color: transparent !important;
    79  				color: white;
    80  				@include transition( color 0.5s ease );
    81  			}
    82  		}
    83  
    84  
    85  		> li {
    86  			padding: 10px 0;
    87  			margin: 0 30px;
    88  
    89  			>.nav{
    90  				li{
    91  					a{
    92  						color: white;
    93  					}
    94  				}
    95  			}
    96  
    97  			&.active {
    98  				>a{
    99            color: lighten($purple, 4%);
   100  					font-weight: 500;
   101  				}
   102  
   103  				&:before{
   104  					content: '';
   105  					position: absolute;
   106            width: 6px;
   107            height: 8px;
   108            background-color: $purple;
   109            font-weight: 500;
   110            @include skewY(24deg);
   111  					top: 26px;
   112  					left: -10px;
   113  				}
   114  				> a{
   115            -webkit-font-smoothing: antialiased;
   116  				}
   117  
   118  				/*> a:hover,
   119  				> a:focus {
   120  					font-weight: $font-weight-lato-xb;
   121  				}*/
   122  
   123  				.nav {
   124  					display: block;
   125  
   126            li.active a {
   127              color: lighten($purple, 4%);
   128  						font-weight: 500;
   129            }
   130  				}
   131  			}
   132  
   133  			> a {
   134  				text-transform: uppercase;
   135          -webkit-font-smoothing: antialiased;
   136  			}
   137  		}
   138  
   139  		.nav {
   140  			display: none;
   141  			margin-bottom: 15px;
   142  
   143  			> li{
   144  				margin-left: 20px;
   145  
   146  				> a{
   147            -webkit-font-smoothing: antialiased;
   148  					padding: 6px 15px;
   149  				}
   150  			}
   151  		}
   152  
   153          .nav-visible {
   154              display: block;
   155          }
   156  	}
   157  }
   158  
   159  
   160  .bs-docs-section{
   161  	padding-top: 10px;
   162  	padding-left: 3%;
   163  	padding-bottom: 80px;
   164  
   165  	.lead{
   166  		margin-bottom: 48px
   167  	}
   168  
   169  	.doc-sectional{
   170  		margin-bottom: 48px;
   171  	}
   172  
   173  	p, li, .alert {
   174  		font-size: 20px;
   175  		font-family: $font-family-open-sans;
   176  		font-weight: $font-weight-open;
   177      line-height: 1.5em;
   178  		margin: 0 0 18px;
   179      -webkit-font-smoothing: antialiased;
   180  	}
   181  
   182      pre{
   183          margin: 0 0 18px;
   184      }
   185  
   186  	a{
   187  		color: $purple;
   188  		&:hover{
   189  			text-decoration: underline;
   190  		}
   191  	}
   192  
   193      img{
   194          max-width: 650px;
   195          margin-top: 25px;
   196          margin-bottom: 25px;
   197      }
   198  
   199  	h1{
   200  		color: $purple;
   201  		text-transform: uppercase;
   202  		padding-bottom: 24px;
   203      margin-top: 40px;
   204  		margin-bottom: 24px;
   205      border-bottom: 1px solid #eeeeee;
   206      @include lato-light();
   207  	}
   208  
   209  	h2, h3, h4{
   210  		margin-bottom: 16px;
   211  	}
   212  
   213      #graph {
   214          margin-top: 30px;
   215      }
   216  }
   217  
   218  
   219  @media (max-width: 992px) {
   220  	body.layout-docs,
   221  	body.layout-inner,
   222  	body.layout-intro{
   223  		>.container{
   224  			.col-md-8[role=main]{
   225  				min-height: 0;
   226  				&::before {
   227  					border-left: 9999px solid white;
   228  				}
   229  			}
   230  		}
   231  	}
   232  
   233    body.page-sub{
   234      >.container{
   235        background-color: white;
   236      }
   237    }
   238  
   239    .docs-sidebar{
   240      margin-top: 0px;
   241      margin-bottom: 0px;
   242  
   243      .docs-sidenav{
   244        padding-bottom: 0;
   245  
   246        //all li > a
   247        li{
   248          > a{
   249            color: black;
   250            @include transition( color 0.5s ease );
   251          }
   252  
   253          > a:hover,
   254          > a:focus {
   255            color: $purple;
   256            @include transition( color 0.5s ease );
   257          }
   258        }
   259  
   260  
   261        > li {
   262          >.nav{
   263            li{
   264              a{
   265                color: black;
   266  
   267                &:hover{
   268                  color: $purple;
   269                }
   270              }
   271            }
   272          }
   273        }
   274      }
   275    }
   276  
   277    .bs-docs-section{
   278      h1{
   279        padding-top: 24px;
   280        border-top: 1px solid #eeeeee;
   281      }
   282    }
   283  }
   284  
   285  @media (max-width: 480px) {
   286  	.bs-docs-section{
   287          img{
   288              max-width: 450px;
   289          }
   290  
   291  		h1{
   292  			font-size: 32px;
   293  		}
   294  	}
   295  }