about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/main/layout.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/main/layout.scss')
-rw-r--r--app/assets/stylesheets/main/layout.scss48
1 files changed, 30 insertions, 18 deletions
diff --git a/app/assets/stylesheets/main/layout.scss b/app/assets/stylesheets/main/layout.scss index 6d79c73..ef31ada 100644 --- a/app/assets/stylesheets/main/layout.scss +++ b/app/assets/stylesheets/main/layout.scss
@@ -1,42 +1,47 @@
1body#main-body { 1body#main-body {
2 height: 100%; 2 height: 100%;
3 font-family: sans-serif; 3 font-family: sans-serif;
4 font-size: 16px;
4} 5}
5 6
6#container { 7#container {
7 height: 100%; 8 height: 100%;
8 margin: 10px auto;
9 width: 75%; /* 66% */
10 box-sizing: border-box; 9 box-sizing: border-box;
11 min-width: 910px; 10
11 @media only screen and (min-width: 768px) {
12 margin: 10px auto;
13 width: 75%; /* 66% */
14 min-width: 910px;
15 }
12} 16}
13 17
14#banner { 18#banner {
15 background-image: image-url("fourisland_header.png");
16 width: 900px;
17 height: 200px;
18 margin: 0 auto; 19 margin: 0 auto;
19 20
20 h1 { 21 h1 {
21 margin: 0; 22 display: none;
23 }
22 24
23 a { 25 img {
24 display: block; 26 width: 100%;
25 width: 900px; 27 max-width: 900px;
26 height: 200px; 28 display: block;
27 text-indent: -5000px; 29 margin: 0 auto;
28 text-decoration: none;
29 margin: 0;
30 }
31 } 30 }
32} 31}
33 32
34#page-body { 33#page-body {
35 display: flex; 34 display: flex;
35
36 @media only screen and (max-width: 767px) {
37 flex-direction: column-reverse;
38 }
36} 39}
37 40
38#main { 41#main {
39 width: 70%; 42 @media only screen and (min-width: 768px) {
43 width: 70%;
44 }
40} 45}
41 46
42#content { 47#content {
@@ -62,15 +67,22 @@ body#main-body {
62 67
63#sidebar { 68#sidebar {
64 box-sizing: border-box; 69 box-sizing: border-box;
65 width: 30%;
66 font-size: .75em; 70 font-size: .75em;
67 color: black; 71 color: black;
68 margin-top: 1em; 72 margin-top: 1em;
69 margin-bottom: 2em; 73 margin-bottom: 2em;
70 font-family: sans-serif; 74 font-family: sans-serif;
75
76 @media only screen and (max-width: 767px) {
77 width: 100%;
78 }
79
80 @media only screen and (min-width: 768px) {
81 width: 30%;
82 }
71} 83}
72 84
73#sidebar h2 { 85#sidebar h2, #mobile-header h2 {
74 font-size: 1em; 86 font-size: 1em;
75} 87}
76 88