Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added old style

  • Loading branch information...
commit 28e881ceec8060f0e6dabb967f72aa4fb8fde7e6 1 parent c17eea0
@opatut opatut authored
View
BIN  flamejam/static/img/alien.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  flamejam/static/img/external.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  flamejam/static/img/favicon.ico
Binary file not shown
View
BIN  flamejam/static/img/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  flamejam/static/img/find.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
236 flamejam/static/style.css
@@ -0,0 +1,236 @@
+:focus {
+ outline: none;
+}
+
+body {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 9pt;
+ background: #333;
+}
+
+ul {
+ margin: 0;
+ padding: 0;
+ list-style: none none;
+}
+
+a {
+ font-weight: bold;
+ color: #369;
+ text-decoration: none;
+}
+
+a:hover {
+ color: #FF4500;
+}
+
+a.external:after {
+ background: url("/static/img/external.png") right center no-repeat;
+ background-position:0px 0px;
+ margin-left:2px;
+ width:9px;
+ height:9px;
+ display: inline-block;
+ content: " ";
+}
+a.external:hover:after {
+ background-position:-9px 0px;
+}
+
+h1 {
+ font-weight: normal;
+ margin-top:25px;
+ border-bottom: 1px solid #aaa;
+}
+
+h6 {
+ font-size:7pt;
+ color: #666;
+ margin: 0;
+}
+
+p {
+ line-height: 1.7em;
+}
+
+hr {
+ border:0;
+ border-top: 1px solid #aaa;
+}
+
+/* ------------------------------------------------------ */
+
+._announcement {
+ font-weight:bold;
+ font-size: 8pt;
+ color: #333;
+}
+
+._jam {
+ margin: 1em 0;
+ padding: 1em 1em 2em 1em;
+ -moz-box-shadow: inset 0 0 5px #666;
+ -webkit-box-shadow: inset 0 0 5px#666;
+ box-shadow: inner 0 0 5px #666;
+}
+
+/* ------------------------------------------------------ */
+
+
+div#WRAPPER {
+ text-align:justify;
+ width: 900px;
+ margin: 20px auto;
+}
+
+div#HEADER {
+ height: 74px;
+ border-bottom: 2px solid #FFF;
+}
+
+div#HEADER div#ICON {
+ background: url("/static/img/alien.png");
+ width: 46px;
+ height: 72px;
+ display: block;
+ float: left;
+}
+
+div#HEADER div#MINI_SEARCH {
+ float: right;
+}
+
+div#HEADER div#MINI_SEARCH form input#MINI_SEARCH_Q {
+ border: 1px solid #999;
+ border-right: 0;
+ background: #666;
+ border-radius: 5px 0 0 5px;
+ -moz-border-radius: 5px 0 0 5px;
+ color: #ccc;
+ padding: 4px 6px;
+ margin:0;
+ height:26px;
+ vertical-align: top;
+}
+
+div#HEADER div#MINI_SEARCH form input#MINI_SEARCH_S {
+ border: 1px solid #999;
+ background: #ccc url("/static/img/find.png") center center no-repeat;
+ background-position:0px 0px;
+ border-radius: 0 5px 5px 0;
+ -moz-border-radius: 0 5px 5px 0;
+ padding: 4px 6px;
+ margin:0;
+ width:32px;
+ height:26px;
+ vertical-align: top;
+}
+
+
+div#HEADER div#MINI_SEARCH form input#MINI_SEARCH_S:hover {
+ background-position:-30px 0px;
+}
+
+div#HEADER div#MINI_SEARCH form input#MINI_SEARCH_S:active {
+ background-position:-60px 0px;
+}
+
+div#HEADER div#HEADLINE {
+ color: #FFF;
+ margin-left: 70px;
+ height: 58px;
+}
+
+div#HEADER div#HEADLINE h2 {
+ font-size: 8pt;
+ margin: 0;
+ padding: 0;
+}
+
+div#HEADER div#HEADLINE h1 {
+ font-size: 13pt;
+ margin: 4px 0 0 40px;
+ padding: 0;
+ font-weight: bold;
+ border: 0;
+}
+
+div#HEADER div#MENU {
+ color: #FFF;
+ margin-left: 70px;
+}
+
+div#HEADER div#MENU a,
+div#FOOTER div#FOOTER_NAVBAR ul a {
+ color: #FFF;
+}
+
+div#HEADER div#MENU a.current,
+div#FOOTER div#FOOTER_NAVBAR ul a.current {
+ color: #FF4500;
+}
+
+div#HEADER div#MENU a:hover,
+div#FOOTER div#FOOTER_NAVBAR ul a:hover {
+ color: #FF4500;
+}
+
+div#HEADER div#MENU div#NAVBAR ul li {
+ font-size:8pt;
+ display: inline-block;
+ margin-right: 1em;
+}
+
+div#HEADER div#MENU div#LOGIN {
+ float: right;
+}
+
+div#HEADER div#MENU div#LOGIN ul li {
+ font-size:7pt;
+ display: inline-block;
+ margin-left: 1em;
+}
+
+
+
+
+div#CONTENT {
+ background: #FFF;
+ margin-top: 3px;
+ padding: 20px 30px;
+ min-height: 300px;
+ font-size: 8pt;
+}
+
+
+div#FOOTER {
+ margin-top: 3px;
+ border-top: 2px solid #FFF;
+}
+
+div#FOOTER div#FOOTER_NAVBAR {
+ text-align: right;
+}
+
+div#FOOTER div#FOOTER_NAVBAR ul li {
+ font-size:7pt;
+ display: inline-block;
+ margin-left: 1em;
+}
+
+div#FOOTER div#FOOTER_NAVBAR ul li a {
+ color: #FFF;
+}
+
+div#FOOTER div#COPYRIGHT_NOTE {
+ margin-top: 10px;
+ color:#666;
+ text-align: center;
+ font-size:8pt;
+ font-weight: normal;
+}
+
+dl dt {
+ clear: left;
+}
+
View
86 flamejam/templates/base.html
@@ -1,34 +1,68 @@
<!doctype html>
<html>
-
<head>
- <title>Reddit Game Jam - {% block title %}{% endblock %}</title>
- <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
- <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
+ <title>RGJ{% block title %} - You were eaten hardly!{% endblock %}</title>
+ <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
+ <link rel="icon" href="{{ url_for('static', filename='img/favicon.ico') }}" type="image/x-icon">
</head>
-
<body>
- <div id="header">
- <h1>Reddit Game Jam </h1>
- </div>
-
- <div id="content">
- {% if not session.logged_in %}
- <span><a href="{{ url_for('login') }}">Login</a></span>
- <span><a href="{{ url_for('register') }}">Register</a></span>
- {% else %}
- <li><a href="{{ url_for('logout') }}">Logout</a></li>
- {% endif %}
- {% for message in get_flashed_messages() %}
- <div class=flash>{{ message }}</div>
- {% endfor %}
- {% block content %}
- {% endblock %}
- </div>
-
- <div id="footer">
- <span>Copyright 2011 by Sven-Hendrik Haase | Flamejam 0.1</span>
+ <div id="WRAPPER">
+ <div id="HEADER">
+ <div id="ICON">
+ </div>
+ <div id="MINI_SEARCH">
+ <form>
+ <input type="text" id="MINI_SEARCH_Q" name="q" placeholder="Search..."><input type="submit" value="" id="MINI_SEARCH_S">
+ </form>
+ </div>
+ <div id="HEADLINE">
+ <h2>You were eaten by a</h2>
+ <h1>Reddit Game Jam</h1>
+ </div>
+ <div id="MENU">
+ <div id="LOGIN">
+ <ul>
+ {% if session.logged_in %}
+ <li>Logged in as <a href="{{ url_for('show_participant', username = session.username) }}">{{ session.username }}</a></li>
+ <li><a href="{{ url_for('logout') }}">log out</a></li>
+ {% else %}
+ <li><a href="{{ url_for('login') }}">log in</a></li>
+ <li><a href="{{ url_for('register') }}">sign up</a></li>
+ {% endif %}
+ </ul>
+ </div>
+ <div id="NAVBAR">
+ <ul>
+ <li><a href="/" class="current">home</a></li>
+ <li><a href="#">announcements</a></li>
+ <li><a href="#">rulez</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ <div id="CONTENT">
+ <div class="_announcement">
+ Annoucement: <a href="#">Reddit Game Jam 06 annouced</a> :: 2010-05-14
+ 22:00 UTC to 2010-05-16 22:00 UTC :: <a href="#" >Rulez here</a>
+ </div>
+
+ {% block content %}
+ lolfail
+ {% endblock %}
+ </div>
+ <div id="FOOTER">
+ <div id="FOOTER_NAVBAR">
+ <ul>
+ <li><a href="/faq">faq</a></li>
+ <li><a href="/about">about</a></li>
+ <li><a href="{{ url_for('contact') }}">contact</a></li>
+ </ul>
+ </div>
+ <div id="COPYRIGHT_NOTE">
+ This site is not owned or operated by Cond&eacute; Nast
+ Publications or Reddit.com
+ </div>
+ </div>
</div>
</body>
-
</html>
View
7 run.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [[ $VIRTUAL_ENV == "" ]]; then
+ source env/bin/activate
+fi
+
+python runserver.py
Please sign in to comment.
Something went wrong with that request. Please try again.