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