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