File: D:/HostingSpaces/egovers/edwingovers.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: 10px 25px 15px
background-color: $secondary-500
border: 1px solid transparent
border-radius: 5px
text-decoration: none
font-size: 0.7rem
line-height: 1.2
font-weight: semibold()
color: white
transition: box-shadow 0.4s, background-color 0.4s
&.has-shadow
box-shadow: 4px 4px 10px 0 rgba(0,0,0,0.2)
.arrow
position: relative
display: inline-block
width: 12px
transform: translate3d(0,0,0)
transition: transform 0.3s
svg
width: 100%
max-height: 19px
path
fill: white
&:hover
background-color: $secondary-600
&.has-shadow
box-shadow: 4px 4px 10px 0 rgba(0,0,0,0)
.arrow
transform: translate3d(5px, 0, 0)
&.right
.arrow
top: 3px
transform: rotate(-90deg)
margin-left: 25px
&:hover
.arrow
transform: rotate(-90deg) translate3d(0, 5px, 0)