Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add icon next to language selector

The image file is taken from
http://www.languageicon.org/ (http://archive.is/IvSz8)

Its licence, as stated on website, is "CC [Creative Commons] Relax-Attribution"
More specifically:
  - "You are suggested but not required to attribute the work when using for internet"
  - "copyright and hassle free"
  - "we will not disturb you for using our icon"

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
  • Loading branch information...
commit 2fb23f64e65e6879c1979d095d031cadbd4d3928 1 parent 0eda0ef
@aledovsky aledovsky authored
Showing with 13 additions and 1 deletion.
  1. +1 −1  index.html
  2. BIN  language_icon.png
  3. +12 −0 style.css
View
2  index.html
@@ -22,7 +22,7 @@
<a href="http://www.mozilla.org/" id="tabzilla">mozilla</a>
<div id="lang">
- <span data-l10n-id="lang-selection">Language:</span>
+ <span id="lang-selection" data-l10n-id="lang-selection">Language:</span>
<select>
<option value='ar'>ar</option>
<option value='bn-BD'>bn-BD</option>
View
BIN  language_icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 style.css
@@ -33,6 +33,18 @@ html {
}
}
+#lang-selection {
+ background: center left transparent no-repeat;
+ /*
+ * Icon attribution
+ * A’ Design Award & Competition, Onur Müştak Çobanlı and Farhat Datta
+ * http://www.languageicon.org
+ */
+ background-image: url("./language_icon.png");
+ padding-left: 28px;
+ padding-bottom: 2px;
+}
+
#wrapper {
font-family: "Open Sans", sans-serif;
font-weight: 300;
Please sign in to comment.
Something went wrong with that request. Please try again.