making the logo centered, main menu is now below the logo
This commit is contained in:
parent
8dec211bea
commit
e75bf67367
28
local.css
28
local.css
|
@ -91,6 +91,15 @@ blockquote{
|
|||
color: black;
|
||||
}
|
||||
|
||||
/**** Center Logo ****/
|
||||
|
||||
#center-logo img {
|
||||
padding-top: 20px;
|
||||
width: 20%;
|
||||
margin-left: 40%;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**** Main Menu ***/
|
||||
|
||||
|
@ -98,22 +107,14 @@ blockquote{
|
|||
#menu {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin-right: 0px;
|
||||
float:right;
|
||||
height: 110px;
|
||||
}
|
||||
|
||||
#menu img {
|
||||
float: left;
|
||||
/*! padding-right: 10px; */
|
||||
padding-top: 10px;
|
||||
height: 45%;
|
||||
width: 20%;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#menu ul {
|
||||
float: right;
|
||||
#menu ul {
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#menu ul {
|
||||
|
@ -123,7 +124,6 @@ blockquote{
|
|||
#menu li {
|
||||
display: block;
|
||||
float: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#menu li a {
|
||||
|
|
|
@ -27,10 +27,12 @@
|
|||
<TMPL_IF NAME="SEARCHFORM">
|
||||
<TMPL_VAR SEARCHFORM>
|
||||
</TMPL_IF>
|
||||
<div id="menu">
|
||||
<a href="<TMPL_VAR BASEURL>index.html" title="Back to main page">
|
||||
<div id="center-logo">
|
||||
<a href="<TMPL_VAR BASEURL>index.html" title="Back to main page">
|
||||
<img src="<TMPL_VAR BASEURL>images/awesome-logo.svg">
|
||||
</a>
|
||||
</a>
|
||||
</div>
|
||||
<div id="menu">
|
||||
<ul class="active-menu-<TMPL_VAR NAME="title">">
|
||||
<li class="menu-about"><a href="<TMPL_VAR BASEURL>index.html">home</a></li>
|
||||
<li class="menu-download"><a href="<TMPL_VAR BASEURL>download/">download</a></li>
|
||||
|
|
Loading…
Reference in New Issue