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