File: D:/HostingSpaces/bekkers/bekkersengineering.nl/resources/assets/sass/site/_base.sass
/* ==========================================================================
Expend Basic style settings
========================================================================== */
/*
* Set up the html
*
* 1. Makes sue that some fonts are better rendered
*/
html
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
text-rendering: optimizeLegibility
/*
* Set up the body
*
* 1. Set font to lining figures
*/
body
margin: 0
font-family: $fontFamily
line-height: 1.6
font-feature-settings: 'lnum'
/*
* Set default settings for all elements
*
* 1. Default selection styling
*
*/
*
::selection /* 2 */
background: $blue
color: white
/**
* 1.Default display for images is block to lose the extra margin below the image
*/
img
opacity: 1
transition: opacity 0.3s
&.preload
opacity: 0
/*
* Set default styling for input and textarea
*
* 1. Set font because else the agent will overrule them with an ugly font
*/
input, textarea
font-family: $fontFamily
/*
* Set default styling for a button
*
*/
.button
display: inline-block
padding: 15px 25px
background-color: $darkBlue
border: 1px solid transparent
text-decoration: none
font-size: 0.7rem
line-height: 1.2
font-weight: semibold()
color: white
transition: box-shadow 0.4s
&.shadow
box-shadow: 4px 4px 10px 0 rgba(0,0,0,0.2)
.arrow
position: relative
display: inline-block
width: 10px
transform: translate3d(0,0,0)
transition: transform 0.3s
svg
width: 100%
max-height: 16px
path
fill: white
&:hover
box-shadow: 4px 4px 10px 0 rgba(0,0,0,0)
.arrow
transform: translate3d(5px, 0, 0)
&.right
.arrow
top: 1px
transform: rotate(-90deg)
margin-left: 35px
&:hover
.arrow
transform: rotate(-90deg) translate3d(0, 5px, 0)