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