Hi there - welcome! There's a stickied post in the General Discussion category discussing the rating system used here at Chess.com, which is the Glicko system: https://www.chess.com/forum/view/general/chess-rating-system
That's actually a bit different to the Elo rating system, and is explained at https://www.chess.com/blog/kurtgodden/elo-to-glicko-your-rating-explained
In summary though, no, your Elo rating does not change with inactivity: nor does your Glicko rating. What does happen with your Glicko rating is that with more inactivity, your Rating Deviation goes up so that when you DO play next play a rated game, it will have a greater effect on your rating than it would have if you had been playing games more recently.
Hope that helps!
Hello everybody! I recently made an account on chess.com because I noticed the helpful and friendly atmosphere. This is my first time posting on the forums, but if these are like any other websites that I've logged on to, I should get a relatively fast and accurate reply. Thank you, and hope to see you around!