aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-03-01 16:55:11 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2010-03-01 16:55:11 +0000
commit6f00ca042928e50af758018f39e1286c4335c3b4 (patch)
treeb9cd7e269f69cc68248f6038fbda4abf7e386f2f
parentbd402b2e3c8b6ae6d34eeb419de6ebb0bdb74a48 (diff)
downloadellinika-6f00ca042928e50af758018f39e1286c4335c3b4.tar.gz
ellinika-6f00ca042928e50af758018f39e1286c4335c3b4.tar.bz2
Re-do element alignment in a cleaner way.
* style.css (h1,h2,h3,h4): Align to center. (td.top-link,td.prev-link,td.next-link): New selectors for bottom menu. (table.align-center): New selector. (table.frame,table.noframe): Remove margins and display settings. * xml/uk/ellinika.xml: Add copyright year. * xml/ru/ellinika.xml: Likewise. * xml/pl/ellinika.xml: Likewise. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@536 941c8c0f-9102-463b-b60b-cd22ce0e6858
-rw-r--r--ChangeLog13
-rw-r--r--style.css23
-rw-r--r--xml/pl/ellinika.xml4
-rw-r--r--xml/ru/ellinika.xml4
-rw-r--r--xml/uk/ellinika.xml4
5 files changed, 39 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 45a379c..844902a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2010-03-01 Sergey Poznyakoff <gray@Pirx.gnu.org.ua>
+
+ Re-do element alignment in a cleaner way.
+
+ * style.css (h1,h2,h3,h4): Align to center.
+ (td.top-link,td.prev-link,td.next-link): New selectors
+ for bottom menu.
+ (table.align-center): New selector.
+ (table.frame,table.noframe): Remove margins and display settings.
+ * xml/uk/ellinika.xml: Add copyright year.
+ * xml/ru/ellinika.xml: Likewise.
+ * xml/pl/ellinika.xml: Likewise.
+
2010-02-28 Sergey Poznyakoff <gray@gnu.org.ua>
* .htaccess.in: Use type-map to handle automatic language
diff --git a/style.css b/style.css
index 45806c6..a10e346 100644
--- a/style.css
+++ b/style.css
@@ -9,6 +9,10 @@ body {
color: #000000;
}
+h1,h2,h3,h4 {
+ text-align: center;
+}
+
.center {
text-align: center;
}
@@ -61,6 +65,17 @@ table.bottom-navbar { border-style: none }
table.bottom-navbar th { border-style: none }
table.bottom-navbar td { border-style: none; width: 33%; }
+td.top-link {
+ text-align: center;
+}
+td.prev-link {
+ text-align: left;
+}
+td.next-link {
+ text-align: right;
+}
+
+
div.section {
padding-bottom: 2em;
border-bottom: 2px solid black;
@@ -168,12 +183,15 @@ table {
text-align: left;
}
+table.align-center {
+ margin-left: auto;
+ margin-right: auto;
+}
+
table.frame {
- margin: 1em 1em 1em 0;
/* border: 1px #aaaaaa solid;*/
border-collapse: collapse;
empty-cells: show;
- display: inline;
}
table.frame th {
@@ -188,7 +206,6 @@ table.frame td {
table.noframe {
border-style: none;
- display: inline-table;
}
tr.odd { background-color: #CCCCEE; }
diff --git a/xml/pl/ellinika.xml b/xml/pl/ellinika.xml
index dd04aab..ef94889 100644
--- a/xml/pl/ellinika.xml
+++ b/xml/pl/ellinika.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
+<!-- Copyright (C) 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -27,7 +27,7 @@
<COPYRIGHT>
<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff
+Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>
diff --git a/xml/ru/ellinika.xml b/xml/ru/ellinika.xml
index e23c37b..7d3edf0 100644
--- a/xml/ru/ellinika.xml
+++ b/xml/ru/ellinika.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
+<!-- Copyright (C) 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -27,7 +27,7 @@
<COPYRIGHT>
<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff
+Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>
diff --git a/xml/uk/ellinika.xml b/xml/uk/ellinika.xml
index 9a4346a..c2531c2 100644
--- a/xml/uk/ellinika.xml
+++ b/xml/uk/ellinika.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright (C) 2004, 2005, 2006, 2007 Sergey Poznyakoff
+<!-- Copyright (C) 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
@@ -27,7 +27,7 @@
<COPYRIGHT>
<FOOTER VCS-ID="$Id$">
-Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007 Sergey Poznyakoff
+Copyright <![CDATA[&copy;]]> 2004, 2005, 2006, 2007, 2010 Sergey Poznyakoff
</FOOTER>
</COPYRIGHT>

Return to:

Send suggestions and report system problems to the System administrator.