Readability is a big thing with programming. Putting multiple styles on one line makes it harder to find errors such as missing semicolons, spelling mistakes, and incorrect styles.
The concept of a css block is that it starts with the identifier, then the opening bracket. Then each style on its own line, with the closing bracket on its own line at the end.
https://github.com/anicaug/prj-rev-bwfs-dasmoto/blob/68a44c46cce1cdad3f807d71f7d7e3354179dec6/DasmotosArts/resources/css/style.css#L1-L8
Readability is a big thing with programming. Putting multiple styles on one line makes it harder to find errors such as missing semicolons, spelling mistakes, and incorrect styles.
The concept of a css block is that it starts with the identifier, then the opening bracket. Then each style on its own line, with the closing bracket on its own line at the end.
Your code reformatted below