Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: Aethaeryn/avenue
base: 761a77a16e
...
head fork: Aethaeryn/avenue
compare: 9ec366ed4c
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on May 02, 2012
@Aethaeryn Using Google's font system to provide a consistent experience across …
…platforms and operating systems. Adding some sample text to test the rendering.
c053b97
@Aethaeryn Padding the tags slightly. 9ec366e
View
41 avenue/static/dark-plain.css
@@ -1,13 +1,36 @@
-body { font-family: "DejaVu Sans", "Helvetica", "Arial";
+body { font-family: "Open Sans", sans-serif;
color: #ffffff;
background-color: #000000;
- font-size: 12pt;}
-h1 { font-size:14pt; }
+ font-size: 10pt;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ margin-left: auto;
+ margin-right: auto;
+ width: 955px;
+ }
+
+h1 { font-size:17pt;
+ font-family: "Yanone Kaffeesatz", sans-serif;
+ font-weight: normal;
+ background-color: #00040f;
+ margin: 0px;
+ padding-bottom: 5px;
+ }
+
+p { background-color: #00040f;
+ margin: 0px;
+ padding-bottom: 10px;
+ }
+
+a:link { text-decoration: none;
+ font-weight: bold;
+ color: #ffffff;
+ }
-a:link { text-decoration: none;
- font-weight: bold;
- color: #ffffff }
a:visited { text-decoration: none;
- color: #ffffff }
-a:hover { text-decoration: none;
- color: #aaaaaa }
+ color: #ffffff;
+ }
+
+a:hover { text-decoration: none;
+ color: #aaaaaa;
+ }
View
4 avenue/templates/basic.html
@@ -2,7 +2,9 @@
<html>
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
- <title>Federation</title>
+ <title>{{ title }}</title>
+ <link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:200" rel="stylesheet" type="text/css">
+ <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
<link href="{{ style }}.css" rel="stylesheet" type="text/css" />
{% if head %}
{{ head|safe }}
View
23 avenue/web.py
@@ -10,6 +10,25 @@
def index():
'''Serves the main page of the website.
'''
- words = 'Hello, world!'
+ words = '<h1>Welcome to Avenue</h1><p>Avenue is a new way to run a ' \
+ 'website. Don\'t run many independent web applications that are designed '\
+ ' for their own, isolated ecosystems! Avenue makes your life simple by '\
+ 'providing minimalist content systems that integrate seamlessly into one '\
+ 'Python web application with one database. No content mode is more '\
+ 'privileged than another. With Avenue, you\'re not forced to use an '\
+ 'application for something that it\'s not designed for. You don\'t get a '\
+ 'good user experience if you try to discuss in a wiki application or '\
+ 'blog in a forum application.</p><p>Everything fits together in one '\
+ 'website with a shared theme set and a unified account system. The '\
+ 'entire site just works out of the box without having to hand-modify or '\
+ 'install any plugins to get different apps, intended for different '\
+ 'purposes, to talk to each other. There\'s a consistent user interface, '\
+ 'too. Of course, if you want to extend Avenue, it is designed to handle '\
+ 'that. It should be able to support browser-based HTML 5 games, web '\
+ 'email, and possibly even IRC clients!</p><p>Avenue is convergence for '\
+ 'web apps. Why handle text a dozen different ways if you don\'t have '\
+ 'to?</p>'
- return api.make_page(style='static/dark-plain', body=words)
+ return api.make_page(style='static/dark-plain',
+ body=words,
+ title='Welcome :: Avenue')

No commit comments for this range

Something went wrong with that request. Please try again.