Skip to content

Commit

Permalink
integrated the spanish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkiessling committed May 26, 2011
1 parent 54e3907 commit 00407cb
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 6 deletions.
Binary file added es-flag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 46 additions & 2 deletions index-es.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
body {
font-family: Georgia, serif;
background-color: #eee;
padding-top: 48px;
padding-top: 0px;
-webkit-text-size-adjust: 200%;
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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>

Expand Down
30 changes: 26 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
body {
font-family: Georgia, serif;
background-color: #eee;
padding-top: 48px;
padding-top: 0px;
-webkit-text-size-adjust: auto;
}

Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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>
Expand Down
Binary file added us-flag.png
Loading
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.