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