Skip to content

Commit

Permalink
Fixed links in html pages to point to the local pages instead of ambe…
Browse files Browse the repository at this point in the history
…r-lang.net
  • Loading branch information
NicolasPetton committed Jan 12, 2012
1 parent c7e1d77 commit 8cf6a20
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 8 deletions.
75 changes: 75 additions & 0 deletions css/profstef.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
html,body {
margin: 0;
padding: 0;
font: 14px "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
line-height: 1.5;
color: #444;
}

/* Fonts */

h1, h2, h3 {
font-family: 'Istok Web';
font-weight: normal;
color: #442905;
line-height: 1.2;
}

h1 {
text-align: center;
font-weight: bold;
text-shadow: 0px 1px 1px #FFF;
}


.main {
width: 900px;
margin: 0;
border: 0;
text-align: center;
margin: 0 auto;
}

.main img {
margin: 30px 0;
}

a#back {
color: #666;
padding: 20px 0;
}

#tutorial {
padding: 20px 40px;
margin: 30px 0;
text-align: left;
border: 12px solid #aaa;
border-radius: 8px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
}

#tutorial .CodeMirror-scroll {
overflow: auto;
height: auto;
}

#footer .main {
border-top: 1px dashed #bbb;
padding-top: 10px;
}

#footer p {
text-align: center;
line-height: 1em;
color: #aaa;
}

#footer a {
color: #3faae1;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}
7 changes: 3 additions & 4 deletions documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ <h1>Documentation</h1>
<h2>Version 0.9.1</h2>
<img src="images/amber.png"/>
<ul id="tabs">
<li><a target="_blank" href="http://amber-lang.net/index.html">Overview</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/index.html#download">Download</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/learn.html">Learn</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/documentation.html">Documentation</a></li> ·
<li><a href="./index.html">Overview</a></li> ·
<li><a href="./learn.html">Learn</a></li> ·
<li><a href="./documentation.html">Documentation</a></li> ·
<li><a target="_blank" target="_blank" href="https://github.com/NicolasPetton/amber">Source</a></li>
</ul>

Expand Down
Binary file modified images/profstef.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
</div>

<ul id="tabs">
<li><a target="_blank" href="http://amber-lang.net/index.html">Overview</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/index.html#download">Download</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/learn.html">Learn</a></li> ·
<li><a target="_blank" href="http://amber-lang.net/documentation.html">Documentation</a></li> ·
<li><a href="./index.html">Overview</a></li> ·
<li><a href="./learn.html">Learn</a></li> ·
<li><a href="./documentation.html">Documentation</a></li> ·
<li><a target="_blank" target="_blank" href="https://github.com/NicolasPetton/amber">Source</a></li>
</ul>

Expand Down
40 changes: 40 additions & 0 deletions learn.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Learn Smalltalk with ProfStef</title>
<link href='http://fonts.googleapis.com/css?family=Istok+Web' rel='stylesheet' type='text/css'>
<meta name="author" content="Nicolas Petton">
<link rel="stylesheet" type="text/css" href="css/profstef.css">
<script type="text/javascript" src="js/amber.js"></script>
</head>
<body>

<div class="main">
<a id="back" href="./index.html"> &larr; back to main page </a>
<img src="images/profstef.png"/>
<h1>Hey there! Got 5 minutes? I'm prof Stef and I want to teach you Smalltalk. I promise, it won't take long!</h1>

<div id="tutorial"><h2>Loading...</h2></div>
<script>
function loadTutorial() {
jQuery('#tutorial').empty();
smalltalk.TrySmalltalkWidget._new()._appendToJQuery_(jQuery('#tutorial'));
}
</script>
</div>

<div id="footer">
<div class="main">
<p>Copyright © 2011 <a href="http://www.nicolas-petton.fr/">Nicolas Petton</a>. The content of this website in licensed under <a href="http://creativecommons.org/licenses/by-nc/3.0/">CC-BY-NC 3.0</a>.</p>
<p>Amber is an opensource project sponsored by <a href="http://www.objectfusion.fr/">objectfusion</a>.</p>
</div>
</div>

<script type="text/javascript">
loadAmber({files: ['TrySmalltalk.js'], prefix: 'examples/trysmalltalk/js', ready: loadTutorial});
</script>


</body>
</html>

0 comments on commit 8cf6a20

Please sign in to comment.