[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 15/24] Restored the two columns layout.
From: |
Maxime Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 15/24] Restored the two columns layout. |
Date: |
Sun, 10 Jan 2010 15:54:09 +0100 |
---
www/media/style.css | 29 ++++++++++++++---------------
www/templates/maposmatic/base.html | 20 +++++++++++---------
2 files changed, 25 insertions(+), 24 deletions(-)
diff --git a/www/media/style.css b/www/media/style.css
index c6b4e98..218557b 100644
--- a/www/media/style.css
+++ b/www/media/style.css
@@ -45,6 +45,7 @@ a img {
background-image: url('/smedia/header.png');
background-position: top right;
background-repeat: no-repeat;
+ border-bottom: 1px black solid;
}
#header h1 {
@@ -107,9 +108,9 @@ ul#nav li.activelink a {
/* Main content */
#content {
- margin: 0;
- padding: 2em;
- border-top: 1px black solid;
+ margin: 1em 0 2em 2em;
+ float: left;
+ width: 70%;
}
#content h1 {
@@ -130,24 +131,26 @@ table.authors td {
}
-/* Bottom */
-#bottom {
- border-top: 1px #aaa solid;
- margin: 1em 2em;
+/* Meta informations */
+#meta {
+ float: right;
+ width: 20%;
+ margin: 3em 1em;
+ padding: 0 0 1em 1em;
+ border-left: 1px #ccc solid;
}
-#bottom h3 {
+#meta h3 {
margin: 1em 0;
padding: 0;
}
#bcontact {
- float: left;
- padding-left: 1em;
+ padding-top: 1em;
}
#bnews {
- margin-left: 30%;
+ padding-top: 1em;
}
#bnews ul {
@@ -164,10 +167,6 @@ table.authors td {
}
#bmap {
- float: right;
- text-align: center;
- padding-right: 1em;
- width: 220px;
}
#bmap p.randommap {
diff --git a/www/templates/maposmatic/base.html
b/www/templates/maposmatic/base.html
index bab4340..d51f6fb 100644
--- a/www/templates/maposmatic/base.html
+++ b/www/templates/maposmatic/base.html
@@ -72,15 +72,7 @@
{% block page %}{% endblock %}
</div>
- <div id="bottom">
- <div id="bcontact">
- <h3>{% trans "Contact" %}</h3>
- <p>
- {% trans "Mail:" %} <a
href="mailto:address@hidden">address@hidden</a><br />
- {% trans "IRC:" %} <tt>#maposmatic</tt> {% trans "on" %}
<tt>irc.freenode.net</tt>
- </p>
- </div>
-
+ <div id="meta">
<div id="bmap">
<h3>{% trans "Random map" %}</h3>
{% if randommap %}<p class="randommap">
@@ -105,6 +97,16 @@
{% endfor %}
</ul>
</div>
+
+ <div id="bcontact">
+ <h3>{% trans "Contact" %}</h3>
+ <p>
+ {% trans "Mail:" %}
+ <a href="mailto:address@hidden">address@hidden</a><br />
+ {% trans "IRC:" %}
+ <tt>#maposmatic</tt> {% trans "on" %} <tt>irc.freenode.net</tt>
+ </p>
+ </div>
</div>
<!-- Piwik statistics -->
--
1.6.3.3.261.g85c6
- [Maposmatic-dev] [PATCH 05/24] Add an 'All' link in the letter selection., (continued)
- [Maposmatic-dev] [PATCH 05/24] Add an 'All' link in the letter selection., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 06/24] Update translation files, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 07/24] French terminoly improvements, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 08/24] New header background, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 09/24] Complete site-wide UI overhaul., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 10/24] Updated translations to follow the small changes made during the redesign., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 11/24] Small typographic fix, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 12/24] Add a link on the header, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 13/24] HTML fixes, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 14/24] New automatic suggestion mechanism, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 15/24] Restored the two columns layout.,
Maxime Petazzoni <=
- [Maposmatic-dev] [PATCH 16/24] Put the map generation form on its own page, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 17/24] PO file update for UI changes. French is translated, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 18/24] More work on the form behavior, added info note for unselectable items, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 19/24] Cleanup and comment the suggest JS code, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 20/24] Removed JQuery from the main page, it's not needed there, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 21/24] Finished the form behavior with language preselection, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 22/24] PO files update, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 23/24] Fix layout and stylesheet for browser compatibility, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 24/24] Improve suggest box behavior and usability, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH] Avoid resetting the language selector with empty contents, Maxime Petazzoni, 2010/01/10