Skip to content

Commit

Permalink
Create gh-pages branch via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
navarrozuara committed Nov 28, 2015
1 parent a77358f commit 9ec491a
Show file tree
Hide file tree
Showing 31 changed files with 2,916 additions and 44 deletions.
Binary file added fonts/copse-regular-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/copse-regular-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/copse-regular-webfont.ttf
Binary file not shown.
Binary file added fonts/copse-regular-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-bold-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-bold-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/quattrocentosans-bold-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-bold-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-bolditalic-webfont.eot
Binary file not shown.
248 changes: 248 additions & 0 deletions fonts/quattrocentosans-bolditalic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/quattrocentosans-bolditalic-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-bolditalic-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-italic-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-italic-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/quattrocentosans-italic-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-italic-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-regular-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-regular-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/quattrocentosans-regular-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-regular-webfont.woff
Binary file not shown.
Binary file added images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/body-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/bullet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/hr.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/octocat-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 41 additions & 42 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,46 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">

<title>Desarrollo Web en Entorno Cliente by navarrozuara</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/github-dark.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="javascripts/main.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<title>JavaScript by navarrozuara</title>
</head>

<body>
<header>
<div class="inner">

<header>
<h1>Desarrollo Web en Entorno Cliente</h1>
<h2>Elisa Navarro Zuara</h2>
<a href="https://github.com/navarrozuara/JavaScript" class="button"><small>View project on</small> GitHub</a>
</div>
</header>
<p>Elisa Navarro Zuara</p>
</header>

<div id="banner">
<span id="logo"></span>

<a href="https://github.com/navarrozuara/JavaScript" class="button fork"><strong>View On GitHub</strong></a>
<div class="downloads">
<span>Downloads:</span>
<ul>
<li><a href="https://github.com/navarrozuara/JavaScript/zipball/master" class="button">ZIP</a></li>
<li><a href="https://github.com/navarrozuara/JavaScript/tarball/master" class="button">TAR</a></li>
</ul>
</div>
</div><!-- end banner -->

<div id="content-wrapper">
<div class="inner clearfix">
<section id="main-content">
<h1>
<a id="ejercicios" class="anchor" href="#ejercicios" aria-hidden="true"><span class="octicon octicon-link"></span></a>Prácticas de JavaScript.</h1>
<div class="wrapper">
<nav>
<ul></ul>
</nav>
<section>
<h1>
<a id="ejercicios-de-javascript" class="anchor" href="#ejercicios-de-javascript" aria-hidden="true"><span class="octicon octicon-link"></span></a>Ejercicios de JavaScript.</h1>

<ul>
<li><a href="ListadoJavaScriptBasico1/index.html">Listado Básico 1</a></li>
Expand All @@ -42,27 +53,15 @@ <h1>
<li><a href="Prototype/Ejercicio3.html">Ejercicio 3 - Prototype</a></li>
<li><a href="Prototype/Ejercicio4.html">Ejercicio 4 - Prototype</a></li>
<li><a href="PrimosClosure/index.html">Primos</a></li>
<li><a href="ArrayMatematicos/index.html">ArraysMatematicos con excepciones</a></li>
<li><a href="ArrayMatematicos/index.html">ArraysMatematicos</a></li>
</ul>
</section>

<aside id="sidebar">
<a href="https://github.com/navarrozuara/JavaScript/zipball/master" class="button">
<small>Download</small>
.zip file
</a>
<a href="https://github.com/navarrozuara/JavaScript/tarball/master" class="button">
<small>Download</small>
.tar.gz file
</a>

<p class="repo-owner"><a href="https://github.com/navarrozuara/JavaScript"></a> is maintained by <a href="https://github.com/navarrozuara">navarrozuara</a>.</p>

<p>This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the Architect theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.</p>
</aside>
</div>
</section>
<footer>
<p>Project maintained by <a href="https://github.com/navarrozuara">navarrozuara</a></p>
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
</footer>
</div>


<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>
54 changes: 53 additions & 1 deletion javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
console.log('This would be the main JS file.');
var sectionHeight = function() {
var total = $(window).height(),
$section = $('section').css('height','auto');

if ($section.outerHeight(true) < total) {
var margin = $section.outerHeight(true) - $section.height();
$section.height(total - margin - 20);
} else {
$section.css('height','auto');
}
}

$(window).resize(sectionHeight);

$(document).ready(function(){
$("section h1, section h2").each(function(){
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
$("nav ul li:first-child a").parent().addClass("active");
});

$("nav ul li").on("click", "a", function(event) {
var position = $($(this).attr("href")).offset().top - 190;
$("html, body").animate({scrollTop: position}, 400);
$("nav ul li a").parent().removeClass("active");
$(this).parent().addClass("active");
event.preventDefault();
});

sectionHeight();

$('img').load(sectionHeight);
});

fixScale = function(doc) {

var addEvent = 'addEventListener',
type = 'gesturestart',
qsa = 'querySelectorAll',
scales = [1, 1],
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];

function fix() {
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
doc.removeEventListener(type, fix, true);
}

if ((meta = meta[meta.length - 1]) && addEvent in doc) {
fix();
scales = [.25, 1.6];
doc[addEvent](type, fix, true);
}
};
2 changes: 1 addition & 1 deletion params.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Desarrollo Web en Entorno Cliente","tagline":"Elisa Navarro Zuara","body":"# Prácticas de JavaScript.\r\n* [Listado Básico 1](ListadoJavaScriptBasico1/index.html)\r\n* [Tarea Tema 3](TareaTema3/index.html)\r\n* [Apariencia de una ventana](AparienciaVentana/index.html)\r\n* [Múltiples ventanas](MultiplesVentanas/index.html)\r\n* [JavaScript tutorial: Array](JavaScriptTutorialArray/index.html)\r\n* [Ejercicio 1 - Prototype](Prototype/Ejercicio1.html)\r\n* [Ejercicio 2 - Prototype](Prototype/Ejercicio2.html)\r\n* [Ejercicio 3 - Prototype](Prototype/Ejercicio3.html)\r\n* [Ejercicio 4 - Prototype](Prototype/Ejercicio4.html)\r\n* [Primos](PrimosClosure/index.html)\r\n* [ArraysMatematicos](ArrayMatematicos/index.html)\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
{"name":"Desarrollo Web en Entorno Cliente","tagline":"Elisa Navarro Zuara","body":"# Ejercicios de JavaScript.\r\n* [Listado Básico 1](ListadoJavaScriptBasico1/index.html)\r\n* [Tarea Tema 3](TareaTema3/index.html)\r\n* [Apariencia de una ventana](AparienciaVentana/index.html)\r\n* [Múltiples ventanas](MultiplesVentanas/index.html)\r\n* [JavaScript tutorial: Array](JavaScriptTutorialArray/index.html)\r\n* [Ejercicio 1 - Prototype](Prototype/Ejercicio1.html)\r\n* [Ejercicio 2 - Prototype](Prototype/Ejercicio2.html)\r\n* [Ejercicio 3 - Prototype](Prototype/Ejercicio3.html)\r\n* [Ejercicio 4 - Prototype](Prototype/Ejercicio4.html)\r\n* [Primos](PrimosClosure/index.html)\r\n* [ArraysMatematicos](ArrayMatematicos/index.html)\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
116 changes: 116 additions & 0 deletions stylesheets/github-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/*
Copyright 2014 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.pl-c /* comment */ {
color: #969896;
}

.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
.pl-s .pl-v /* string variable */ {
color: #0099cd;
}

.pl-e /* entity */,
.pl-en /* entity.name */ {
color: #9774cb;
}

.pl-s .pl-s1 /* string source */,
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
color: #ddd;
}

.pl-ent /* entity.name.tag */ {
color: #7bcc72;
}

.pl-k /* keyword, storage, storage.type */ {
color: #cc2372;
}

.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
.pl-s /* string */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
color: #3c66e2;
}

.pl-v /* variable */ {
color: #fb8764;
}

.pl-id /* invalid.deprecated */ {
color: #e63525;
}

.pl-ii /* invalid.illegal */ {
background-color: #e63525;
color: #f8f8f8;
}

.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
color: #7bcc72;
font-weight: bold;
}

.pl-ml /* markup.list */ {
color: #c26b2b;
}

.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */ {
color: #264ec5;
font-weight: bold;
}

.pl-mq /* markup.quote */ {
color: #00acac;
}

.pl-mi /* markup.italic */ {
color: #ddd;
font-style: italic;
}

.pl-mb /* markup.bold */ {
color: #ddd;
font-weight: bold;
}

.pl-md /* markup.deleted, meta.diff.header.from-file */ {
background-color: #ffecec;
color: #bd2c00;
}

.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
background-color: #eaffea;
color: #55a532;
}

.pl-mdr /* meta.diff.range */ {
color: #9774cb;
font-weight: bold;
}

.pl-mo /* meta.output */ {
color: #264ec5;
}

Loading

0 comments on commit 9ec491a

Please sign in to comment.