Jump to content

Template:LocaleDate/styles.css: Difference between revisions

m
no edit summary
(changed separators to variables, cleaned up markup, disabled unwanted markup and added some inline docs)
mNo edit summary
Line 1: Line 1:
/* Source: https://stackoverflow.com/questions/29359486/use-css-to-format-date-time-or-percent-value */
/* Source: https://stackoverflow.com/questions/29359486/use-css-to-format-date-time-or-percent-value */


:root /* These variables are here to be changed by JavaScript code in MediaWiki:Common.js */
/* These variables are here to be changed by JavaScript code in MediaWiki:Common.js */
{
:root {
   --day-order:2;
   --day-order:2;
   --month-order:1;
   --month-order:1;
   --day-before:"/";
   --day-before:"/";
   --month-before:""; /* use "\00a0" for a non-breaking space */
   --month-before:"\00a0"; /* use "\00a0" for a non-breaking space */
}
}