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">
<h1>{{ tag.name }}</h1>
<img src="{{ staticroot }}art/{{ tag.splash.file_name }}.jpg" alt="{{ tag.splash.file_name }}">
<p>{{ tag.description }}{{ tag.image }}</p>
{% if tag.description %}<p>{{ tag.description }}{{ tag.image }}</p>{% endif %}
<a href="/{{ urlprefix }}/{{ tag.doc_name }}" style="width:100%;" class="button">view</a>
</div>
{% 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.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/'
@ -32,10 +32,6 @@ def main():
return render_template('index.html', staticroot = staticbucketurl, splash = splashtext, art=art)
@app.route('/music')
def music():
return render_template('music.html')
@app.route('/dev')
def dev():
return render_template('dev.html')

View File

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

View File

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