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