UNPKG

react-hartan

Version:

A simple components library for React

73 lines (61 loc) 1.16 kB
/* Statistics Styling */ /* statistics section container */ .statistics { display: flex; justify-content: space-around; align-items: center; gap: 5rem; padding: 1rem 5rem; } /* statistics div container */ .abtStats { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 5rem; } .abtStats div h1 { font-size: 3rem; } .abtStats div p { font-size: 1.3rem; font-weight: 500; color: #6b6868; } /* statistics data container */ .statsBlocks { display: flex; justify-content: space-around; gap: 1rem; flex-wrap: wrap; width: 100%; } .statsBlocks div { display: flex; flex-direction: column; justify-content: center; align-items: center; } .statsBlocks div h2 { font-size: 2rem; } /* Responsive Design */ @media (max-width:1024px) { .statistics { flex-direction: column; } } @media (max-width: 768px) { .abtStats { flex-direction: column; } .statistics figure img { height: 20rem; } } @media (max-width: 460px) { .statistics figure img { height: 10rem; } }