update the logo and the css for the logo

This commit is contained in:
hankhill19580
2019-06-24 22:46:19 +00:00
parent 449b101127
commit 761513e5cc
4 changed files with 9 additions and 4 deletions

View File

@ -35,7 +35,7 @@
<div class="hide"><a href="#content" title="Skip navigation" accesskey="2">{{ _('Skip navigation') }}</a></div>
<header>
<div id="topbar">
<a id="logo" href="{{ site_url() }}"><img src="{{ url_for('static', filename=logo_url()) }}" alt="{{ _('I2P Logo') }}" title="{{ _('The Invisible Internet Project') }} (I2P)" /></a>
<a id="logo" href="{{ site_url() }}"><img id="scalelogo" src="{{ url_for('static', filename=logo_url()) }}" alt="{{ _('I2P Logo') }}" title="{{ _('The Invisible Internet Project') }} (I2P)" /></a>
<div class="title">
<h1>{{ self.title() }}</h1>
<div class="lang">

View File

@ -81,6 +81,11 @@ div#topbar #logo img:hover {
opacity: 0.6;
}
div#topbar #scalelogo {
height: 3.5rem;
margin-left: 1rem;
}
nav {
clear: both
}

View File

@ -184,9 +184,9 @@ def utility_processor():
# Shorthand for getting the logo for the current theme
def get_logo_for_theme():
logo = 'styles/' + g.theme + '/images/i2plogo.png'
logo = 'styles/' + g.theme + '/images/i2plogo.svg'
if not os.path.isfile(safe_join(STATIC_DIR, logo)):
logo = 'images/i2plogo.png'
logo = 'images/i2plogo.svg'
return logo
def get_current_version(string=None, ver=None):

View File

@ -2,4 +2,4 @@
from i2p2www import app
if __name__ == '__main__':
app.run(host='127.0.0.1', port=5000, debug=False)
app.run(host='0.0.0.0', port=5000, debug=False)