Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .recipe-card {
- background: #fff;
- margin: 4em auto;
- width: 90%;
- max-width: 496px;
- border-color: black;
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
- }
- .recipe-card aside {
- position: relative;
- }
- .recipe-card aside img {
- border-top-left-radius: 5px;
- border-top-right-radius: 5px;
- }
- .recipe-card aside .button {
- background: #57abf2;
- display: inline-block;
- position: absolute;
- top: 80%;
- right: 3%;
- width: 4.0625em;
- height: 4.0625em;
- border-radius: 4.0625em;
- line-height: 4.0625em;
- text-align: center;
- }
- .recipe-card aside .button .icon {
- vertical-align: middle;
- color: #F2F2F2;
- }
- .recipe-card article {
- padding: 1.25em 1.5em;
- }
- .recipe-card article ul {
- list-style: none;
- margin: 0.5em 0 0;
- padding: 0;
- }
- .recipe-card article ul li {
- display: inline-block;
- margin-left: 1em;
- line-height: 1em;
- }
- .recipe-card article ul li:first-child {
- margin-left: 0;
- }
- .recipe-card article ul li .icon {
- vertical-align: bottom;
- }
- .recipe-card article ul li span:nth-of-type(2) {
- margin-left: 0.5em;
- font-size: 0.8em;
- font-weight: 300;
- vertical-align: middle;
- color: #838689;
- }
- .recipe-card article h2, .recipe-card article h3 {
- margin: 0;
- font-weight: 300;
- }
- .recipe-card article h2 {
- font-size: 1.75em;
- color: #222222;
- }
- .recipe-card article h3 {
- font-size: 0.9375em;
- color: #838689;
- }
- .recipe-card article p {
- margin: 1.25em 0;
- font-size: 0.8125em;
- font-weight: 400;
- color: #222222;
- }
- .recipe-card article p span {
- font-weight: 700;
- color: #000000;
- }
- .recipe-card article .ingredients {
- margin: 2em 0 0.5em;
- }
- .recipe-card .icon {
- display: inline;
- display: inline-block;
- background-image: url(http://cl.nordyvlasman.nl/icons.svg);
- color: #F2F2F2;
- background-repeat: no-repeat;
- }
- .recipe-card .icon-calories, .recipe-card .icon-calories\:regular {
- background-position: 0 0;
- width: 16px;
- height: 19px;
- }
- .recipe-card .icon-clock, .recipe-card .icon-clock\:regular {
- background-position: 0 -19px;
- width: 20px;
- height: 20px;
- }
- .recipe-card .icon-level, .recipe-card .icon-level\:regular {
- background-position: 0 -39px;
- width: 16px;
- height: 19px;
- }
- .recipe-card .icon-play, .recipe-card .icon-play\:regular {
- background-position: 0 -58px;
- width: 21px;
- height: 26px;
- }
- .recipe-card .icon-users, .recipe-card .icon-users\:regular {
- background-position: 0 -84px;
- width: 18px;
- height: 18px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement