Code to check amount of blog posts and add css

You can use something like $wp_query->found_posts to get the number of posts in the loop.

if( $wp_query->found_posts > 1 ){
  // add css for multiple posts
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)