File: D:/HostingSpaces/SBogers10/centrum8a.komma.pro/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: $fontDefault
line-height: 1.6
font-feature-settings: 'lnum'
color: $blue
/*
* Set default settings for all elements
*
* 1. Default selection styling
*
*/
*
::selection /* 2 */
background: $darkblue
color: $light
/**
* 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: $fontDefault
/*
* Set default styling for a button
*
*/
.button
position: relative
z-index: 0
display: inline-block
padding: 12px 20px
background-color: transparent
border: 2px solid $lightblue
text-decoration: none
font-size: 0.8rem
line-height: 1.2
font-weight: semibold()
text-transform: uppercase
color: $blue
border-radius: 500px
overflow: hidden
transition: color 0.4s, background-color 0.4s, border 0.4s
.arrow
position: relative
display: inline-block
width: 10px
transition: transform 0.4s
svg
width: 100%
max-height: 16px
&:hover
color: $light
background-color: $blue
border-color: $blue
&::before
opacity: 1
.arrow
transform: translateX(5px)
&.right
.arrow
top: 1px
transform: rotate(-90deg)
margin-left: 15px
&:hover
.arrow
transform: rotate(-90deg) translateY(5px)
.button--on-dark
color: $light
&:hover
color: $blue
background-color: $light
border-color: $light