diff app/assets/stylesheets/_layout.scss @ 379:2ad092e60975

[mq]: new-design
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:35:12 +0900
parents
children bf9e350f8a2b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/assets/stylesheets/_layout.scss	Sun Jun 07 02:35:12 2015 +0900
@@ -0,0 +1,42 @@
+*, *: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;
+}