From 4f6e17f2dac0f5a4843505a71d506c170f1063a4 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Thu, 26 May 2011 16:05:04 +0200 Subject: [PATCH] * Add cities * Add html templates for planned website --- genregenerator.py | 18 ++++++++++++++---- index.html | 14 ++++++++++++++ style.css | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 index.html create mode 100644 style.css diff --git a/genregenerator.py b/genregenerator.py index d023783..80e1745 100644 --- a/genregenerator.py +++ b/genregenerator.py @@ -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: diff --git a/index.html b/index.html new file mode 100644 index 0000000..c3f29a6 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + + +
Listen to
+
viking rotterdam trance
+
Created by xeno and mxey + + diff --git a/style.css b/style.css new file mode 100644 index 0000000..ad6c8ed --- /dev/null +++ b/style.css @@ -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; +}