Composting is really quite simple and you have to abide by just a short list of things you shouldn't put in your compost, but other than that, Nature does a pretty good job of taking care of the rest.
You don't have to worry about ratios or anything like that, just put your greens and brown in, and avoid the "reds" listed at the bottom of this page.