From 4646d0b658e1c2cec9dfdfe366611485b8bb0e92 Mon Sep 17 00:00:00 2001 From: aggelosQQ Date: Sun, 25 Sep 2016 07:17:55 +0300 Subject: [PATCH] Some changes to the second section --- css/main.css | 4 ++-- js/main.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/css/main.css b/css/main.css index f92d0f5..df42184 100644 --- a/css/main.css +++ b/css/main.css @@ -49,7 +49,7 @@ body { padding: 30px; } #rules-title { - font-size: 2.8em; + font-size: 2.2em; z-index: 100; display: inline-block; background: rgba(230, 230, 230, 0.1); @@ -66,7 +66,7 @@ body { transition: all 0.2s ease-in-out; } #rules-title:hover { - background: rgba(250, 250, 250, 0.2); + background: rgba(210, 210, 210, 0.2); } i.rules-icon { position: relative; diff --git a/js/main.js b/js/main.js index 9869ec3..4c12eec 100644 --- a/js/main.js +++ b/js/main.js @@ -37,42 +37,42 @@ $(document).ready(function() { $(document).ready(function() { $('.one').click(function() { - $('.a').fadeToggle("slow"); + $('.a').fadeToggle(300); $(".one i").toggleClass('fa-chevron-right', 1000); $(".one i").toggleClass('fa-chevron-down', 1000); }); $('.two').click(function() { - $('.b').fadeToggle("slow"); + $('.b').fadeToggle(300); $(".two i").toggleClass('fa-chevron-right'); $(".two i").toggleClass('fa-chevron-down'); }); $('.three').click(function() { - $('.c').fadeToggle("slow"); + $('.c').fadeToggle(300); $(".three i").toggleClass('fa-chevron-right'); $(".three i").toggleClass('fa-chevron-down'); }); $('.four').click(function() { - $('.d').fadeToggle("slow"); + $('.d').fadeToggle(300); $(".four i").toggleClass('fa-chevron-right'); $(".four i").toggleClass('fa-chevron-down'); }); $('.five').click(function() { - $('.e').fadeToggle("slow"); + $('.e').fadeToggle(300); $(".five i").toggleClass('fa-chevron-right'); $(".five i").toggleClass('fa-chevron-down'); }); $('.six').click(function() { - $('.f').fadeToggle("slow"); + $('.f').fadeToggle(300); $(".six i").toggleClass('fa-chevron-right'); $(".six i").toggleClass('fa-chevron-down'); }); $('.seven').click(function() { - $('.g').fadeToggle("slow"); + $('.g').fadeToggle(300); $(".seven i").toggleClass('fa-chevron-right'); $(".seven i").toggleClass('fa-chevron-down'); }); $('.eight').click(function() { - $('.h').fadeToggle("slow"); + $('.h').fadeToggle(300); $(".eight i").toggleClass('fa-chevron-right'); $(".eight i").toggleClass('fa-chevron-down'); });