annotate app/assets/stylesheets/_layout.scss @ 381:bfc5ad3f7dc5

Use rails' builtin jquery instead of external one.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:51:58 +0900
parents 2ad092e60975
children bf9e350f8a2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
1 *, *:before, *:after {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
2 position: relative;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
3 box-sizing: border-box;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
4 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
5
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
6 body, h1, input {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
7 margin: 0px;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
8 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
9
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
10 html, body {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
11 height: 100%;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
12 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
13
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
14 body {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
15 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
16 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
17 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
18
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
19
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
20 header {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
21 flex: none;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
22 background: #eee;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
23 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
24 align-items: center;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
25 justify-content: space-between;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
26 padding: $spacing/2 $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
27
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
28 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
29
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
30 main {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
31 flex: 1 0 auto;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
32 width: 100%;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
33
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
34 display: flex;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
35 flex-direction: column;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
36 padding: $spacing;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
37 }
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
38
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
39 body, button, input {
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
40 font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
41 font-size: 12px;
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents:
diff changeset
42 }