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