More CSS adjustments

Changes for device_block include: box-shadow instead of border, centered text alignment, larger top and bottom padding, smaller margins, and border rounding on images.