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