Fix OpenStack header logo in Gitweb

With the recent introduction of the new logo in Gerrit, it needed
some tweaks so it fits just right.  A #openstack-logo selector was
added in order to accurately customize the logo and space them
out in Gitweb and Gerrit.

Change-Id: I5102b07187d2cf8982f48f674477e37e8b10ebba
This commit is contained in:
Mohammed Naser 2017-08-02 15:32:41 -04:00
parent 694540c103
commit 096d80ae71
No known key found for this signature in database
GPG Key ID: 481CBC90384AEC42
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ a:hover {color: #000 !important; text-decoration: underline}
a.gwt-InlineHyperlink {background: none !important}
#openstack-logo img { width: 200px; }
#openstack-logo h1 { margin: 20px; }
#gerrit_header #openstack-logo h1 { margin: 20px 0 0 0; }
#gerrit_header {display: block !important; position: relative; top: -60px; margin-bottom: -60px; width: 200px; padding-left: 17px}
#gerrit_header h1 {font-family: 'PT Sans', sans-serif; font-weight: normal; letter-spacing: -1px}

View File

@ -1,4 +1,4 @@
<div>
<div id="openstack-logo">
<script type="text/javascript" src="static/jquery.js" />
<script type="text/javascript" src="static/jquery-visibility.js"></script>
<script type="text/javascript" src="static/hideci.js" />