Permalink
Browse files

integrated the spanish translation

  • Loading branch information...
1 parent 54e3907 commit 00407cb9a2911ad1297afc63f49bde0a2f458de9 @manuelkiessling committed May 26, 2011
Showing with 72 additions and 6 deletions.
  1. BIN es-flag.png
  2. +46 −2 index-es.html
  3. +26 −4 index.html
  4. BIN us-flag.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -12,7 +12,7 @@
body {
font-family: Georgia, serif;
background-color: #eee;
- padding-top: 48px;
+ padding-top: 0px;
-webkit-text-size-adjust: 200%;
}
@@ -56,6 +56,43 @@
text-align: center;
}
+ #buy-the-ebook, #translations {
+ font-family: "Helvetica Neue", sans-serif;
+ font-size: 13px;
+ color: #fff;
+ text-align: center;
+ padding: 8px;
+ padding-left: 32px;
+ padding-right: 32px;
+ border-radius: 8px;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ box-shadow: 0px 0px 4px #444;
+ -moz-box-shadow: 0px 0px 4px #444;
+ -webkit-box-shadow: 0px 0px 4px #444;
+ position: relative;
+ margin-bottom: 20px;
+ margin-left: auto;
+ margin-right: auto;
+ width: 704px;
+ background-color: #555;
+ }
+
+ #translations a {
+ text-decoration: none;
+ color: #fff;
+ }
+
+ #translations .flag {
+ display: inline-block;
+ vertical-align: middle;
+ padding-top: 4px;
+ }
+ #translations .text {
+ display: inline-block;
+ vertical-align: middle;
+ }
+
#donate p {
font-family: "Helvetica Neue", sans-serif;
text-align: center;
@@ -272,9 +309,16 @@
<a href="https://github.com/ManuelKiessling/NodeBeginnerBook"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" /></a>
</div>
+ <div id="translations">
+ <a href="index.html">
+ <div class="flag"><img src="us-flag.png" width="24" height="24" alt="usa flag" /></div>
+ <div class="text">Read this tutorial in english</div>
+ </a>
+ </div>
+
<div id="book">
<h1>El Libro para Principiantes en Node.js</h1>
- <div id="author">Un tutorial de Node.js por:<a href="http://twitter.com/manuelkiessling">Manuel Kiessling</a></div>
+ <div id="author">Un tutorial de Node.js por: <a href="http://twitter.com/manuelkiessling">Manuel Kiessling</a> & <a href="http://twitter.com/hermanjunge">Herman A. Junge</a></div>
<div id="updateinfo">&#218;ltima actualizaci&oacute;n el Jueves 12 de Mayo, 2011 a las 11:31 AM EDT</div>
<div id="updateinfo">&#218;ltima traducci&oacute;n el Lunes 23 de Mayo, 2011 a las 01:50 AM EDT</div>
View
@@ -12,7 +12,7 @@
body {
font-family: Georgia, serif;
background-color: #eee;
- padding-top: 48px;
+ padding-top: 0px;
-webkit-text-size-adjust: auto;
}
@@ -60,7 +60,7 @@
text-align: center;
}
- #buy-the-ebook {
+ #buy-the-ebook, #translations {
font-family: "Helvetica Neue", sans-serif;
font-size: 13px;
color: #fff;
@@ -75,13 +75,28 @@
-moz-box-shadow: 0px 0px 4px #444;
-webkit-box-shadow: 0px 0px 4px #444;
position: relative;
- margin-top: -40px;
+ margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
width: 704px;
background-color: #555;
}
+ #translations a {
+ text-decoration: none;
+ color: #fff;
+ }
+
+ #translations .flag {
+ display: inline-block;
+ vertical-align: middle;
+ padding-top: 4px;
+ }
+ #translations .text {
+ display: inline-block;
+ vertical-align: middle;
+ }
+
#buy-the-ebook .description {
width: 500px;
display: table-cell;
@@ -331,7 +346,14 @@
<div id="forkmeongithub">
<a href="https://github.com/ManuelKiessling/NodeBeginnerBook"><img style="z-index: 5; position: absolute; top: 0; right: 0; border: 0;" src="https://d3nwyuy0nl342s.cloudfront.net/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" /></a>
</div>
-
+
+ <div id="translations">
+ <a href="index-es.html">
+ <div class="flag"><img src="es-flag.png" width="24" height="24" alt="spanish flag" /></div>
+ <div class="text">Lee este tutorial en Español</div>
+ </a>
+ </div>
+
<div id="buy-the-ebook">
<div class="description">
<p>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 00407cb

Please sign in to comment.