Difference between revisions of "Template:Aix-Marseille/Notebook"

 
(20 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
 
 
if ($(adate).length) {
 
if ($(adate).length) {
n = $(adate + " > ul > li").length;
+
n = $(adate).text().length;
  
if      (n >= 8) c = "5";
+
if      (n >= 2500) c = "5";
else if (n >= 6) c = "4";
+
else if (n >= 2000) c = "4";
else if (n >= 4) c = "3";
+
else if (n >= 1500) c = "3";
else if (n >= 3) c = "2";
+
else if (n >= 1000) c = "2";
else if (n >= 2) c = "1";
+
else if (n >= 500) c = "1";
 
else            c = "0";
 
else            c = "0";
 
 
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 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 #8f7f70;                              *Robin coop Modif*
+
   box-shadow: 2px 2px 6px #000000;                              /*Robin coop Modif*/
 
   transition: all 50ms ease-out;
 
   transition: all 50ms ease-out;
   background-color: #b1a59b;                                    *Modif couleur*
+
   background-color: #a7848c;                                    /*Modif couleur*/
 
   padding: 5px;
 
   padding: 5px;
 
   text-decoration: none;
 
   text-decoration: none;
Line 82: Line 83:
 
}
 
}
  
time.day-0 a { background-color: #003400; /*#ffeeeb*/ }
+
time.day-0 a { background-color: #84a79f; /*#ffeeeb*/ }
time.day-1 a { background-color: #004e00; /*#ffccc4*/ }
+
time.day-1 a { background-color: #759d93; /*#ffccc4*/ }
time.day-2 a { background-color: #006700; /*#ffa99d*/ }
+
time.day-2 a { background-color: #679187; /*#ffa99d*/ }
time.day-3 a { background-color: #008100; /*#ff8776*/ }
+
time.day-3 a { background-color: #5c8279; /*#ff8776*/ }
time.day-4 a { background-color: #009a00; /*#ff654e*/ }
+
time.day-4 a { background-color: #52736b; /*#ff654e*/ }
time.day-5 a { background-color: #572b16; /*#ff3114*/ }
+
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

June

July

August

September