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