Showing
2 changed files
with
20 additions
and
14 deletions
@@ -161,29 +161,33 @@ hr { | @@ -161,29 +161,33 @@ hr { | ||
161 | content: ''; | 161 | content: ''; |
162 | } | 162 | } |
163 | #about .textbox { | 163 | #about .textbox { |
164 | - display: inline-block; | ||
165 | padding: 10px; | 164 | padding: 10px; |
166 | width: 30%; | 165 | width: 30%; |
167 | height: 110px; | 166 | height: 110px; |
168 | overflow: hidden; | 167 | overflow: hidden; |
168 | + box-shadow: 10px 10px 10px rgba(0,0,0,0.7); | ||
169 | +} | ||
170 | + | ||
171 | +.textbox { | ||
172 | + display: inline-block; | ||
169 | border-color: rgba(100,190,12,0.7); | 173 | border-color: rgba(100,190,12,0.7); |
170 | background-color: rgba(255,255,255,0.7); | 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 | list-style: none; | 184 | list-style: none; |
179 | text-align: justify; | 185 | text-align: justify; |
180 | } | 186 | } |
181 | -#projects .textbox { | ||
182 | - display: inline-block; | 187 | +.projects .textbox { |
183 | padding: 3px; | 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 | .section { | 193 | .section { |
@@ -29,9 +29,11 @@ | @@ -29,9 +29,11 @@ | ||
29 | </p> | 29 | </p> |
30 | <% @namespaces.each do |namespace| -%> | 30 | <% @namespaces.each do |namespace| -%> |
31 | <hr /> | 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 | <% @projects.find_all { |project| | 37 | <% @projects.find_all { |project| |
36 | project.namespace == namespace | 38 | project.namespace == namespace |
37 | }.each do |project| -%> | 39 | }.each do |project| -%> |
Please
register
or
login
to post a comment