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