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