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