How to add custom css file by code?
in hook_init, removing the first slash should solve the problem. If not, check for permissions.

drupal_add_css("/".drupal_get_path('module', 'mymodule') . '/style.css');


Should be 

drupal_add_css(drupal_get_path('module', 'mymodule') . '/style.css');