* { box-sizing: border-box; } body { background-color: #e5e5e5; font-family: sans-serif; margin: 0; } nav { background-color: #fff; padding: 16px; width: 100%; } nav a { background-color: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 3px; display: inline-block; padding: 8px 16px; } nav form { display: inline-block; } nav input { padding: 8px; } nav input[type="submit"] { padding: 8px 16px; } section { display: flex; flex-wrap: wrap; justify-content: space-around; margin: 0; } article { padding: 16px; } .border { background-color: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); margin: 0; max-width: 300px; padding: 0; } .image-box { background-color: #f5f5f5; border-radius: 3px 3px 0 0; max-width: 100%; } img, video { border-radius: 3px 3px 0 0; display: block; width: 100%; } .metadata { padding: 8px 16px; } .field { padding: 4px 0; } h4 { font-size: 14px; margin: 0; } p { font-size: 12px; margin: 0; } p.hex { word-wrap: break-word; } ul { list-style: none; margin: 0; padding: 0; } li { font-size: 12px; }