Skip to content

Commit 0809802

Browse files
committed
layout with header added
1 parent 8a63d32 commit 0809802

File tree

5 files changed

+47
-3
lines changed

5 files changed

+47
-3
lines changed

_includes/latest_project.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<div class="latest">
2+
3+
<h3>The latest Code52 project is <a href="http://code52.org/samurai.html">Samurai</a></h3>
4+
5+
<div class="description">Samurai a turn-based combat game running on ASP.NET MVC and XNA, with plans to build clients for other platforms in the future. More details <a href="http://code52.org/samurai.html">here</a>.</div>
6+
7+
<div class="details">
8+
9+
<ul>
10+
<li>Fork and contribute on <a href="https://github.com/Code52/Samurai">GitHub</a></li>
11+
<li>Follow the conversation on <a href="https://jabbr.net/">JabbR</a></li>
12+
<li>Track the progress on <a href="https://trello.com/board/samurai/4f1d3d847a38f6221f1d9354">Trello</a></li>
13+
</ul>
14+
15+
</div>
16+
17+
</div>

_layouts/post.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: layout
33
---
4+
45
<div class="entry-container">
56
<div class='entry'>
67
<h1> {{page.title}} </h1>

css/style_2.css

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ li
4444
{
4545
margin-left:10px;
4646
}
47-
.entry li, .idea li
47+
.entry li, .idea li , .latest li
4848
{
4949
margin-left:10px;
5050
list-style-type:circle;
@@ -91,6 +91,28 @@ img
9191
margin-bottom: 5px;
9292
}
9393

94+
.latest
95+
{
96+
border-bottom: 1px solid #13678B;
97+
padding: 10px;
98+
padding-left: 20px;
99+
padding-bottom: 20px;
100+
margin-right: 330px; /*hack*/
101+
margin-top: 10px;
102+
}
103+
104+
.latest h3 { margin-top: 5px; font-size: 1.8em; color: #13678B;}
105+
106+
.latest .description
107+
{
108+
font-family: Segoe UI Light, Segoe WP Light, Segoe UI, Helvetica, sans-serif;
109+
font-weight: bold;
110+
margin-top: 10px;
111+
margin-bottom: 10px;
112+
}
113+
114+
.latest .details { margin: 10px;}
115+
94116
/* min-device-width: 800px instead? */
95117
@media screen and (max-width:900px)
96118
{
@@ -103,8 +125,10 @@ img
103125
#home { display: none; }
104126
#hometext a { display: inline; }
105127
h1 { margin-top: -0px;}
128+
.latest { margin-right:0px; border-top: 1px solid #13678B; margin-top: -20px; margin-bottom: 20px; }
106129
}
107130

108131
#suggest { color: orange; }
109-
#suggest:hover { color:white;
110-
background: orange }
132+
#suggest:hover { color:white; background: orange }
133+
134+

img/logo.png

6.52 KB
Loading

index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ layout : layout
33
title : code52
44
---
55

6+
{% include latest_project.html %}
7+
68
<ul class="ideas">
79
{% for post in site.posts %}
810
<li>

0 commit comments

Comments
 (0)