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