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