Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. .recipe-card {
  2. background: #fff;
  3. margin: 4em auto;
  4. width: 90%;
  5. max-width: 496px;
  6. border-color: black;
  7. border-top-left-radius: 5px;
  8. border-top-right-radius: 5px;
  9. border-bottom-left-radius: 5px;
  10. border-bottom-right-radius: 5px;
  11. }
  12. .recipe-card aside {
  13. position: relative;
  14. }
  15. .recipe-card aside img {
  16. border-top-left-radius: 5px;
  17. border-top-right-radius: 5px;
  18. }
  19. .recipe-card aside .button {
  20. background: #57abf2;
  21. display: inline-block;
  22. position: absolute;
  23. top: 80%;
  24. right: 3%;
  25. width: 4.0625em;
  26. height: 4.0625em;
  27. border-radius: 4.0625em;
  28. line-height: 4.0625em;
  29. text-align: center;
  30. }
  31. .recipe-card aside .button .icon {
  32. vertical-align: middle;
  33. color: #F2F2F2;
  34. }
  35. .recipe-card article {
  36. padding: 1.25em 1.5em;
  37. }
  38. .recipe-card article ul {
  39. list-style: none;
  40. margin: 0.5em 0 0;
  41. padding: 0;
  42. }
  43. .recipe-card article ul li {
  44. display: inline-block;
  45. margin-left: 1em;
  46. line-height: 1em;
  47. }
  48. .recipe-card article ul li:first-child {
  49. margin-left: 0;
  50. }
  51. .recipe-card article ul li .icon {
  52. vertical-align: bottom;
  53. }
  54. .recipe-card article ul li span:nth-of-type(2) {
  55. margin-left: 0.5em;
  56. font-size: 0.8em;
  57. font-weight: 300;
  58. vertical-align: middle;
  59. color: #838689;
  60. }
  61. .recipe-card article h2, .recipe-card article h3 {
  62. margin: 0;
  63. font-weight: 300;
  64. }
  65. .recipe-card article h2 {
  66. font-size: 1.75em;
  67. color: #222222;
  68. }
  69. .recipe-card article h3 {
  70. font-size: 0.9375em;
  71. color: #838689;
  72. }
  73. .recipe-card article p {
  74. margin: 1.25em 0;
  75. font-size: 0.8125em;
  76. font-weight: 400;
  77. color: #222222;
  78. }
  79. .recipe-card article p span {
  80. font-weight: 700;
  81. color: #000000;
  82. }
  83. .recipe-card article .ingredients {
  84. margin: 2em 0 0.5em;
  85. }
  86. .recipe-card .icon {
  87. display: inline;
  88. display: inline-block;
  89. background-image: url(http://cl.nordyvlasman.nl/icons.svg);
  90. color: #F2F2F2;
  91. background-repeat: no-repeat;
  92. }
  93. .recipe-card .icon-calories, .recipe-card .icon-calories\:regular {
  94. background-position: 0 0;
  95. width: 16px;
  96. height: 19px;
  97. }
  98. .recipe-card .icon-clock, .recipe-card .icon-clock\:regular {
  99. background-position: 0 -19px;
  100. width: 20px;
  101. height: 20px;
  102. }
  103. .recipe-card .icon-level, .recipe-card .icon-level\:regular {
  104. background-position: 0 -39px;
  105. width: 16px;
  106. height: 19px;
  107. }
  108. .recipe-card .icon-play, .recipe-card .icon-play\:regular {
  109. background-position: 0 -58px;
  110. width: 21px;
  111. height: 26px;
  112. }
  113. .recipe-card .icon-users, .recipe-card .icon-users\:regular {
  114. background-position: 0 -84px;
  115. width: 18px;
  116. height: 18px;
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement