/** * #.# Styles * * CSS for both Frontend+Backend. */ .wp-block-sno-block-snolab-experiments { margin-top: 10rem; padding: 0 0 5rem 0; @media only screen and (max-width:35em) { padding: 2.5rem 0; } .heading { margin-bottom: 3.5rem; } .experiment-card { display: block; margin-bottom: 6rem; .thumbnail { position: relative; background-color: $primary; border-radius: 1rem; overflow: hidden; margin-bottom: 3rem; &::before { content: ''; display: block; width: 100%; padding-top: 56.25%; } img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } } .title { display: block; font-size: 2.4rem; margin-bottom: 0.25rem; } .excerpt { font-weight: normal; @media only screen and (min-width:55em) { font-size: 1.9rem; max-width: 90%; } } .learn-more { font-size: 1.8rem; font-weight: bold; text-decoration: none; .icon-arrow-right { position: relative; margin-left: 0.215rem; font-size: .8em; } } } }