* Add cities

* Add html templates for planned website
This commit is contained in:
Stefan Ritter 2011-05-26 16:05:04 +02:00
parent e913b46ee9
commit 4f6e17f2da
3 changed files with 60 additions and 4 deletions

View File

@ -12,11 +12,21 @@
from random import choice, randint
subgroup = ["medieval", "death", "black", "hard", "progressive", "symphonic", "viking", "pagan", "gangsta", "experimental", "alternative", "minimal", "dark", "synth", "future", "body", "christian", "indian", "chinese", "euro", "happy", "power", "fusion", "free", "speed", "trash", "extreme", "surf", "brit", "emo", "electronic", "neo", "noise", "psychedelic", "post", "conscious", "battle", "east coast", "west coast", "glam", "heavy", "avantgarde", "gothic", "groove", "funk", "nu", "melodic", "celtic", "industrial", "latin", "traditional", "harmonica", "dirty", "gospel", "balkan", "lounge", "rotterdam", "sunshine", "street", "skate", "garage", "horror", "detroit", "ghetto", "acid"]
city = ["rotterdam", "berlin", "detroit", "gothenburg", "san francisco", "london", "rio"]
subgroup = ["medieval", "death", "black", "hard", "progressive", "symphonic", "viking", "pagan", "gangsta", "experimental", "alternative", "minimal", "dark", "synth", "future", "body", "christian", "indian", "chinese", "euro", "happy", "power", "fusion", "free", "speed", "trash", "extreme", "surf", "brit", "emo", "electronic", "neo", "noise", "psychedelic", "post", "conscious", "battle", "east coast", "west coast", "glam", "heavy", "avantgarde", "gothic", "groove", "funk", "nu", "melodic", "celtic", "industrial", "latin", "traditional", "harmonica", "dirty", "gospel", "balkan", "lounge", "sunshine", "street", "skate", "garage", "horror", "ghetto", "acid"]
group = ["core", "metal", "pop", "punk", "country", "rap", "western", "ambient", "techno", "house", "trance", "dance", "beat", "dubstep", "samba", "chiptune", "jazz", "ska", "soul", "aggrotech", "rave", "oi!", "bluegrass", "hip-hop", "grunge", "rockabilly", "industrial", "blues", "humppa", "reggae", "dancehall", "dub", "schranz"]
rand = randint(0, 1)
if rand is 0: print choice(subgroup), choice(subgroup), choice(group)
if rand is 1: print choice(subgroup), choice(group)
rand1 = randint(0, 1)
rand2 = randint(0, 9)
if rand1 is 0:
if rand2 is 9:
print choice(city),
print choice(subgroup), choice(subgroup), choice(group)
if rand1 is 1:
if rand2 is 9:
print choice(city),
print choice(subgroup), choice(group)
# vim: set sw=4 tw=0 ts=4 expandtab:

14
index.html Normal file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="title">Listen to</div>
<div id="genre"><a href="index.html">viking rotterdam trance</a></div>
<div id="impressum">Created by <a href="http://www.thehappy.de/~xeno/">xeno</a> and <a href="http://ghosthacking.net">mxey</a>
</body>
</html>

32
style.css Normal file
View File

@ -0,0 +1,32 @@
* {
margin: 0px;
padding: 0px;
}
body, html {
font-family: sans-serif;
text-align: center;
}
#title {
margin-top: 50px;
font-size: 50px;
}
#genre {
margin-top: 50px;
font-size: 50px;
font-weight: bold;
color: #666;
}
#impressum {
margin-top: 70px;
font-size: 10px;
color: #999;
}
a {
color: #666;
text-decoration: none;
}