summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2013-09-29 16:25:16 +0000
committerhallgren <hallgren@chalmers.se>2013-09-29 16:25:16 +0000
commit7c0936b7ce23098c052253f7aa3db0c6f3d33054 (patch)
tree5dad6ac0e11198d054324810c036bd491fc16523
parent426bc49a52b4efa0ef0129d713842d8c9abdf0ff (diff)
GF home page: minor style changes
+ Split the list of languages into several columns if space permits (in supported browsers, currently Firefox). + Limit the size of the GF logo to 75% of width the window. Looks better on small screens.
-rw-r--r--css/style.css7
-rw-r--r--index.html4
2 files changed, 9 insertions, 2 deletions
diff --git a/css/style.css b/css/style.css
index 677233e34..396e6f742 100644
--- a/css/style.css
+++ b/css/style.css
@@ -32,8 +32,15 @@ th { background: #9df; }
h1 img { float: right; border: 0; }
h1 img.nofloat { float: none; }
+img.right { float: right; }
+
+ol.languages {
+ column-width: 12em;
+ -moz-column-width: 12em;
+}
.grow {
+ max-width: 75%;
animation-name: grow;
animation-duration: 2s;
animation-timing-function: ease-in-out;
diff --git a/index.html b/index.html
index e891b6674..445ede618 100644
--- a/index.html
+++ b/index.html
@@ -255,7 +255,7 @@ syntax, lexicon, and inflection. The
<A HREF="lib/doc/synopsis.html">GF resource grammar library</A> has
support for an increasing number of languages, currently including
</P>
-<OL>
+<ol class=languages>
<LI>Afrikaans
<LI>Amharic (partial)
<LI>Arabic (partial)
@@ -291,7 +291,7 @@ support for an increasing number of languages, currently including
<LI>Thai
<LI>Turkish (fragments)
<LI>Urdu
-</OL>
+</ol>
<P>
Adding a language to the resource library takes 3 to 9