aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-09-11 14:26:06 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-09-17 11:13:34 +0100
commit6b374164d79d5fd9f969ce0d9a28860f72e7afaf (patch)
tree64ce502eb43c4238fa653d7bea169bf14049192b
parent0a96422e2d83fd461d3867c52f5aaacf5fa41a6e (diff)
Add some inline docs about using right-to-left.
-rw-r--r--templates/web/fixmystreet/header.html2
-rw-r--r--web/cobrands/default/_colours.scss5
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/web/fixmystreet/header.html b/templates/web/fixmystreet/header.html
index 8368d345a..bc9e16af8 100644
--- a/templates/web/fixmystreet/header.html
+++ b/templates/web/fixmystreet/header.html
@@ -1,5 +1,7 @@
[%
SET html_att = ' lang="' _ lang_code _ '"';
+ # For a right-to-left language, use the following line in your own header:
+ # SET html_att = html_att _ ' dir="rtl"';
-%]
<!doctype html>
<!--[if lt IE 7]><html class="no-js ie6 iel8"[% html_att %]><![endif]-->
diff --git a/web/cobrands/default/_colours.scss b/web/cobrands/default/_colours.scss
index e8c12f98e..5ac6cf8e7 100644
--- a/web/cobrands/default/_colours.scss
+++ b/web/cobrands/default/_colours.scss
@@ -1,3 +1,8 @@
+/* LAYOUT */
+
+// If you are wanting a right-to-left layout, uncomment the following line.
+// $direction: right;
+
/* COLOURS */
$orange: #ff9900;