SuperFlower (Talk | contribs) |
SuperFlower (Talk | contribs) |
||
Line 6: | Line 6: | ||
if ($(adate).length) { | if ($(adate).length) { | ||
− | n = $(adate) | + | n = $(adate + " > ul > li").length; |
− | if (n >= | + | if (n >= 8) c = "5"; |
− | else if (n >= | + | else if (n >= 6) c = "4"; |
else if (n >= 4) c = "3"; | else if (n >= 4) c = "3"; | ||
else if (n >= 3) c = "2"; | else if (n >= 3) c = "2"; | ||
else if (n >= 2) c = "1"; | else if (n >= 2) c = "1"; | ||
− | else c = " | + | else c = "0"; |
$(this).addClass("day-"+c); | $(this).addClass("day-"+c); | ||
Line 73: | Line 73: | ||
display: block; | display: block; | ||
text-shadow: 2px 2px rgba(210,83,65,0.4); | text-shadow: 2px 2px rgba(210,83,65,0.4); | ||
− | text-shadow: 2px 2px #727272; | + | text-shadow: 2px 2px #727272; *Text shadow Robin* |
box-shadow: 2px 2px rgba(210,83,65,0.4); | box-shadow: 2px 2px rgba(210,83,65,0.4); | ||
− | box-shadow: 2px 2px 6px #000000; | + | box-shadow: 2px 2px 6px #000000; *Robin coop Modif* |
transition: all 50ms ease-out; | transition: all 50ms ease-out; | ||
− | background-color: #b1a59b; | + | background-color: #b1a59b; *Modif couleur* |
padding: 5px; | padding: 5px; | ||
text-decoration: none; | text-decoration: none; | ||
Line 83: | Line 83: | ||
} | } | ||
− | time.day-0 a { background-color: # | + | time.day-0 a { background-color: #003400; /*#ffeeeb*/ } |
time.day-1 a { background-color: #004e00; /*#ffccc4*/ } | time.day-1 a { background-color: #004e00; /*#ffccc4*/ } | ||
time.day-2 a { background-color: #006700; /*#ffa99d*/ } | time.day-2 a { background-color: #006700; /*#ffa99d*/ } |
Revision as of 12:51, 15 June 2017