Template:LocaleDate/styles.css: Difference between revisions

variables do not seem to work here in any browser but Firefox, so revert to explicit values which will be overridden in JS
m (worked in Firefox but not Opera; what about these quotes?)
Tag: Reverted
(variables do not seem to work here in any browser but Firefox, so revert to explicit values which will be overridden in JS)
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
   --day-order:2;
   --day-order:2;
   --month-order:1;
   --month-order:1;
  --day-before:'/';
  --month-before:'\00a0'; /* use "\00a0" for a non-breaking space */
}
}


Line 30: Line 28:


/* Add separators */
/* Add separators */
.date-day::before  {content:var(--day-before);}
.date-day::before  {content:"/";}
.date-month::before{content:var(--month-before);}
.date-month::before{content:"\00a0";} /* \00a0 is a non-breaking space */
.date-year::before {content:"/";} /* or ", " for long format */
.date-year::before {content:"/";} /* or ", " for long format */