diff --git a/static/img/about/bg2.png b/static/img/about/bg2.png index d5a337a..758b021 100644 Binary files a/static/img/about/bg2.png and b/static/img/about/bg2.png differ diff --git a/static/js/about.js b/static/js/about.js index 46eba67..275bf50 100644 --- a/static/js/about.js +++ b/static/js/about.js @@ -4,7 +4,7 @@ function parallax(){ var currVertPos = $(window).scrollTop(); var delta = currVertPos - lastVertPos; $(".bg").each(function(){ - $(this).css("top", parseFloat($(this).css("top")) - delta * 1.35 + "px"); + $(this).css("top", parseFloat($(this).css("top")) - delta * 1.8 + "px"); }); lastVertPos = currVertPos; } diff --git a/static/js/index.js b/static/js/index.js index c49794c..083e1d8 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -138,7 +138,6 @@ var searchResultsPage = 1; //Obtained by parsing python file with pygments var codeExample = '
1\n 2\n 3\n 4\n 5\n 6\n 7\n 8\n 9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40 | """\nModule to contain all the project's Flask server plumbing.\n"""\n\nfrom flask import Flask\nfrom flask import render_template, session\n\nfrom bitshift import assets\n# from bitshift.database import Database\n# from bitshift.query import parse_query\n\napp = Flask(__name__)\napp.config.from_object("bitshift.config")\n\napp_env = app.jinja_env\napp_env.line_statement_prefix = "="\napp_env.globals.update(assets=assets)\n\n# database = Database()\n\n@app.route("/")\ndef index():\n return render_template("index.html")\n\n@app.route("/search/<query>")\ndef search(query):\n # tree = parse_query(query)\n # database.search(tree)\n pass\n\n@app.route("/about")\ndef about():\n return render_template("about.html")\n\n@app.route("/developers")\ndef developers():\n return render_template("developers.html")\n\nif __name__ == "__main__":\n app.run(debug=True)\n |