fmartingr.com-legacy/_old/fmartingrcom/themes/v1/static/sass/_homepage.sass

104 lines
2.6 KiB
Sass

body
&.homepage
background-color: #fff
background-image: url('/static/images/homepage/bg.png')
background-attachment: fixed
section.content
// http://www.sitepoint.com/css3-shuffled-paper/
.papers
background: #fff
box-shadow: 0 0 10px rgba(0,0,0,0.3)
margin: 30px 0
//max-width: 700px
max-width: 600px
padding: 24px
position: relative
font-size: 110%
width: 80%
.papers:before, .papers:after
content: ""
height: 98%
position: absolute
width: 100%
z-index: -1
.papers:before
background: #fafafa
box-shadow: 0 0 8px rgba(0,0,0,0.2)
left: -5px
top: 4px
@include rotate(-2.5)
.papers:after
background: #f6f6f6
box-shadow: 0 0 3px rgba(0,0,0,0.2)
right: -3px
top: 1px
@include rotate(1.4)
.picture
background-color: white
padding: 8px
padding-bottom: 30px
margin-left: 40px
margin-bottom: 12px
box-shadow: 0 0 3px rgba(0,0,0,0.2)
@include rotate(10)
margin-top: -10px
margin-right: -50px
.img-circle
border-radius: 50%
.social
$button-size: 50px
height: $button-size + 4px
.button
border-radius: 50%
display: inline-block
font-size: 120%
height: $button-size
line-height: $button-size
margin-right: 5px
text-align: center
width: $button-size
&:hover
border-bottom: 0
&.email
background-color: $email-color
color: $email-text-color
box-shadow: 0 0 1px $email-color
&:hover
background-color: darken($email-color, 12%)
&.twitter
background-color: $twitter-color
color: $twitter-text-color
box-shadow: 0 0 1px $twitter-color
&:hover
background-color: darken($twitter-color, 12%)
&.github
background-color: $github-color
color: $github-text-color
box-shadow: 0 0 1px $github-color
&:hover
background-color: darken($github-color, 12%)
&.linkedin
background-color: $linkedin-color
color: $linkedin-text-color
box-shadow: 0 0 1px $linkedin-color
&:hover
background-color: darken($linkedin-color, 12%)