diff --git a/build.xml b/build.xml index d36a97841..b37bcc966 100644 --- a/build.xml +++ b/build.xml @@ -66,7 +66,7 @@ - + diff --git a/web/changelog.html b/web/changelog.html deleted file mode 100644 index f9328ee29..000000000 --- a/web/changelog.html +++ /dev/null @@ -1,134 +0,0 @@ - -

Botania Changelog:

- beta 16:
-
  • Fixed a typo in the config which lead to insane amounts of flowers in newly generated worlds.
  • -
  • Gave a little makeover to the Lexica Botania, you'll notice it.
  • - beta 15:
    -
  • Added a new decorating Livingwood variant.
  • -
  • Added config options for flower generation. Cmat me TPPI.
  • -
  • Added wireframes for blocks with bindings.
  • -
  • Fixed crash with LiteLoader.
  • -
  • Fixed flowers losing which collectors and pools they're bound to in world load, any old flowers need to be broken and replaced, though.
  • -
  • Fixed the Fallen Kanade giving you JUST enough regeneration time for it not to kick in. Also made it regeneration II.
  • -
  • Having a Mana Void under a Mana Pool makes the pool accept mana and dispose of any extra now.
  • -
  • The Mana Spreader now takes a list of all positions and blocks visited by the scan beam and checks against that before doing another simulation, on layman's terms, fixed mana spreaders eating tickrate.
  • - beta 14:
    -
  • Overriden vanilla blocks now relay the registerIcons call to the original block, should fix issues with mods that depend on them losing their textures (e.g. Witchery).
  • - beta 13:
    -
  • Added Mana Cookies, nom.
  • -
  • Fixed a bunch of gramatical issues in the lexica (Mierzen)
  • -
  • The Petal Apothecary can now output to comparators.
  • - beta 12:
    -
  • Added Composite Lenses.
  • -
  • Added Mana Tablet creative version.
  • -
  • Added recipe for Earth Rune using a Red Mushroom
  • -
  • Added some new functional flowers: Orechid, Fallen Kanade, Exoflame, Agricarnation and Hopperhock.
  • -
  • Added some new generating flowers: Thermalily, Nightshade and Rosa Arcana.
  • -
  • Added the Mana Blaster.
  • -
  • Added the Mana Detector.
  • -
  • Added the Mana Enchanter.
  • -
  • Added the Mana Lenses: Phantom, Entropic and Magnetizing.
  • -
  • Added the Spreader Turntable.
  • -
  • Botania and vanilla flowers now have visual snow under them if there's snow on any side. Makes snow biomes much more pleasing.
  • -
  • Changed quite a few things with the API.
  • -
  • Changed the Hydroangeas and Endoflame textures.
  • -
  • Changed the cost for the Jaded Amaranthus and the Hydroanges, crafting wise. They're more expensive now.
  • -
  • Clipping checks for the Mana Burst entity are now handled internally, might fix some crashes.
  • -
  • Endoflames will no longer absorb items with container item data (eg Lava Buckets)
  • -
  • Fixed Dayblooms producing mana even at night.
  • -
  • Fixed Mana Pools never getting removed from the mana network, causing functional flowers trying to bind to pools that don't exist and never getting any mana.
  • -
  • Fixed Rune Altar pulling in mana even after the recipe has been concluded.
  • -
  • Fixed bursts with a Gravity lens having different arcs in prevision and reality.
  • -
  • Fixed crafting Mana Lenses outputting size 0 stacks.
  • -
  • Fixed some ambiguity in the Lexica Botania regarding some items (Heisei Dream and Rune Altar).
  • -
  • Fixed the Mana Spreader shooting a client only burst in singleplayer, having it shoot twice as much as it should.
  • -
  • Fixed tpyos.
  • -
  • Items in the petal and rune crafting pages of the Lexica Botania spin slower now, if enabled.
  • -
  • Made the Damaging lens more powerful.
  • -
  • Mana Lenses no longer display their dyed versions in the creative inventory, too much clutter.
  • -
  • Mana Tablets dropped on the ground won't ever despawn.
  • -
  • Normalized the sound for the functional flowers mana reading to be the same volume as other mana blocks.
  • -
  • Rebalanced the cost for tier 3 runes.
  • -
  • Redid the way flower generation works, it's much less sporadic and random and much more uniform over parts of the world.
  • -
  • Right clicking on Force Relays now has a sound effect.
  • -
  • The Mana Void now resists explosions as much as obsidian does.
  • -
  • The Petal Apothecary can now get water from dropped water buckets in item form.
  • -
  • The client prediction beam now has a larger than normal point that always displays, indicating where mana loss starts to happen.
  • -
  • The client prediction beam with the Wand of the Forest is no longer continuous, but rather, a moving lance. This effectively removes the lag caused by it on a large scale. There's a config option to use the continuous beam instead.
  • -
  • Tweaked the costs and power for some lenses.
  • - beta 11:
    -
  • Added some null checks to the client HUD for the Spreader, fixes a weird crash.
  • -
  • Added functionaility to the Lexica Botania to redirect to other entries when clicking an item, in order to see it's recipe.
  • -
  • Shift clicking the back button in the Lexica Botania now goes back to the index, regardless of where one would be.
  • -
  • Documented the fact that there is mana loss for the spreaders.
  • -
  • API Rework for SubTileEntities and the Mana Network classes. SubTileGenerating and SubTileFunctional are now available API side, as well as all the methods from the Mana Network (getClosestCollector/Pool, getAllCollectors/Pools).
  • -
  • Fixed the Signal Flare ID not being configurable.
  • -
  • Added the Mana Tablet item.
  • - beta 10:
    -
  • Added Hydroangeas. (Pokefenn)
  • -
  • Added the Mana Void.
  • -
  • Bound the lexicon entry for the Jaded Amaranthus to the block.
  • -
  • Fixed a ConcurrentModificationException just waiting to happen with the Wand of the Forest.
  • -
  • Fixed Livingwood and Livingrock blocks dropping the wrong metadata value.
  • -
  • Fixed a typo in the config. (May need to set subtle power system to true again after you install this version if you had it on)
  • -
  • Fixed Endoflames eating full stacks of items.
  • -
  • Endoflames will now only burn items if they have somewhere to output the power.
  • -
  • Endoflames will now wait 1 second after the item can be picked up to burn it.
  • -
  • Endoflames no longer burn Mana Spreaders, ever.
  • -
  • Mana Spreaders now lose 5% of mana put into it by other spreaders. This change is done to combat infinite lenght transportation with no power loss or adverse effects.
  • -
  • Added the Force Relay to the mod's creative tab, forgot it last patch :p
  • -
  • Added comparator support to Mana Pools.
  • -
  • Added a check to the Mana HUD to display at least one pixel of colored bar if there's ANY mana at all in the block.
  • -
  • Tweaked the super update call on the Mana Burst. Should fix some potential issues or crashes with vector pool sizes.
  • -
  • All crafted flowers now have some flavor text.
  • - beta 9:
    -
  • Fixed Livingwood and Livingrock blocks having 0 stack size in creative.
  • -
  • Fixed Mana Pools double dipping for resources.
  • - beta 8:
    -
  • Added the Forge Relay, Mana Pylon, Unstable Beacon, Signal Flare, Mana Distributor and Jaded Amaranthus.
  • -
  • Endoflame particles are a lot more subtle and a lot less resource intensive.
  • -
  • Tweaked the look of the Mana Bursts a bit, also added a config option to reduce the density of those.
  • -
  • Added a bunch of decorative blocks (with forge multipart support).
  • -
  • Added an alt recipe for the runic altar that uses a mana diamond.
  • -
  • Tweaked the Daybloom's values a bit and added a hint to the lexicon entry.
  • - beta 7:
    -
  • Fixed a client crash when breaking flowers with a wand in hand.
  • -
  • Runes take less time to make now.
  • -
  • More recipe balance changes.
  • -
  • Fixed the Rune of Wrath not being in the lexicon.
  • -
  • The mana network gets cleared when there's no world loaded. Fixes "phantom beams" in multiplayer.
  • -
  • The rune altar calculates positions during the render now, fixes weird multiplayer stacking.
  • - beta 6:
    -
  • Fixed a server crash when putting lens in a spreader.
  • -
  • Endoflame now generates at twice the speed.
  • -
  • Changed the lexicon's HUD to be a bit more opaque.
  • -
  • The Wand of the Forest is now Full 3D.
  • -
  • Rebalanced some recipes.
  • -
  • Fixed a critical issue where the flowers wouldn't write to NBT (or packets) properly.
  • - beta 5:
    -
  • Minor texture changes.
  • -
  • Fixed the Rune Altar not working in singleplayer (lol).
  • -
  • All special flowers have the same breaking particles now.
  • -
  • Added 3 new flowers.
  • -
  • Added a HUD to when a block that can be looked up in the lexicon is being hovered.
  • - beta 4:
    -
  • The mod works in multiplayer now, or it should, at least.
  • -
  • Fixed the earth rune using mushroom blocks (the ones in giant mushrooms).
  • -
  • Fixed the rune recipes being out of order.
  • -
  • Fixed not being able to craft Bellethrone.
  • -
  • Looking up something via world right click now requires the player to be sneaking.
  • -
  • Fancified a bunch of things.
  • - alpha 3:
    -
  • Fixed the Rune Altar not accepting any recipes.
  • -
  • Fixed the recipes for runes being out of order.
  • - alpha 2:
    -
  • Documented all the things in the lexicon.
  • -
  • All the blocks/items have recipes now, you can play it in survival
  • -
  • Petal Apothecary no longer removes water buckets in creative
  • -
  • Mana Spreader now faces one of 6 directions when placed
  • -
  • Daybloom only produces during daytime
  • -
  • Bellethorne has an interval between activation
  • -
  • The Lexicon GUI doesn't pause the game
  • - alpha 1:
    -
  • Initial realese.
  • - \ No newline at end of file diff --git a/web/changelog.php b/web/changelog.php new file mode 100644 index 000000000..9cfe40736 --- /dev/null +++ b/web/changelog.php @@ -0,0 +1 @@ + Changelog - Botania | vazkii.us
    Botania Changelog
    '; $changelog .= "

    $version

    "; $first = false; } else { $change = substr($line, 1); $changelog .= "
  • $change
  • "; } } echo('
    '); $changelog .= '
    '; echo($changelog); ?>
    \ No newline at end of file diff --git a/web/changelog.txt b/web/changelog.txt new file mode 100644 index 000000000..665a8ddf3 --- /dev/null +++ b/web/changelog.txt @@ -0,0 +1,131 @@ +beta 16 +*Fixed a typo in the config which lead to insane amounts of flowers in newly generated worlds. +*Gave a little makeover to the Lexica Botania, you'll notice it. +beta 15 +*Added a new decorating Livingwood variant. +*Added config options for flower generation. Cmat me TPPI. +*Added wireframes for blocks with bindings. +*Fixed crash with LiteLoader. +*Fixed flowers losing which collectors and pools they're bound to in world load, any old flowers need to be broken and replaced, though. +*Fixed the Fallen Kanade giving you JUST enough regeneration time for it not to kick in. Also made it regeneration II. +*Having a Mana Void under a Mana Pool makes the pool accept mana and dispose of any extra now. +*The Mana Spreader now takes a list of all positions and blocks visited by the scan beam and checks against that before doing another simulation, on layman's terms, fixed mana spreaders eating tickrate. +beta 14 +*Overriden vanilla blocks now relay the registerIcons call to the original block, should fix issues with mods that depend on them losing their textures (e.g. Witchery). +beta 13 +*Added Mana Cookies, nom. +*Fixed a bunch of gramatical issues in the lexica (Mierzen) +*The Petal Apothecary can now output to comparators. +beta 12 +*Added Composite Lenses. +*Added Mana Tablet creative version. +*Added recipe for Earth Rune using a Red Mushroom +*Added some new functional flowers: Orechid, Fallen Kanade, Exoflame, Agricarnation and Hopperhock. +*Added some new generating flowers: Thermalily, Nightshade and Rosa Arcana. +*Added the Mana Blaster. +*Added the Mana Detector. +*Added the Mana Enchanter. +*Added the Mana Lenses: Phantom, Entropic and Magnetizing. +*Added the Spreader Turntable. +*Botania and vanilla flowers now have visual snow under them if there's snow on any side. Makes snow biomes much more pleasing. +*Changed quite a few things with the API. +*Changed the Hydroangeas and Endoflame textures. +*Changed the cost for the Jaded Amaranthus and the Hydroanges, crafting wise. They're more expensive now. +*Clipping checks for the Mana Burst entity are now handled internally, might fix some crashes. +*Endoflames will no longer absorb items with container item data (eg Lava Buckets) +*Fixed Dayblooms producing mana even at night. +*Fixed Mana Pools never getting removed from the mana network, causing functional flowers trying to bind to pools that don't exist and never getting any mana. +*Fixed Rune Altar pulling in mana even after the recipe has been concluded. +*Fixed bursts with a Gravity lens having different arcs in prevision and reality. +*Fixed crafting Mana Lenses outputting size 0 stacks. +*Fixed some ambiguity in the Lexica Botania regarding some items (Heisei Dream and Rune Altar). +*Fixed the Mana Spreader shooting a client only burst in singleplayer, having it shoot twice as much as it should. +*Fixed tpyos. +*Items in the petal and rune crafting pages of the Lexica Botania spin slower now, if enabled. +*Made the Damaging lens more powerful. +*Mana Lenses no longer display their dyed versions in the creative inventory, too much clutter. +*Mana Tablets dropped on the ground won't ever despawn. +*Normalized the sound for the functional flowers mana reading to be the same volume as other mana blocks. +*Rebalanced the cost for tier 3 runes. +*Redid the way flower generation works, it's much less sporadic and random and much more uniform over parts of the world. +*Right clicking on Force Relays now has a sound effect. +*The Mana Void now resists explosions as much as obsidian does. +*The Petal Apothecary can now get water from dropped water buckets in item form. +*The client prediction beam now has a larger than normal point that always displays, indicating where mana loss starts to happen. +*The client prediction beam with the Wand of the Forest is no longer continuous, but rather, a moving lance. This effectively removes the lag caused by it on a large scale. There's a config option to use the continuous beam instead. +*Tweaked the costs and power for some lenses. +beta 11 +*Added some null checks to the client HUD for the Spreader, fixes a weird crash. +*Added functionaility to the Lexica Botania to redirect to other entries when clicking an item, in order to see it's recipe. +*Shift clicking the back button in the Lexica Botania now goes back to the index, regardless of where one would be. +*Documented the fact that there is mana loss for the spreaders. +*API Rework for SubTileEntities and the Mana Network classes. SubTileGenerating and SubTileFunctional are now available API side, as well as all the methods from the Mana Network (getClosestCollector/Pool, getAllCollectors/Pools). +*Fixed the Signal Flare ID not being configurable. +*Added the Mana Tablet item. +beta 10 +*Added Hydroangeas. (Pokefenn) +*Added the Mana Void. +*Bound the lexicon entry for the Jaded Amaranthus to the block. +*Fixed a ConcurrentModificationException just waiting to happen with the Wand of the Forest. +*Fixed Livingwood and Livingrock blocks dropping the wrong metadata value. +*Fixed a typo in the config. (May need to set subtle power system to true again after you install this version if you had it on) +*Fixed Endoflames eating full stacks of items. +*Endoflames will now only burn items if they have somewhere to output the power. +*Endoflames will now wait 1 second after the item can be picked up to burn it. +*Endoflames no longer burn Mana Spreaders, ever. +*Mana Spreaders now lose 5% of mana put into it by other spreaders. This change is done to combat infinite lenght transportation with no power loss or adverse effects. +*Added the Force Relay to the mod's creative tab, forgot it last patch :p +*Added comparator support to Mana Pools. +*Added a check to the Mana HUD to display at least one pixel of colored bar if there's ANY mana at all in the block. +*Tweaked the super update call on the Mana Burst. Should fix some potential issues or crashes with vector pool sizes. +*All crafted flowers now have some flavor text. +beta 9 +*Fixed Livingwood and Livingrock blocks having 0 stack size in creative. +*Fixed Mana Pools double dipping for resources. +beta 8 +*Added the Forge Relay, Mana Pylon, Unstable Beacon, Signal Flare, Mana Distributor and Jaded Amaranthus. +*Endoflame particles are a lot more subtle and a lot less resource intensive. +*Tweaked the look of the Mana Bursts a bit, also added a config option to reduce the density of those. +*Added a bunch of decorative blocks (with forge multipart support). +*Added an alt recipe for the runic altar that uses a mana diamond. +*Tweaked the Daybloom's values a bit and added a hint to the lexicon entry. +beta 7 +*Fixed a client crash when breaking flowers with a wand in hand. +*Runes take less time to make now. +*More recipe balance changes. +*Fixed the Rune of Wrath not being in the lexicon. +*The mana network gets cleared when there's no world loaded. Fixes "phantom beams" in multiplayer. +*The rune altar calculates positions during the render now, fixes weird multiplayer stacking. +beta 6 +*Fixed a server crash when putting lens in a spreader. +*Endoflame now generates at twice the speed. +*Changed the lexicon's HUD to be a bit more opaque. +*The Wand of the Forest is now Full 3D. +*Rebalanced some recipes. +*Fixed a critical issue where the flowers wouldn't write to NBT (or packets) properly. +beta 5 +*Minor texture changes. +*Fixed the Rune Altar not working in singleplayer (lol). +*All special flowers have the same breaking particles now. +*Added 3 new flowers. +*Added a HUD to when a block that can be looked up in the lexicon is being hovered. +beta 4 +*The mod works in multiplayer now, or it should, at least. +*Fixed the earth rune using mushroom blocks (the ones in giant mushrooms). +*Fixed the rune recipes being out of order. +*Fixed not being able to craft Bellethrone. +*Looking up something via world right click now requires the player to be sneaking. +*Fancified a bunch of things. +alpha 3 +*Fixed the Rune Altar not accepting any recipes. +*Fixed the recipes for runes being out of order. +alpha 2 +*Documented all the things in the lexicon. +*All the blocks/items have recipes now, you can play it in survival +*Petal Apothecary no longer removes water buckets in creative +*Mana Spreader now faces one of 6 directions when placed +*Daybloom only produces during daytime +*Bellethorne has an interval between activation +*The Lexicon GUI doesn't pause the game +alpha 1 +*Initial realese. \ No newline at end of file diff --git a/web/downloads.php b/web/downloads.php new file mode 100644 index 000000000..cc33a1873 --- /dev/null +++ b/web/downloads.php @@ -0,0 +1,93 @@ + + + Downloads - Botania | vazkii.us + + + + + + + + +
    +
    + 2) { + $dls = get_dls($file); + $total_dls += intval($dls); + $dls = number_format($dls); + $button_type = 'old-dl'; + $cl_button_type = 'btn-sm'; + + $file_version = substr($file, strlen('Botania ')); + $version_name = substr($file_version, 0, strlen($file_version) - strlen('.jar')); + + $dls_txt = 'Downloads'; + if($dls == 1) + $dls_txt = 'Download'; + + if($first) { + $button_type = 'btn-lg'; + $cl_button_type = ''; + } + + $downloads_str .= "$file Changelog $dls $dls_txt"; + + if($first) { + $downloads_str .= '


    Old Versions

    '; + $first = false; + } else $downloads_str .= '
    '; + } + + $total_dl_str = number_format($total_dls); + print("

    Botania has been downloaded a total of $total_dl_str times.

    "); + print($downloads_str); + ?> +
    +
    + + + + + + + \ No newline at end of file diff --git a/web/img/feature0.jpg b/web/img/feature0.jpg new file mode 100644 index 000000000..dda0ff871 Binary files /dev/null and b/web/img/feature0.jpg differ diff --git a/web/img/ftb.png b/web/img/ftb.png new file mode 100644 index 000000000..7981649f0 Binary files /dev/null and b/web/img/ftb.png differ diff --git a/web/img/github.png b/web/img/github.png new file mode 100644 index 000000000..8b25551a9 Binary files /dev/null and b/web/img/github.png differ diff --git a/web/img/irc.png b/web/img/irc.png new file mode 100644 index 000000000..118eca19e Binary files /dev/null and b/web/img/irc.png differ diff --git a/web/img/logo.png b/web/img/logo.png new file mode 100644 index 000000000..1fb6ec161 Binary files /dev/null and b/web/img/logo.png differ diff --git a/web/img/mcf.png b/web/img/mcf.png new file mode 100644 index 000000000..2d0568da1 Binary files /dev/null and b/web/img/mcf.png differ diff --git a/web/img/patreon.png b/web/img/patreon.png new file mode 100644 index 000000000..338c24db8 Binary files /dev/null and b/web/img/patreon.png differ diff --git a/web/img/ss0.jpg b/web/img/ss0.jpg new file mode 100644 index 000000000..320322d7a Binary files /dev/null and b/web/img/ss0.jpg differ diff --git a/web/img/ss1.jpg b/web/img/ss1.jpg new file mode 100644 index 000000000..95a3472ff Binary files /dev/null and b/web/img/ss1.jpg differ diff --git a/web/img/ss2.jpg b/web/img/ss2.jpg new file mode 100644 index 000000000..2c46638fd Binary files /dev/null and b/web/img/ss2.jpg differ diff --git a/web/img/ss3.jpg b/web/img/ss3.jpg new file mode 100644 index 000000000..096bdaefc Binary files /dev/null and b/web/img/ss3.jpg differ diff --git a/web/img/twitter.png b/web/img/twitter.png new file mode 100644 index 000000000..cef86b568 Binary files /dev/null and b/web/img/twitter.png differ diff --git a/web/index.php b/web/index.php index 7f9ca2127..d6a32627e 100644 --- a/web/index.php +++ b/web/index.php @@ -1,45 +1,137 @@ + - Botania Files + Botania | vazkii.us + + + + - Botania Files
    -
    Botania Thread (FTB Forums)
    - Botania Thread (Minecraft Forums)
    - Back to vazkii.us -


    - - Creative Commons Licence
    Botania by Vazkii is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    - This webpage and Botania itself are open source. Contribute to the project on GitHub! -

    - Botania Changelog
    - - - + - foreach($files as $file) - if(strlen($file) > 2) { - $dls = get_dls($file); - $total_dls += intval($dls); - $dls = number_format($dls); - $downloads_str .= "$file ($dls Downloads)
    "; - - if($first) { - $downloads_str .= '
    Old Versions
    '; - $first = false; - } - } - - $total_dl_str = number_format($total_dls); - print("Botania has been downloaded a total of $total_dl_str times.

    "); - print($downloads_str); - ?> +
    +
    + +
    + +
    +
    - +
    +
    + Generic placeholder image +
    +
    +

    Magic. Naturally.

    +

    Botania is a magic tech mod based on nature. The main concept is to create magical flowers and devices utilizing the power of the earth, in the form of Mana.

    + + The Mana system works through aiming Mana Spreaders into other blocks, because pipes or instantaneous connections are boring.

    + + Botania follows some design rules:
    + No pipes, wires or equivalent, they are boring and overdone.
    + Abstain from using GUIs in favour of in-world interaction.
    + Refrain from showing numbers to the player. When you look at nature you don't see numbers.
    + Provide pleasing visuals utilizing only two different particle effects.
    + Utilize renewable resources where possible.

    + Download Botania +

    +
    +
    + +
    + +
    +
    +

    Not convinced yet? Check out some videos.

    +

    +
    +
    +
    +
    + + + + + + \ No newline at end of file diff --git a/web/page.css b/web/page.css new file mode 100644 index 000000000..30f721227 --- /dev/null +++ b/web/page.css @@ -0,0 +1,126 @@ +html { + position: relative; + min-height: 100%; +} + +.container { + margin-left: 0px; + width: 100% +} + +.content { + margin-top: 100px; + margin-bottom: 60px; +} + +.navbar { + background-color: #0d6214; + border: none; + box-shadow: 0px 3px 4px #000000, 0px 0px 25px #19ac46 inset; +} + +.navbar-brand { + padding: 4px 20px; + height: 80px; +} + +.nav { + margin-left: 20px; + margin-top: 30px; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + background-color: #04410e; + box-shadow: 0px -2px 8px #04410e; +} + +.content { + margin-bottom: 40px; +} + +.carousel { + height: 500px; + margin-top: -18px; +} + +.carousel-caption { + z-index: 10; +} + +.carousel .item { + height: 500px; + background-color: #777; +} + +.carousel-inner { + outline: double; + box-shadow: 0px 0px 20px 8px #000000; +} + +.carousel-inner > .item > img { + position: absolute; + top: 0; + left: 0; + height: 500px; + width: 100%; +} + +.featurette-divider { + margin: 20px 0; +} + +.featurette-heading { + font-weight: 300; + line-height: 1; + letter-spacing: -1px; +} + +.featurette-image { + box-shadow: 0px 0px 20px 2px #000000; +} + +.youtube { + width: 1200px; +} + +iframe { + width: 380px; + height: 280px; + margin: 15px 0px 40px 10px; + box-shadow: -1px 0px 20px 2px #000000; +} + +.dl { + width: 220px; +} + +.dl-counter { + width: 150px; +} + +.old-dl { + margin-bottom: 3px; +} + +#footer { + position: fixed; + bottom: 0; + right: 25%; + left: 25%; + text-align: center; + background-color: #a9e6b7; + padding-top: 3px; + box-shadow: 0px 0px 25px #19ac46 inset, 0px 0px 25px #19ac46; +} + +#footer > a { + text-decoration:none; +} + +.padded { + margin-left: 20px; + margin-right: 20px; + border: none; +} \ No newline at end of file diff --git a/web/scroll.js b/web/scroll.js new file mode 100644 index 000000000..972e58e51 --- /dev/null +++ b/web/scroll.js @@ -0,0 +1,12 @@ +$(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(); + + if(hash == 'Back to top') + $('html, body').animate({ scrollTop: 0 }, 500); + else $('html, body').animate({ scrollTop: $("#" + hash + "-fake").offset().top - 100 }, 1000); +}); \ No newline at end of file