scratch – Diff between revs 65 and 68
?pathlinks?
Rev 65 | Rev 68 | |||
---|---|---|---|---|
1 | <!DOCTYPE html> |
1 | <!DOCTYPE html> |
|
2 | <html lang="en"> |
2 | <html lang="en"> |
|
3 | <head> |
3 | <head> |
|
4 | <meta charset="utf-8"> |
4 | <meta charset="utf-8"> |
|
5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
|
7 | <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> |
7 | <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> |
|
8 | <meta name="description" content="quick asset upload"> |
8 | <meta name="description" content="quick asset upload"> |
|
9 | <meta name="author" content="Wizardry and Steamworks"> |
9 | <meta name="author" content="Wizardry and Steamworks"> |
|
10 | <link rel="icon" href="favicon.ico"> |
10 | <link rel="icon" href="favicon.ico"> |
|
11 | |
11 | |
|
12 | <title>scratch</title> |
12 | <title>scratch</title> |
|
13 | |
13 | |
|
14 | <!-- Bootstrap core CSS --> |
14 | <!-- Bootstrap core CSS --> |
|
15 | <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> |
15 | <link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> |
|
16 | <!-- Font Awesome --> |
16 | <!-- Font Awesome --> |
|
17 | <link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet"> |
17 | <link href="bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet"> |
|
- | 18 | |
||
- | 19 | <!-- Site-wide style CCS --> |
||
18 | |
20 | <link href="css/style.css" rel="stylesheet"> |
|
19 | </head> |
21 | </head> |
|
20 | |
22 | |
|
21 | <body> |
23 | <body> |
|
22 | |
24 | |
|
23 | <div class="container"> |
25 | <div class="container"> |
|
24 | |
26 | |
|
25 | <!-- Main component for a primary marketing message or call to action --> |
27 | <!-- Main component for a primary marketing message or call to action --> |
|
- | 28 | <div class="paralax-background"></div> |
||
26 | <div class="jumbotron"> |
29 | <div class="jumbotron"> |
|
27 | <h1>Scratch</h1> |
30 | <h1>Scratch</h1> |
|
28 | <p>Asset sharing platform.</p> |
31 | <p class="lead">Asset sharing platform</p> |
|
29 | </div> |
32 | </div> |
|
30 | |
33 | |
|
31 | <ul class="nav nav-tabs"> |
34 | <ul class="nav nav-tabs"> |
|
32 | <li class="active"><a href="#">Home</a></li> |
35 | <li class="active"><a href="#">Home</a></li> |
|
33 | <li><a href="file.html">File</a></li> |
36 | <li><a href="file.html">File</a></li> |
|
34 | <li><a href="text.html">Text</a></li> |
37 | <li><a href="text.html">Text</a></li> |
|
35 | </ul> |
38 | </ul> |
|
36 | |
39 | |
|
37 | |
40 | |
|
38 | <div class="row"> |
41 | <div class="row"> |
|
39 | <div class="col-md-4"> |
- | ||
40 | <h2>About</h2> |
42 | <h2>About</h2> |
|
41 | <p><strong>scratch</strong> is a platform for small-sized asset sharing developed by <a href="http://grimore.org">Wizardry and Steamworks</a> and published under the <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC 1.0 Universal (CC0 1.0)</a> license. The sharing platform covers images, text snippets, movie clips and any sort of media that can be conveniently shared by generating short, public and obfuscated URLs that are easily accessible.</p> |
43 | <p><strong>scratch</strong> is a platform for small-sized asset sharing developed by <a href="http://grimore.org">Wizardry and Steamworks</a> and published under the <a href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC 1.0 Universal (CC0 1.0)</a> license. The sharing platform covers images, text snippets, movie clips and any sort of media that can be conveniently shared by generating short, public and obfuscated URLs that are easily accessible.</p> |
|
42 | <!-- <p><a class="btn btn-default" href="#" role="button">View details »</a></p> --> |
44 | <!-- <p><a class="btn btn-default" href="#" role="button">View details »</a></p> --> |
|
43 | </div> |
45 | </div> |
|
44 | </div> |
- | ||
45 | |
46 | |
|
46 | </div> <!-- /container --> |
47 | </div> <!-- /container --> |
|
47 | |
48 | |
|
48 | <div id="footer"> |
49 | <div id="footer"> |
|
49 | <div class="container"> |
50 | <div class="container"> |
|
50 | <p class="text-muted credit">Copyright <i class="glyphicon glyphicon-copyright-mark"></i> 2017 <a href="http://grimore.org">Wizardry and Steamworks</a>.</p> |
51 | <p class="text-muted credit">Copyright <i class="glyphicon glyphicon-copyright-mark"></i> 2017 <a href="http://grimore.org">Wizardry and Steamworks</a>.</p> |
|
51 | </div> |
52 | </div> |
|
52 | </div> |
53 | </div> |
|
53 | |
54 | |
|
54 | <!-- jQuery --> |
55 | <!-- jQuery --> |
|
55 | <script src="bower_components/jquery/dist/jquery.min.js"></script> |
56 | <script src="bower_components/jquery/dist/jquery.min.js"></script> |
|
56 | <!-- BootStrap --> |
57 | <!-- BootStrap --> |
|
57 | <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> |
58 | <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> |
|
- | 59 | <script> |
||
- | 60 | var jumboHeight = $('.jumbotron').outerHeight(); |
||
- | 61 | function parallax(){ |
||
- | 62 | var scrolled = $(window).scrollTop(); |
||
- | 63 | $('.paralax-background').css('height', (jumboHeight-scrolled) + 'px'); |
||
- | 64 | } |
||
- | 65 | |
||
- | 66 | $(window).scroll(function(e){ |
||
- | 67 | parallax(); |
||
- | 68 | }); |
||
- | 69 | </script> |
||
58 | </body> |
70 | </body> |
|
59 | </html> |
71 | </html> |
|
60 | |
72 | |