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