SuperFlower (Talk | contribs) |
SuperFlower (Talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
if ($(adate).length) { | if ($(adate).length) { | ||
− | n = $(adate). | + | n = $(adate).text().length; |
− | if (n >= | + | if (n >= 2500) c = "5"; |
− | + | else if (n >= 2000) c = "4"; | |
− | else if (n >= | + | else if (n >= 1500) c = "3"; |
− | + | else if (n >= 1000) c = "2"; | |
− | + | else if (n >= 500) 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: # | + | background-color: #a7848c; /*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: #84a79f; /*#ffeeeb*/ } |
− | time.day-1 a { background-color: # | + | time.day-1 a { background-color: #759d93; /*#ffccc4*/ } |
− | time.day-2 a { background-color: # | + | time.day-2 a { background-color: #679187; /*#ffa99d*/ } |
− | time.day-3 a { background-color: # | + | time.day-3 a { background-color: #5c8279; /*#ff8776*/ } |
− | time.day-4 a { background-color: # | + | time.day-4 a { background-color: #52736b; /*#ff654e*/ } |
− | time.day-5 a { background-color: # | + | time.day-5 a { background-color: #47645d; /*#ff3114*/ } |
</style> | </style> | ||
<div class="content_wrapper" style="display: flex; flex-direction: column;"> | <div class="content_wrapper" style="display: flex; flex-direction: column;"> |
Latest revision as of 14:48, 15 June 2017