1
0
mirror of https://github.com/danbee/cv synced 2025-03-04 08:59:12 +00:00

Added subtle gradient. Tweaked colour widths.

This commit is contained in:
Dan Barber 2012-07-29 21:48:26 +01:00
parent 6ee1d0baa1
commit 22b8466f86
2 changed files with 9 additions and 3 deletions

View File

@ -56,7 +56,13 @@ body
font: 100% / 1.4 "museo-sans-1", "museo-sans-2", sans-serif
font-weight: 100
color: #262626
background-color: transparent
background: white
background: -moz-linear-gradient(left, rgba(239,239,239,1) 0%, rgba(255,255,255,1) 35%, rgba(255,255,255,1) 65%, rgba(239,239,239,1) 100%)
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(239,239,239,1)), color-stop(35%,rgba(255,255,255,1)), color-stop(65%,rgba(255,255,255,1)), color-stop(100%,rgba(239,239,239,1)))
background: -webkit-linear-gradient(left, rgba(239,239,239,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,1) 65%,rgba(239,239,239,1) 100%)
background: -o-linear-gradient(left, rgba(239,239,239,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,1) 65%,rgba(239,239,239,1) 100%)
background: -ms-linear-gradient(left, rgba(239,239,239,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,1) 65%,rgba(239,239,239,1) 100%)
background: linear-gradient(to right, rgba(239,239,239,1) 0%,rgba(255,255,255,1) 35%,rgba(255,255,255,1) 65%,rgba(239,239,239,1) 100%)
#stripe
background: #262626

View File

@ -13,5 +13,5 @@ $ ->
offset = 0
for colour in colours
context.fillStyle = colour
context.fillRect(offset, 0, 48, 12)
offset += 48
context.fillRect(offset, 0, 72, 12)
offset += 72