How do I add a custom css to all posts without affecting homepage css? [closed]

By default, WordPress sets various classes to <body> depending on which page, template, parent, .. you are on. For a single post, some of these are single and single-post, so you could use the following

body.single.single-post .post-meta {
    margin-right: 0px !important;
}