sw0rd I want to change the container csss in the index page. I will only assign a css to index.php.
I assume, you are talking about the home page of your website, the page you see if you click on the title or logo in the left upper corner. If that's the case, your solution depends on the nature of your home page. If it's the tags view, the <div class="TagsPage">
as a child node of <main class="App-content">
and <div id="content">
will help you to put in your specific CSS. If your home page however is the all discussions view, the node at the same location will be <div class="IndexPage">
and thus the same as in every other view of a specific tag, i.e. a list of discussions. If that is your case and you want to have them look different from your all discussions view, you indeed have a problem.
With pure CSS this is -- I think -- not to solve. We don't have an ID, a class or a useful difference in the node structure to adress these views differently with CSS.
Before I dwell on my assumptions any longer, I would like you to confirm them. Maybe I'm totally off.