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