Module:Babel and Module:Babel/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Jonesey95
fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value
 
imported>Plastikspork
Simplify, standard box-shadow is now well supported
 
Line 76: Line 76:
row1:tag('th')
row1:tag('th')
:css({ ['background-color'] = color,
:css({ ['background-color'] = color,
['color'] = 'inherit',
['text-align'] = 'center' })
['text-align'] = 'center' })
:attr('colspan',col_span)
:attr('colspan',col_span)
Line 84: Line 83:
row3:tag('td')
row3:tag('td')
:css({ ['background-color'] = color,
:css({ ['background-color'] = color,
['color'] = 'inherit',
['text-align'] = 'center' })
['text-align'] = 'center' })
:attr('colspan',col_span)
:attr('colspan',col_span)