Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
93 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
* { padding:0;margin:0; } | ||
body,html { | ||
background-color:#063940; | ||
font-family: 'Pontano Sans', sans-serif; | ||
} | ||
body > * { | ||
width: 960px; | ||
margin:auto; | ||
padding:30px; | ||
} | ||
body header { | ||
background-color:#8EBDB6; | ||
height:50px; | ||
padding:30px; | ||
} | ||
body header ul { | ||
float:right; | ||
list-style: none; | ||
} | ||
body header ul li { | ||
float:left; | ||
padding-right:20px; | ||
font-size:2em; | ||
} | ||
body header a { | ||
color: #3E838C; | ||
font-variant: small-caps; | ||
} | ||
h1.site_title { | ||
font-family: 'Ruge Boogie', cursive; | ||
font-weight: 400; | ||
font-size: 4em; | ||
float:left; | ||
} | ||
div.content { | ||
background-color: #ECE1C3; | ||
} | ||
div.content a:link { | ||
color: #195E63; | ||
} | ||
div.content a:visited { | ||
color: #8EBDB6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!doctype html> | ||
<head> | ||
<title>{{page_name}}</title> | ||
{% block css %} | ||
<link rel="stylesheet" href="static/style.css" type="text/css" /> | ||
<link href='http://fonts.googleapis.com/css?family=Pontano+Sans|Ruge+Boogie' rel='stylesheet' type='text/css'> | ||
{% endblock %} | ||
</head> | ||
<body> | ||
{%block header %} | ||
<header> | ||
<h1 class="site_title">To Be Named</h1> | ||
<ul id="menu_bar"> | ||
<li class="menu_item"> | ||
<a href="/top" class="menu_link">top</a> | ||
</li> | ||
<li class="menu_item"> | ||
<a href="/new" class="menu_link">new</a> | ||
</li> | ||
</ul> | ||
</header> | ||
{% endblock header %} | ||
<div class="content"> | ||
{% block body %} | ||
|
||
{% endblock %} | ||
</div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,13 @@ | ||
<!doctype html> | ||
<title>{{page_name}}</title> | ||
<header> | ||
<ul id="menu_bar"> | ||
<li class="menu_item"> | ||
<a href="/top" class="menu_link">top</a> | ||
</li> | ||
<li class="menu_item"> | ||
<a href="/new" class="menu_link">new</a> | ||
</li> | ||
</ul> | ||
</header> | ||
<body> | ||
<ul id="stories"> | ||
{% for story in stories %} | ||
<li class="story_entry"> | ||
<a href="{{story.href}}" class="story_link">{{story.title}}</a>   - %nbsp | ||
<a href="{{story.submitter.href}}" class="submitter_link"> | ||
{{story.submitter.name}} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</body> | ||
{% extends "base.html" %} | ||
{% block body %} | ||
<ul id="stories"> | ||
{% for story in stories %} | ||
<li class="story_entry"> | ||
<a href="{{story.href}}" class="story_link">{{story.title}}</a> - | ||
<a href="userid-{{story.user}}" class="submitter_link"> | ||
{{story.user.username}} | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock %} |