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