mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
Lots of website changes.
This commit is contained in:
1 parent
c5d12db6e6
commit
83a9cb392b
10 files changed
+149
-76
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
<!DOCTYPE html>␍<html>␍ <title>Changelog - Botania | vazkii.us</title>␍ ␍ <head>␍ <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">␍ <link rel="stylesheet" href="page.css">␍ </head>␍␍ <body>␍ <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">␍ <div class="container">␍ <div class="navbar-header">␍ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">␍ <span class="sr-only">Toggle navigation</span>␍ <span class="icon-bar"></span>␍ <span class="icon-bar"></span>␍ <span class="icon-bar"></span>␍ </button>␍ <a class="navbar-brand" href="#">␍ <img src="img/logo.png" class="shaded"/>␍ </a>␍ </div>␍ <div class="collapse navbar-collapse">␍ <ul class="nav navbar-nav">␍ <li><a href="./index.php">Home</a></li>␍ <li><a href="./downloads.php">Downloads</a></li>␍ <li class="active"><a href="./changelog.php">Changelog</a></li>␍ </ul>␍ </div>␍ </div>␍ </div>␍ ␍ <div class="container">␍ <div class="content">␍ <font size="6">Botania Changelog</font><br>␍ <?php␍ $versions = array();␍ $file = file('changelog.txt');␍ $changelog = '';␍ $first = true;␍ ␍ foreach($file as $line) {␍ if(strpos($line, '*') !== 0) {␍ $key = trim(str_replace(' ', '-', $line));␍ $version = ucfirst(trim($line));␍ ␍ array_push($versions, $key);␍ if(!$first)␍ $changelog .= '<br><div class="btn btn-xs btn-info hashlink">Back to top</div>';␍ $changelog .= "<hr><div id='$key-fake'><h3>$version</h3></div>";␍ $first = false;␍ } else {␍ $change = substr($line, 1);␍ $changelog .= "<li>$change</li>";␍ }␍ }␍ ␍ echo('<div class="btn-group"><button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">Version Index <span class="caret"></span></button><ul class="dropdown-menu">');␍ foreach($versions as $version)␍ echo("<li class='hashlink'><a>$version</a></li>");␍ echo('</ul></div>');␍ ␍ $changelog .= '<br><div class="btn btn-xs btn-info hashlink">Back to top</div>';␍ echo($changelog);␍ ?>␍ </div>␍ </div>␍ ␍ <div id="footer">␍ <a href="https://twitter.com/Vazkii"><img class="padded" src="img/twitter.png" title="@Vazkii on Twitter"></img>␍ <a href="http://www.patreon.com/Vazkii"><img class="padded" src="img/patreon.png" title="Support me on Patreon"></img>␍ <a href="https://github.com/Vazkii/Botania"><img class="padded" src="img/github.png" title="Botania is Open Source and available on Github!"></img>␍ <a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB"><img class="padded" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" title="Botania is licensed under a CC 3.0 BY-NC-SA license"></img></a>␍ <a href="http://www.minecraftforum.net/topic/2440071-"><img class="padded" src="img/mcf.png" title="Discuss Botania on the MinecraftForums thread"></img>␍ <a href="http://forum.feed-the-beast.com/threads/.41662"><img class="padded" src="img/ftb.png" title="Discuss Botania on the FeedTheBeast thread"></img>␍ <a href="http://webchat.esper.net/?channels=vazkii"><img class="padded" src="img/irc.png" title="Discuss Botania on IRC (#vazkii on EsperNet)"></img>␍ </div>␍␍ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>␍ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>␍ <script src="scroll.js"></script>␍ </body>␍</html>
|
||||
<!DOCTYPE html>␍<html>␍ <title>Changelog - Botania | vazkii.us</title>␍ ␍ <head>␍ <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">␍ <link rel="stylesheet" href="page.css">␍ </head>␍␍ <body>␍ <?php include 'incl/header.php'; ?>␍ ␍ <div class="container">␍ <div class="content">␍ <font size="6">Botania Changelog</font><br>␍ <?php␍ $versions = array();␍ $file = file('changelog.txt');␍ $changelog = '';␍ $first = true;␍ ␍ foreach($file as $line) {␍ if(strpos($line, '*') !== 0) {␍ $key = trim(str_replace(' ', '-', $line));␍ $version = ucfirst(trim($line));␍ ␍ array_push($versions, $key);␍ if(!$first)␍ $changelog .= '<br><div class="btn btn-xs btn-info hashlink">Back to top</div>';␍ $changelog .= "<hr><div id='$key-fake'><h3>$version</h3></div>";␍ $first = false;␍ } else {␍ $change = substr($line, 1);␍ $changelog .= "<li>$change</li>";␍ }␍ }␍ ␍ echo('<div class="btn-group"><button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">Version Index <span ␍class="caret"></span></button><ul class="dropdown-menu">');␍ foreach($versions as $version)␍ echo("<li class='hashlink'><a>$version</a></li>");␍ echo('</ul></div>');␍ ␍ $changelog .= '<br><div class="btn btn-xs btn-info hashlink">Back to top</div>';␍ echo($changelog);␍ ?>␍ </div>␍ </div>␍ ␍ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>␍ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>␍ <script src="jquery_cookie.min.js"></script>␍ <script> $(function() { $('#header-btn-changelog').addClass('active'); }); </script>␍ <?php include 'incl/footer.php'; ?>␍ </body>␍</html>
|
||||
@@ -34,4 +34,5 @@
|
||||
file_put_contents($file, '0');
|
||||
return get_dls($mod);
|
||||
}
|
||||
|
||||
?>
|
||||
+17
-37
@@ -7,29 +7,8 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="img/logo.png" class="shaded"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="./index.php">Home</a></li>
|
||||
<li class="active"><a href="./downloads.php">Downloads</a></li>
|
||||
<li><a href="./changelog.php">Changelog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include 'incl/header.php'; ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<?php
|
||||
@@ -42,6 +21,8 @@
|
||||
$first = true;
|
||||
$total_dls = 0;
|
||||
$downloads_str = '';
|
||||
$last_version = '';
|
||||
$old = false;
|
||||
|
||||
foreach($files as $file)
|
||||
if(strlen($file) > 2) {
|
||||
@@ -66,32 +47,31 @@
|
||||
$cl_button_type = '';
|
||||
}
|
||||
|
||||
$downloads_str .= "<a href='dl.php?file=$file' class='btn $button_type btn-success dl'><b>$file</b></a> <a href='changelog.php#$version_name' class='btn $cl_button_type btn-info'><b>Changelog</b></a> <a class='btn $cl_button_type btn-danger dl-counter'>Minecraft <b>$mc_version</b></a> <a href='dl.php?file=$file' class='btn $cl_button_type btn-warning dl-counter'><b>$dls</b> $dls_txt</a>";
|
||||
if($last_version != $mc_version && !$first)
|
||||
$downloads_str .= "<br><font size='4'>Minecraft <b>$mc_version</b></font><br>";
|
||||
|
||||
$downloads_str .= "<a href='dl.php?file=$file' class='btn $button_type btn-success dl'><b><span class='glyphicon glyphicon-download'></span> $file</b></a> <a href='changelog.php#$version_name' class='btn $cl_button_type btn-info'><b>Changelog</b></a> <a class='btn $cl_button_type btn-danger dl-counter'>Minecraft <b>$mc_version</b></a> <a href='dl.php?file=$file' class='btn $cl_button_type btn-warning dl-counter'><b>$dls</b> $dls_txt</a>";
|
||||
|
||||
if($first) {
|
||||
$downloads_str .= '<br><br><hr><font size="5">Old Versions</font><br><br>';
|
||||
$downloads_str .= '<br><br><hr><font size="6">Old Versions</font><br>';
|
||||
$first = false;
|
||||
} else $downloads_str .= '<br>';
|
||||
} else {
|
||||
$downloads_str .= '<br>';
|
||||
$last_version = $mc_version;
|
||||
}
|
||||
}
|
||||
|
||||
$total_dl_str = number_format($total_dls);
|
||||
print("<h3>Botania has been downloaded a total of <b>$total_dl_str</b> times.</h3>");
|
||||
print("<div class='total-dls'><span class='glyphicon glyphicon-star'></span> Botania has been downloaded a total of <b>$total_dl_str</b> times.</div>Botania is under a Creative Commons BY-NC-SA License, more info (for modpacks and other purposes) can be found in the footer.<br><br><font size='5'>Latest Download</font><br>");
|
||||
print($downloads_str);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<a href="https://twitter.com/Vazkii"><img class="padded" src="img/twitter.png" title="@Vazkii on Twitter"></img>
|
||||
<a href="http://www.patreon.com/Vazkii"><img class="padded" src="img/patreon.png" title="Support me on Patreon"></img>
|
||||
<a href="https://github.com/Vazkii/Botania"><img class="padded" src="img/github.png" title="Botania is Open Source and available on Github!"></img>
|
||||
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB"><img class="padded" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" title="Botania is licensed under a CC 3.0 BY-NC-SA license"></img></a>
|
||||
<a href="http://www.minecraftforum.net/topic/2440071-"><img class="padded" src="img/mcf.png" title="Discuss Botania on the MinecraftForums thread"></img>
|
||||
<a href="http://forum.feed-the-beast.com/threads/.41662"><img class="padded" src="img/ftb.png" title="Discuss Botania on the FeedTheBeast thread"></img>
|
||||
<a href="http://webchat.esper.net/?channels=vazkii"><img class="padded" src="img/irc.png" title="Discuss Botania on IRC (#vazkii on EsperNet)"></img>
|
||||
</div>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
|
||||
<script src="jquery_cookie.min.js"></script>
|
||||
<script> $(function() { $('#header-btn-downloads').addClass('active'); }); </script>
|
||||
<?php include 'incl/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,50 @@
|
||||
var animating = false;
|
||||
|
||||
$(function() {
|
||||
var remove = $.cookie('show-footer');
|
||||
if(remove === 'true') {
|
||||
$('#footer').css( { bottom: '-50px' } );
|
||||
$('.hide-footer-btn').css( { bottom: '0px', left : '-=30px' } );
|
||||
$('.hide-footer-btn').find('.glyphicon').removeClass('glyphicon-remove').addClass('glyphicon-plus');
|
||||
$('#footer-tooltip').text('Show Footer');
|
||||
}
|
||||
|
||||
var hash = document.location.hash.substring(1);
|
||||
$('html, body').animate({ scrollTop: $("#" + hash + "-fake").offset().top - 100 }, 1000);
|
||||
});
|
||||
|
||||
$('.hide-footer-btn').click(function() {
|
||||
if(animating)
|
||||
return;
|
||||
|
||||
animating = true;
|
||||
var remove = $(this).find('.glyphicon').hasClass('glyphicon-remove');
|
||||
$('#footer').animate( { bottom: remove ? '-50px' : '0px' } );
|
||||
|
||||
$(this).animate( { bottom: remove ? '0px' : '15px', left: remove ? '-=30px' : '+=30px' }, function() {
|
||||
$('#footer-tooltip').text(remove ? 'Show Footer' : 'Hide Footer');
|
||||
$.cookie('show-footer', remove, { expires: 30 });
|
||||
|
||||
var glyph = $(this).find('.glyphicon');
|
||||
glyph.fadeOut('fast', function() {
|
||||
glyph.removeClass(remove ? 'glyphicon-remove' : 'glyphicon-plus').addClass(remove ? 'glyphicon-plus' : 'glyphicon-remove').fadeIn('fast');
|
||||
animating = false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
$('.hide-footer-btn').mouseenter(function(e) {
|
||||
$('#footer-tooltip').fadeIn('fast');
|
||||
});
|
||||
|
||||
$('.hide-footer-btn').mouseleave(function(e) {
|
||||
$('#footer-tooltip').fadeOut();
|
||||
})
|
||||
|
||||
$(".hashlink").click(function() {
|
||||
var hash = $(this).text();
|
||||
|
||||
if(hash == 'Back to top')
|
||||
$('html, body').animate({ scrollTop: 0 }, 500);
|
||||
else $('html, body').animate({ scrollTop: $("#" + hash + "-fake").offset().top - 100 }, 1000);
|
||||
});
|
||||
@@ -0,0 +1,16 @@
|
||||
<div id="footer">
|
||||
<a href="https://twitter.com/Vazkii"><img class="padded" src="img/twitter.png" title="@Vazkii on Twitter"></img></a>
|
||||
<a href="http://www.patreon.com/Vazkii"><img class="padded" src="img/patreon.png" title="Support me on Patreon"></img></a>
|
||||
<a href="https://github.com/Vazkii/Botania"><img class="padded" src="img/github.png" title="Botania is Open Source and available on Github!"></img></a>
|
||||
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB"><img class="padded" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" title="Botania is licensed under a CC 3.0 BY-NC-SA license"></img></a>
|
||||
<a href="http://www.minecraftforum.net/topic/2440071-"><img class="padded" src="img/mcf.png" title="Discuss Botania on the MinecraftForums thread"></img></a>
|
||||
<a href="http://forum.feed-the-beast.com/threads/.41662"><img class="padded" src="img/ftb.png" title="Discuss Botania on the FeedTheBeast thread"></img></a>
|
||||
<a href="http://webchat.esper.net/?channels=vazkii"><img class="padded" src="img/irc.png" title="Discuss Botania on IRC (#vazkii on EsperNet)"></img></a>
|
||||
</div>
|
||||
|
||||
<div class="hide-footer-btn footer-element">
|
||||
<a class="glyphicon glyphicon-remove"></a>
|
||||
<span id="footer-tooltip">Hide Footer</span>
|
||||
</div>
|
||||
|
||||
<script src="incl/footer.js"></script>
|
||||
@@ -0,0 +1,22 @@
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="img/logo.png" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="header-btn-home" class="header-btn"><a href="./index.php">Home</a></li>
|
||||
<li id="header-btn-downloads" class="header-btn"><a href="./downloads.php">Downloads</a></li>
|
||||
<li id="header-btn-changelog" class="header-btn"><a href="./changelog.php">Changelog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
+4
-32
@@ -7,28 +7,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="img/logo.png" class="shaded"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="active"><a href="./index.php">Home</a></li>
|
||||
<li><a href="./downloads.php">Downloads</a></li>
|
||||
<li><a href="./changelog.php">Changelog</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include 'incl/header.php'; ?>
|
||||
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
@@ -121,17 +100,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<a href="https://twitter.com/Vazkii"><img class="padded" src="img/twitter.png" title="@Vazkii on Twitter"></img>
|
||||
<a href="http://www.patreon.com/Vazkii"><img class="padded" src="img/patreon.png" title="Support me on Patreon"></img>
|
||||
<a href="https://github.com/Vazkii/Botania"><img class="padded" src="img/github.png" title="Botania is Open Source and available on Github!"></img>
|
||||
<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB"><img class="padded" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" title="Botania is licensed under a CC 3.0 BY-NC-SA license"></img></a>
|
||||
<a href="http://www.minecraftforum.net/topic/2440071-"><img class="padded" src="img/mcf.png" title="Discuss Botania on the MinecraftForums thread"></img>
|
||||
<a href="http://forum.feed-the-beast.com/threads/.41662"><img class="padded" src="img/ftb.png" title="Discuss Botania on the FeedTheBeast thread"></img>
|
||||
<a href="http://webchat.esper.net/?channels=vazkii"><img class="padded" src="img/irc.png" title="Discuss Botania on IRC (#vazkii on EsperNet)"></img>
|
||||
</div>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
|
||||
<script src="jquery_cookie.min.js"></script>
|
||||
<script> $(function() { $('#header-btn-home').addClass('active'); }); </script>
|
||||
<?php include 'incl/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
(function(e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function r(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function s(e){if(e.indexOf('"')===0){e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{e=decodeURIComponent(e.replace(t," "));return u.json?JSON.parse(e):e}catch(n){}}function o(t,n){var r=u.raw?t:s(t);return e.isFunction(n)?n(r):r}var t=/\+/g;var u=e.cookie=function(t,s,a){if(s!==undefined&&!e.isFunction(s)){a=e.extend({},u.defaults,a);if(typeof a.expires==="number"){var f=a.expires,l=a.expires=new Date;l.setTime(+l+f*864e5)}return document.cookie=[n(t),"=",i(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=t?undefined:{};var h=document.cookie?document.cookie.split("; "):[];for(var p=0,d=h.length;p<d;p++){var v=h[p].split("=");var m=r(v.shift());var g=v.join("=");if(t&&t===m){c=o(g,s);break}if(!t&&(g=o(g))!==undefined){c[m]=g}}return c};u.defaults={};e.removeCookie=function(t,n){if(e.cookie(t)===undefined){return false}e.cookie(t,"",e.extend({},n,{expires:-1}));return!e.cookie(t)}})
|
||||
+37
-1
@@ -24,6 +24,10 @@ html {
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.navbar-brand-container:hover {
|
||||
background-color: #05510e;
|
||||
}
|
||||
|
||||
.nav {
|
||||
margin-left: 20px;
|
||||
margin-top: 30px;
|
||||
@@ -34,6 +38,13 @@ html {
|
||||
.navbar-inverse .navbar-nav > .active > a:focus {
|
||||
background-color: #04410e;
|
||||
box-shadow: 0px -2px 8px #04410e;
|
||||
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.header-btn:hover {
|
||||
background-color: #05510e;
|
||||
box-shadow: 0px -2px 8px #05510e;
|
||||
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.content {
|
||||
@@ -95,6 +106,11 @@ iframe {
|
||||
box-shadow: -1px 0px 20px 2px #000000;
|
||||
}
|
||||
|
||||
.total-dls {
|
||||
text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
.dl {
|
||||
width: 220px;
|
||||
}
|
||||
@@ -118,10 +134,30 @@ iframe {
|
||||
box-shadow: 0px 0px 25px #19ac46 inset, 0px 0px 25px #19ac46;
|
||||
}
|
||||
|
||||
#footer > a {
|
||||
.footer > a {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.hide-footer-btn {
|
||||
position: fixed;
|
||||
bottom: 15px;
|
||||
left: calc(75% + 2px);
|
||||
color: #04410e;
|
||||
}
|
||||
|
||||
.hide-footer-btn > a {
|
||||
text-decoration:none;
|
||||
color: #04410e;
|
||||
}
|
||||
|
||||
.hide-footer-btn > a:hover {
|
||||
color: #08810e;
|
||||
}
|
||||
|
||||
#footer-tooltip {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.padded {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
$(function() {
|
||||
var hash = document.location.hash.substring(1);
|
||||
$('html, body').animate({ scrollTop: $("#" + hash + "-fake").offset().top - 100 }, 1000);
|
||||
});
|
||||
|
||||
$(".hashlink").click(function() {
|
||||
var hash = $(this).text();
|
||||
|
||||
|
||||
Reference in new issue
Block a user