adding styling on art, made title home link

This commit is contained in:
aj 2019-03-02 17:19:59 +00:00
parent eb3adc740d
commit fd82ede36d
4 changed files with 7 additions and 9 deletions

View File

@ -9,8 +9,7 @@
<div class="col-pad-3 card"> <div class="col-pad-3 card">
<h1>{{ tag.name }}</h1> <h1>{{ tag.name }}</h1>
<img src="{{ staticroot }}art/{{ tag.splash.file_name }}.jpg" alt="{{ tag.splash.file_name }}"> <img src="{{ staticroot }}art/{{ tag.splash.file_name }}.jpg" alt="{{ tag.splash.file_name }}">
{% if tag.description %}<p>{{ tag.description }}{{ tag.image }}</p>{% endif %}
<p>{{ tag.description }}{{ tag.image }}</p>
<a href="/{{ urlprefix }}/{{ tag.doc_name }}" style="width:100%;" class="button">view</a> <a href="/{{ urlprefix }}/{{ tag.doc_name }}" style="width:100%;" class="button">view</a>
</div> </div>
{% endfor %} {% endfor %}

View File

@ -11,7 +11,7 @@ db = firestore.Client()
app = Flask(__name__, static_folder=os.path.join(os.path.dirname(__file__), '..', 'static'), template_folder = "templates") app = Flask(__name__, static_folder=os.path.join(os.path.dirname(__file__), '..', 'static'), template_folder = "templates")
app.register_blueprint(art_print, url_prefix='/art') app.register_blueprint(art_print, url_prefix='/art')
app.register_blueprint(music_print, url_prefix='/musictest') app.register_blueprint(music_print, url_prefix='/music')
staticbucketurl = 'https://storage.googleapis.com/sarsooxyzstatic/' staticbucketurl = 'https://storage.googleapis.com/sarsooxyzstatic/'
@ -32,10 +32,6 @@ def main():
return render_template('index.html', staticroot = staticbucketurl, splash = splashtext, art=art) return render_template('index.html', staticroot = staticbucketurl, splash = splashtext, art=art)
@app.route('/music')
def music():
return render_template('music.html')
@app.route('/dev') @app.route('/dev')
def dev(): def dev():
return render_template('dev.html') return render_template('dev.html')

View File

@ -8,7 +8,7 @@
</head> </head>
<body> <body>
<div> <div>
<h1 class="title">andy</h1> <a href="/" class="title">andy</a>
</div> </div>
<br><br> <br><br>
<ul class="navbar"> <ul class="navbar">

View File

@ -78,12 +78,15 @@ div.profile img {
box-shadow: 2px 6px 2px #888888; box-shadow: 2px 6px 2px #888888;
} }
h1.title { a.title {
color: white; color: white;
font-size: 14vw; font-size: 14vw;
font-family: 'Megrim', arial; font-family: 'Megrim', arial;
text-shadow: 2px 2px 2px #aaa; text-shadow: 2px 2px 2px #aaa;
font-weight: bold;
display: block;
text-decoration: none;
background-color: #070c1a; background-color: #070c1a;
padding: 0px; padding: 0px;
width: 45vw; width: 45vw;