Skip to content

Commit 40a1c89

Browse files
committed
made category buttons instead of link text
1 parent eb2da7a commit 40a1c89

File tree

2 files changed

+25
-18
lines changed

2 files changed

+25
-18
lines changed

app/theme/static/css/csesoc.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -835,9 +835,6 @@ height: 4em;
835835
color: white;
836836
}
837837

838-
.category-text:hover {
839-
color: #D1D1D1;
840-
}
841838
/*.sticky {
842839
position: absolute;
843840
width: 100%;

app/theme/templates/blog/blog_post_list.html

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,31 @@ <h3>Categories</h3>
3434
{% endfor %}
3535
{% endif %}
3636
{% endwith %} -->
37-
<div class="category News-link" >
38-
<a href="/blog/category/news/" class="category-text">News</a>
39-
</div>
40-
<div class="category Social-link">
41-
<a href="/blog/category/social/" class="category-text">Social</a>
42-
</div>
43-
<div class="category Careers-link">
44-
<a href="/blog/category/careers/" class="category-text">Careers</a>
45-
</div>
46-
<div class="category Tech-link">
47-
<a href="/blog/category/tech/" class="category-text">Tech</a>
48-
</div>
49-
<div class="category Beta-link">
50-
<a href="/blog/category/beta/" class="category-text">Beta</a>
51-
</div>
37+
<a href="/blog/category/news/">
38+
<div class="category News-link" >
39+
<span class="category-text">News</span>
40+
</div>
41+
</a>
42+
<a href="/blog/category/social/">
43+
<div class="category Social-link">
44+
<span class="category-text">Social</span>
45+
</div>
46+
</a>
47+
<a href="/blog/category/careers/">
48+
<div class="category Careers-link">
49+
<span class="category-text">Careers</span>
50+
</div>
51+
</a>
52+
<a href="/blog/category/tech/">
53+
<div class="category Tech-link">
54+
<span class="category-text">Tech</span>
55+
</div>
56+
</span>
57+
<a href="/blog/category/beta/">
58+
<div class="category Beta-link">
59+
<span class="category-text">Beta</span>
60+
</div>
61+
</span>
5262
</div>
5363
</div>
5464
{% endblock %}

0 commit comments

Comments
 (0)