Showing
2 changed files
with
20 additions
and
14 deletions
... | ... | @@ -161,29 +161,33 @@ hr { |
161 | 161 | content: ''; |
162 | 162 | } |
163 | 163 | #about .textbox { |
164 | - display: inline-block; | |
165 | 164 | padding: 10px; |
166 | 165 | width: 30%; |
167 | 166 | height: 110px; |
168 | 167 | overflow: hidden; |
168 | + box-shadow: 10px 10px 10px rgba(0,0,0,0.7); | |
169 | +} | |
170 | + | |
171 | +.textbox { | |
172 | + display: inline-block; | |
169 | 173 | border-color: rgba(100,190,12,0.7); |
170 | 174 | background-color: rgba(255,255,255,0.7); |
171 | - box-shadow: 10px 10px 10px rgba(0,0,0,0.7); | |
172 | 175 | } |
173 | 176 | |
174 | -#projects { | |
175 | - position: relative; | |
176 | - width: 100%; | |
177 | - display: block; | |
177 | +.projectspace { | |
178 | + display: inline-block; | |
179 | + width: 35%; | |
180 | +} | |
181 | +.projects { | |
182 | + display: inline-block; | |
183 | + width: 60%; | |
178 | 184 | list-style: none; |
179 | 185 | text-align: justify; |
180 | 186 | } |
181 | -#projects .textbox { | |
182 | - display: inline-block; | |
187 | +.projects .textbox { | |
183 | 188 | padding: 3px; |
184 | - margin-top: 10px; | |
185 | - border-color: rgb(100,190,12); | |
186 | - background-color: rgb(255,255,255); | |
189 | + margin-top: 3px; | |
190 | + background-color: rgba(0,0,0,0); | |
187 | 191 | } |
188 | 192 | |
189 | 193 | .section { | ... | ... |
... | ... | @@ -29,9 +29,11 @@ |
29 | 29 | </p> |
30 | 30 | <% @namespaces.each do |namespace| -%> |
31 | 31 | <hr /> |
32 | - <h3><%= namespace['name'] %></h3> | |
33 | - <p><%= namespace['description'] %></p> | |
34 | - <div id="projects"> | |
32 | + <div class="projectspace"> | |
33 | + <h3><%= namespace['name'] %></h3> | |
34 | + <p><%= namespace['description'] %></p> | |
35 | + </div> | |
36 | + <div class="projects"> | |
35 | 37 | <% @projects.find_all { |project| |
36 | 38 | project.namespace == namespace |
37 | 39 | }.each do |project| -%> | ... | ... |
Please
register
or
login
to post a comment