Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/code.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/pattern.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/tar.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/top.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/zip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 67 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<!doctype html>
<!-- The Time Machine GitHub pages theme was designed and developed by Jon Rohan, on Feb 7, 2012. -->
<!-- Follow him for fun. http://twitter.com/jonrohan. Tail his code on https://github.com/jonrohan -->
<html>
<head>
<meta charset="UTF-8">
<title>Devon's HTML Projects</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<link rel="stylesheet" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" href="stylesheets/github-dark.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="javascripts/script.js"></script>

<title>Udemy</title>
<meta name="description" content="Complete Web Developer Course Udemy Build 14 websites https://www.udemy.com/complete-web-developer-course/">

<meta name="viewport" content="width=device-width,initial-scale=1">

<!-- resize iframe | http://stackoverflow.com/a/9976309/3100494 -->
<script language="javascript" type="text/javascript">
function resizeIframe(obj) {
obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
}
</script>
</head>
<body>
<iframe src="project-1-html/index.html"></iframe>

<body>

<div class="wrapper">
<header>
<h1 class="title">Udemy</h1>
</header>
<div id="container">
<p class="tagline">Complete Web Developer Course Udemy Build 14 websites https://www.udemy.com/complete-web-developer-course/</p>
<div id="main" role="main">
<div class="download-bar">
<div class="inner">
<a href="https://github.com/juliusakula/udemy/tarball/master" class="download-button tar"><span>Download</span></a>
<a href="https://github.com/juliusakula/udemy/zipball/master" class="download-button zip"><span>Download</span></a>
<a href="https://github.com/juliusakula/udemy" class="code">View Udemy on GitHub</a>
</div>
<span class="blc"></span><span class="trc"></span>
</div>
<article>
<!-- Projects here -->
<div class="project project-html">
<a href="project-1-html"><h1>Project 1: HTML</h1></a>
<hr>
<!-- ... UNCOMMENT TO LITERALLY DROP ALL OF PROJECT 1 INTO THIS MAIN PAGE, (right now it's just a link)
<iframe src="project-1-html" style="width:100%"
onload='javascript:resizeIframe(this);' frameborder="0" scrolling="no"></iframe> -->
</div>
</article>
</div>
</div>
<footer>
<div class="owner">
<p><a href="https://github.com/juliusakula" class="avatar"><img src="https://avatars2.githubusercontent.com/u/6538655?v=3&amp;s=60" width="48" height="48"></a> <a href="https://github.com/juliusakula">juliusakula</a> maintains <a href="https://github.com/juliusakula/udemy">Udemy</a></p>


</div>
<div class="creds">
<small>This page generated using <a href="https://pages.github.com/">GitHub Pages</a><br>theme by <a href="https://twitter.com/jonrohan/">Jon Rohan</a></small>
</div>
</footer>
</div>
<div class="current-section">
<a href="#top">Scroll to top</a>
<a href="https://github.com/juliusakula/udemy/tarball/master" class="tar">tar</a><a href="https://github.com/juliusakula/udemy/zipball/master" class="zip">zip</a><a href="" class="code">source code</a>
<p class="name"></p>
</div>


</body>
</html>
</html>
52 changes: 52 additions & 0 deletions javascripts/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
(function($) {
$(document).ready(function(){

// putting lines by the pre blocks
$("pre").each(function(){
var pre = $(this).text().split("\n");
var lines = new Array(pre.length+1);
for(var i = 0; i < pre.length; i++) {
var wrap = Math.floor(pre[i].split("").length / 70)
if (pre[i]==""&&i==pre.length-1) {
lines.splice(i, 1);
} else {
lines[i] = i+1;
for(var j = 0; j < wrap; j++) {
lines[i] += "\n";
}
}
}
$(this).before("<pre class='lines'>" + lines.join("\n") + "</pre>");
});

var headings = [];

var collectHeaders = function(){
headings.push({"top":$(this).offset().top - 15,"text":$(this).text()});
}

if($(".markdown-body h1").length > 1) $(".markdown-body h1").each(collectHeaders)
else if($(".markdown-body h2").length > 1) $(".markdown-body h2").each(collectHeaders)
else if($(".markdown-body h3").length > 1) $(".markdown-body h3").each(collectHeaders)

$(window).scroll(function(){
if(headings.length==0) return true;
var scrolltop = $(window).scrollTop() || 0;
if(headings[0] && scrolltop < headings[0].top) {
$(".current-section").css({"opacity":0,"visibility":"hidden"});
return false;
}
$(".current-section").css({"opacity":1,"visibility":"visible"});
for(var i in headings) {
if(scrolltop >= headings[i].top) {
$(".current-section .name").text(headings[i].text);
}
}
});

$(".current-section a").click(function(){
$(window).scrollTop(0);
return false;
})
});
})(jQuery)
1 change: 1 addition & 0 deletions params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"Udemy","tagline":"Complete Web Developer Course Udemy Build 14 websites https://www.udemy.com/complete-web-developer-course/","body":"# adsf","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