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