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