mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-11 23:55:16 +01:00
79 lines
1.3 KiB
Stylus
79 lines
1.3 KiB
Stylus
//
|
|
// kremalicious3
|
|
// --------------
|
|
// Scaffolding
|
|
//
|
|
|
|
|
|
// Body reset
|
|
/////////////////////////////////////
|
|
|
|
html
|
|
font-size: 62.5%
|
|
-webkit-tap-highlight-color: alpha($link-color, .2)
|
|
|
|
body
|
|
background: $body-bg
|
|
|
|
|
|
// Reset fonts for relevant elements
|
|
/////////////////////////////////////
|
|
|
|
input,
|
|
button,
|
|
select,
|
|
textarea
|
|
font-family: inherit
|
|
font-size: inherit
|
|
line-height: inherit
|
|
|
|
|
|
// topbar and footer as fixed
|
|
// site background
|
|
/////////////////////////////////////
|
|
|
|
.topbar
|
|
height: 71px
|
|
|
|
.menu-open &
|
|
height: auto
|
|
|
|
.document
|
|
background-color: $page-bg
|
|
border-top: 1px solid rgba(255,255,255,.7)
|
|
border-bottom: 1px solid rgba(255,255,255,.7)
|
|
box-shadow: 0 1px 4px alpha($brand-dark, .1), 0 -1px 4px alpha($brand-dark, .2)
|
|
|
|
@media only screen and (min-width: 40.625em) and (min-height: 650px)
|
|
body
|
|
position: relative
|
|
|
|
.document
|
|
@extend .transition
|
|
position: relative
|
|
z-index: 2
|
|
margin-top: 71px
|
|
margin-bottom: 580px
|
|
|
|
.menu-open &
|
|
margin-top: 220px
|
|
|
|
.topbar,
|
|
.footer
|
|
position: fixed
|
|
border: none
|
|
|
|
.topbar
|
|
z-index: 1
|
|
top: 0
|
|
border: none
|
|
|
|
.footer
|
|
z-index: 0
|
|
height: 580px
|
|
bottom: 0
|
|
box-shadow: none
|
|
|
|
.menu-open &
|
|
hide()
|