Skip to content

Commit 8b74166

Browse files
committed
Team display updated.
1 parent 1284bef commit 8b74166

File tree

2 files changed

+43
-9
lines changed

2 files changed

+43
-9
lines changed

css/styles.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,28 @@ li.menu {
182182

183183
div.logo {
184184
float: left;
185+
}
186+
187+
div.info-container {
188+
position: relative;
189+
}
190+
191+
div.info-text {
192+
position: absolute;
193+
bottom: 0;
194+
height: 150;
195+
text-align: center;
196+
color: white;
197+
width: 200px;
198+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
199+
}
200+
201+
div.info-text h3 {
202+
color: white;
203+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
204+
}
205+
206+
img.info-img {
207+
width: 200px;
208+
height: 200px;
185209
}

team/index.html

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,27 @@
44
category: team
55
---
66

7+
<h1>We are a collective, a group of individuals sharing one purpose:</h1>
8+
<p>Produce quality technology software!</p>
9+
<br/>
10+
<h2>Meet the Team:</h2>
11+
<br/>
12+
<br/>
13+
714
{% for post in site.posts %}
815
{% if post.categories contains 'team' %}
9-
<div class="grid_12">
10-
<h2><a href="{{ post.profile }}">{{ post.title }}</a></h2>
11-
<p>
12-
<a href="{{ post.profile }}"><img src="{{ post.picture }}">
13-
{{ post.punchline }}
14-
</a>
15-
</br>
16-
<em>Posted on {{ post.date | date_to_string }}.</em>
17-
</p>
16+
<div class="grid_12 info-container">
17+
<a href="{{ post.profile }}">
18+
<img class="info-img" src="{{ post.picture }}">
19+
<div class="info-text">
20+
<h3>{{ post.title }}</h3>
21+
<p>
22+
{{ post.punchline }}
23+
</br>
24+
<!-- <em>Posted on {{ post.date | date_to_string }}.</em> -->
25+
</p>
26+
</div>
27+
</a>
1828
</div>
1929
{% endif %}
2030
{% endfor %}

0 commit comments

Comments
 (0)