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