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