Some changes to the second section

This commit is contained in:
aggelosQQ 2016-09-25 07:17:55 +03:00
parent 2e333b637e
commit 4646d0b658
2 changed files with 10 additions and 10 deletions

View file

@ -49,7 +49,7 @@ body {
padding: 30px; padding: 30px;
} }
#rules-title { #rules-title {
font-size: 2.8em; font-size: 2.2em;
z-index: 100; z-index: 100;
display: inline-block; display: inline-block;
background: rgba(230, 230, 230, 0.1); background: rgba(230, 230, 230, 0.1);
@ -66,7 +66,7 @@ body {
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
} }
#rules-title:hover { #rules-title:hover {
background: rgba(250, 250, 250, 0.2); background: rgba(210, 210, 210, 0.2);
} }
i.rules-icon { i.rules-icon {
position: relative; position: relative;

View file

@ -37,42 +37,42 @@ $(document).ready(function() {
$(document).ready(function() { $(document).ready(function() {
$('.one').click(function() { $('.one').click(function() {
$('.a').fadeToggle("slow"); $('.a').fadeToggle(300);
$(".one i").toggleClass('fa-chevron-right', 1000); $(".one i").toggleClass('fa-chevron-right', 1000);
$(".one i").toggleClass('fa-chevron-down', 1000); $(".one i").toggleClass('fa-chevron-down', 1000);
}); });
$('.two').click(function() { $('.two').click(function() {
$('.b').fadeToggle("slow"); $('.b').fadeToggle(300);
$(".two i").toggleClass('fa-chevron-right'); $(".two i").toggleClass('fa-chevron-right');
$(".two i").toggleClass('fa-chevron-down'); $(".two i").toggleClass('fa-chevron-down');
}); });
$('.three').click(function() { $('.three').click(function() {
$('.c').fadeToggle("slow"); $('.c').fadeToggle(300);
$(".three i").toggleClass('fa-chevron-right'); $(".three i").toggleClass('fa-chevron-right');
$(".three i").toggleClass('fa-chevron-down'); $(".three i").toggleClass('fa-chevron-down');
}); });
$('.four').click(function() { $('.four').click(function() {
$('.d').fadeToggle("slow"); $('.d').fadeToggle(300);
$(".four i").toggleClass('fa-chevron-right'); $(".four i").toggleClass('fa-chevron-right');
$(".four i").toggleClass('fa-chevron-down'); $(".four i").toggleClass('fa-chevron-down');
}); });
$('.five').click(function() { $('.five').click(function() {
$('.e').fadeToggle("slow"); $('.e').fadeToggle(300);
$(".five i").toggleClass('fa-chevron-right'); $(".five i").toggleClass('fa-chevron-right');
$(".five i").toggleClass('fa-chevron-down'); $(".five i").toggleClass('fa-chevron-down');
}); });
$('.six').click(function() { $('.six').click(function() {
$('.f').fadeToggle("slow"); $('.f').fadeToggle(300);
$(".six i").toggleClass('fa-chevron-right'); $(".six i").toggleClass('fa-chevron-right');
$(".six i").toggleClass('fa-chevron-down'); $(".six i").toggleClass('fa-chevron-down');
}); });
$('.seven').click(function() { $('.seven').click(function() {
$('.g').fadeToggle("slow"); $('.g').fadeToggle(300);
$(".seven i").toggleClass('fa-chevron-right'); $(".seven i").toggleClass('fa-chevron-right');
$(".seven i").toggleClass('fa-chevron-down'); $(".seven i").toggleClass('fa-chevron-down');
}); });
$('.eight').click(function() { $('.eight').click(function() {
$('.h').fadeToggle("slow"); $('.h').fadeToggle(300);
$(".eight i").toggleClass('fa-chevron-right'); $(".eight i").toggleClass('fa-chevron-right');
$(".eight i").toggleClass('fa-chevron-down'); $(".eight i").toggleClass('fa-chevron-down');
}); });