diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-10 22:23:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-10 22:23:24 -0400 |
commit | 1622895cd467f59f25fe375f081aa59693ae4c8f (patch) | |
tree | d9ee2dfe857cc41864529f05d4c45d34a5131b4e /app/assets/stylesheets/main/layout.scss | |
parent | 6bb3f3216ec2fdfa34907ca708535cc879eaf2f5 (diff) | |
download | thoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.tar.gz thoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.tar.bz2 thoughts-1622895cd467f59f25fe375f081aa59693ae4c8f.zip |
Hey it looks like Four Island
Diffstat (limited to 'app/assets/stylesheets/main/layout.scss')
-rw-r--r-- | app/assets/stylesheets/main/layout.scss | 151 |
1 files changed, 106 insertions, 45 deletions
diff --git a/app/assets/stylesheets/main/layout.scss b/app/assets/stylesheets/main/layout.scss index 774ec4c..180d1c7 100644 --- a/app/assets/stylesheets/main/layout.scss +++ b/app/assets/stylesheets/main/layout.scss | |||
@@ -1,51 +1,41 @@ | |||
1 | body#main-body { | 1 | body#main-body { |
2 | background-color: #bfefff; | ||
3 | height: 100%; | 2 | height: 100%; |
4 | font-family: sans-serif; | 3 | font-family: sans-serif; |
5 | } | 4 | } |
6 | 5 | ||
7 | #container { | 6 | #container { |
8 | height: 100%; | 7 | height: 100%; |
9 | margin: 7em auto 2em; | 8 | margin: 10px auto; |
10 | width: 75%; /* 66% */ | 9 | width: 75%; /* 66% */ |
11 | box-sizing: border-box; | 10 | box-sizing: border-box; |
12 | min-width: 890px; | 11 | min-width: 910px; |
13 | display: flex; | ||
14 | flex-direction: row-reverse; | ||
15 | } | ||
16 | |||
17 | @keyframes trottingPonies { | ||
18 | from { background-position-x: 0px; } | ||
19 | to { background-position-x: -1280px; } | ||
20 | } | 12 | } |
21 | 13 | ||
22 | #banner { | 14 | #banner { |
23 | background-image: image-url("walk_cycle.png"); | 15 | background-image: image-url("fourisland_header.png"); |
24 | background-repeat: repeat-x; | 16 | width: 900px; |
25 | animation: trottingPonies 1s steps(16) infinite; | 17 | height: 200px; |
26 | width: 100%; | 18 | |
27 | padding: 1em; | 19 | h1 { |
28 | box-sizing: border-box; | 20 | margin: 0; |
29 | text-indent: -9999px; | 21 | |
30 | height: 80px; | 22 | a { |
31 | margin-bottom: -80px; | 23 | display: block; |
32 | position: relative; | 24 | width: 900px; |
33 | top: -70px; | 25 | height: 200px; |
34 | 26 | text-indent: -5000px; | |
35 | a { | 27 | text-decoration: none; |
36 | display: block; | 28 | margin: 0; |
37 | width: 100%; | 29 | } |
38 | height: 55px; | ||
39 | } | 30 | } |
40 | } | 31 | } |
41 | 32 | ||
33 | #page-body { | ||
34 | display: flex; | ||
35 | } | ||
36 | |||
42 | #main { | 37 | #main { |
43 | background-color: white; | 38 | width: 70%; |
44 | -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
45 | -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
46 | box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
47 | width: 75%; | ||
48 | min-width: 720px | ||
49 | } | 39 | } |
50 | 40 | ||
51 | #content { | 41 | #content { |
@@ -70,10 +60,9 @@ body#main-body { | |||
70 | 60 | ||
71 | #sidebar { | 61 | #sidebar { |
72 | box-sizing: border-box; | 62 | box-sizing: border-box; |
73 | width: 25%; | 63 | width: 30%; |
74 | font-size: .75em; | 64 | font-size: .75em; |
75 | color: black; | 65 | color: black; |
76 | border-left: 1px solid #eee; | ||
77 | margin-top: 1em; | 66 | margin-top: 1em; |
78 | margin-bottom: 2em; | 67 | margin-bottom: 2em; |
79 | font-family: sans-serif; | 68 | font-family: sans-serif; |
@@ -81,21 +70,14 @@ body#main-body { | |||
81 | 70 | ||
82 | #sidebar h2 { | 71 | #sidebar h2 { |
83 | font-size: 1em; | 72 | font-size: 1em; |
84 | margin: 0; | ||
85 | } | 73 | } |
86 | 74 | ||
87 | .sidebar-module { | 75 | .sidebar-module { |
88 | padding: 1em; | 76 | padding: 0 1em; |
89 | margin-top: 1em; | ||
90 | box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.75); | ||
91 | } | ||
92 | |||
93 | .sidebar-module:nth-child(2n+1) { | ||
94 | background-color: #feff8f; | ||
95 | } | ||
96 | 77 | ||
97 | .sidebar-module:nth-child(2n+2) { | 78 | & + .sidebar-module { |
98 | background-color: #8fefab; | 79 | margin-top: 1em; |
80 | } | ||
99 | } | 81 | } |
100 | 82 | ||
101 | .sidebar-module p { | 83 | .sidebar-module p { |
@@ -123,6 +105,85 @@ body#main-body { | |||
123 | color: #352712; | 105 | color: #352712; |
124 | } | 106 | } |
125 | 107 | ||
108 | blockquote.bubble { | ||
109 | margin: 0; | ||
110 | border: 1px solid #c9c2c1; | ||
111 | background-color: #fff; | ||
112 | position: relative; | ||
113 | |||
114 | div { | ||
115 | margin: 10px; | ||
116 | padding: 0; | ||
117 | } | ||
118 | } | ||
119 | |||
120 | .bubble { | ||
121 | width: auto; | ||
122 | margin-bottom: 24px; | ||
123 | padding: 0 1em 1em; | ||
124 | |||
125 | &.rounded { | ||
126 | margin-bottom: 10px; | ||
127 | border: 3px solid #fff; | ||
128 | background-color: #b7e0ff; | ||
129 | border-radius: 10px; | ||
130 | |||
131 | blockquote { | ||
132 | border: 0; | ||
133 | background-color: transparent; | ||
134 | |||
135 | div { | ||
136 | margin: 0 10px; | ||
137 | } | ||
138 | } | ||
139 | } | ||
140 | |||
141 | &.pimped { | ||
142 | color: white; | ||
143 | border: 3px solid white; | ||
144 | background-color: #111; | ||
145 | } | ||
146 | |||
147 | div.bquote blockquote { | ||
148 | margin: 0; | ||
149 | padding: 0; | ||
150 | border: 1px solid #c9c2c1; | ||
151 | background-color: white; | ||
152 | } | ||
153 | } | ||
154 | |||
155 | cite.bubble { | ||
156 | font-style: normal; | ||
157 | position: relative; | ||
158 | margin: 0; | ||
159 | padding: 7px 0px 0px 15px; | ||
160 | } | ||
161 | |||
162 | blockquote.bubble::after { | ||
163 | /* (B1-1) ATTACH TRANSPARENT BORDERS */ | ||
164 | content: ""; | ||
165 | border: 10px solid transparent; | ||
166 | |||
167 | /* (B1-2) NECESSARY TO POSITION THE "TAIL" */ | ||
168 | position: absolute; | ||
169 | } | ||
170 | |||
171 | /* (B2) BOTTOM "CALLOUT TAIL" */ | ||
172 | blockquote.bubble.bottom::after { | ||
173 | /* (B2-1) DOWN TRIANGLE */ | ||
174 | border-top-color: #b7e0ff; | ||
175 | border-bottom: 0; | ||
176 | |||
177 | /* (B2-2) POSITION AT BOTTOM */ | ||
178 | bottom: -10px; | ||
179 | left: 3.5em; | ||
180 | margin-left: -20px; | ||
181 | |||
182 | &.pimped { | ||
183 | border-top-color: black; | ||
184 | } | ||
185 | } | ||
186 | |||
126 | .breadcrumb { | 187 | .breadcrumb { |
127 | margin-left: 1em; | 188 | margin-left: 1em; |
128 | 189 | ||