styles adjusted to content