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