view app/assets/stylesheets/_layout.scss @ 384:7ba798dee39d

No need to assign to variable when it can be just chained.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:59:29 +0900
parents 2ad092e60975
children bf9e350f8a2b
line wrap: on
line source

*, *:before, *:after {
  position: relative;
  box-sizing: border-box;
}

body, h1, input {
  margin: 0px;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}


header {
  flex: none;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: $spacing/2 $spacing;

}

main {
  flex: 1 0 auto;
  width: 100%;

  display: flex;
  flex-direction: column;
  padding: $spacing;
}

body, button, input {
  font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 12px;
}