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