Module:SkillNav: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 120: Line 120:
             args = {'Character', args.char}
             args = {'Character', args.char}
         };
         };
        colors= colors:gsub('#', '#')
     end
     end


Line 130: Line 131:


     header:css('background-color', colors);
     header:css('background-color', colors);
   
 
     if (args.is_guild ~= nil) then
     if (args.is_guild ~= nil) then
         header:css({
         header:css({
             ['justify-content'] = 'center',
             ['justify-content'] = 'center',
             ['background-color'] = colors:gsub('#', '#')
             ['background-color'] = colors
         });
         });
     end
     end