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