Remove table in main menu of website default layout

This commit is contained in:
Sebastian Zhorel 2020-01-03 20:10:11 +01:00
parent 8c8bfcb2ac
commit 2e972f4ee7
2 changed files with 13 additions and 17 deletions

View File

@ -53,11 +53,9 @@
<div>
<div>
<h3>Main Menu</h3>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="left"><td><a href="/" class="mainlevel"{% if page.folder==nil %} id="active_menu"{% endif %}>Home</a></td></tr>
<tr align="left"><td><a href="/news/" class="mainlevel"{% if page.folder and page.folder.name=="News" %} id="active_menu"{% endif %}>News</a></td></tr>
<tr align="left"><td>
<a href="/about.html" class="mainlevel"{% if page.folder and page.folder.name=="About FreeCol" and page.title!="Current Status" and page.title!="A History of FreeCol's Development" and page.title!="Roadmap" and page.title!="Team and Credits" and page.title!="How to Contribute" and page.title!="Contact Information" %} id="active_menu"{% endif %}>About FreeCol</a>
<div class="mainmenu"><a href="/" class="mainlevel"{% if page.folder==nil %} id="active_menu"{% endif %}>Home</a></div>
<div class="mainmenu"><a href="/news/" class="mainlevel"{% if page.folder and page.folder.name=="News" %} id="active_menu"{% endif %}>News</a></div>
<div class="mainmenu"><a href="/about.html" class="mainlevel"{% if page.folder and page.folder.name=="About FreeCol" and page.title!="Current Status" and page.title!="A History of FreeCol's Development" and page.title!="Roadmap" and page.title!="Team and Credits" and page.title!="How to Contribute" and page.title!="Contact Information" %} id="active_menu"{% endif %}>About FreeCol</a></div>
{% if page.folder and page.folder.name=="About FreeCol" %}
<div class="submenu"><a href="status.html" class="sublevel"{% if page.title=="Current Status" %} id="active_menu"{% endif %}>Current Status</a></div>
<div class="submenu"><a href="history.html" class="sublevel"{% if page.title=="A History of FreeCol's Development" %} id="active_menu"{% endif %}>History</a></div>
@ -66,25 +64,19 @@
<div class="submenu"><a href="how-to-contribute.html" class="sublevel"{% if page.title=="How to Contribute" %} id="active_menu"{% endif %}>How to Contribute</a></div>
<div class="submenu"><a href="contact.html" class="sublevel"{% if page.title=="Contact Information" %} id="active_menu"{% endif %}>Contact Us</a></div>
{% endif %}
</td></tr>
<tr align="left"><td><a href="/documentation/" class="mainlevel"{% if page.folder and page.folder.name=="Documentation" %} id="active_menu"{% endif %}>Documentation</a></td></tr>
<tr align="left"><td>
<a href="/screenshots.html" class="mainlevel"{% if page.folder and page.folder.name=="Screenshots" and page.title!="More Screenshots" and page.title!="Units" and page.title!="Colonies" and page.title!="Goods" %} id="active_menu"{% endif %}>Screenshots</a>
<div class="mainmenu"><a href="/documentation/" class="mainlevel"{% if page.folder and page.folder.name=="Documentation" %} id="active_menu"{% endif %}>Documentation</a></div>
<div class="mainmenu"><a href="/screenshots.html" class="mainlevel"{% if page.folder and page.folder.name=="Screenshots" and page.title!="More Screenshots" and page.title!="Units" and page.title!="Colonies" and page.title!="Goods" %} id="active_menu"{% endif %}>Screenshots</a></div>
{% if page.folder and page.folder.name=="Screenshots" %}
<div class="submenu"><a href="more-screenshots.html" class="sublevel"{% if page.title=="More Screenshots" %} id="active_menu"{% endif %}>More Screenshots</a></div>
<div class="submenu"><a href="art-units.html" class="sublevel"{% if page.title=="Units" %} id="active_menu"{% endif %}>Units</a></div>
<div class="submenu"><a href="art-colonies.html" class="sublevel"{% if page.title=="Colonies" %} id="active_menu"{% endif %}>Colonies</a></div>
<div class="submenu"><a href="art-goods.html" class="sublevel"{% if page.title=="Goods" %} id="active_menu"{% endif %}>Goods</a></div>
{% endif %}
</td></tr>
<tr align="left"><td><a href="/download.html" class="mainlevel"{% if page.folder and page.folder.name=="Download" %} id="active_menu"{% endif %}>Download</a></td></tr>
<tr align="left"><td>
<a href="/community.html" class="mainlevel"{% if page.folder and page.folder.name=="Community" and page.title!="Web Links" %} id="active_menu"{% endif %}>Community</a>
<div class="mainmenu"><a href="/download.html" class="mainlevel"{% if page.folder and page.folder.name=="Download" %} id="active_menu"{% endif %}>Download</a></div>
<div class="mainmenu"><a href="/community.html" class="mainlevel"{% if page.folder and page.folder.name=="Community" and page.title!="Web Links" %} id="active_menu"{% endif %}>Community</a></div>
{% if page.folder and page.folder.name=="Community" %}
<div class="submenu"><a href="/links/" class="sublevel"{% if page.title=="Web Links" %} id="active_menu"{% endif %}>Links</a></div>
{% endif %}
</td></tr>
</table>
</div>
</div>
</div>

View File

@ -251,8 +251,12 @@ iframe.wrapper {
font-size: 12px;
}
#leftcol div.module div div div table tr td div.submenu {
padding-left: 4px;
#leftcol div.module div div div div.mainmenu {
padding: 0;
}
#leftcol div.module div div div div.submenu {
padding: 0 0 0 4px;
}
.footer-copyright {