change language structure and add ipad responsiveness

HTML:  block code, add figcaption, remove ids , remove types
CSS:  add @media for ipad, remove redundant styles and add to body, and
remove id styles