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