annotate app/assets/stylesheets/_layout.scss @ 389:433bc70e1781

Style up Pastes#show a bit.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 13:05:31 +0900
parents bf9e350f8a2b
children 91dabc034389
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 {
389
433bc70e1781 Style up Pastes#show a bit.
nanaya <me@myconan.net>
parents: 386
diff changeset
31 flex: 1;
379
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 }
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
43
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
44 .alert {
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
45 flex: none;
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 379
diff changeset
46 }