Advertisement
pacho_the_python

Untitled

Aug 4th, 2024
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.82 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css2?family=Gelasio:wght@400;500;600;700&display=swap');
  2.  
  3. body {
  4.     font-family: 'Gelasio', serif;
  5.     background-color: #e0dede;
  6. }
  7.  
  8. header {
  9.     width: 50%;
  10.     padding: 8px 30px;
  11.     margin: 0 auto;
  12.     display: flex;
  13.     flex-direction: row;
  14.     align-items: center;
  15.     background-color: #e0dede;
  16. }
  17.  
  18. .header {
  19.     display: flex;
  20.     flex-direction: row;
  21.     gap: 24px;
  22.     align-items: center;
  23.     margin-right: 0 auto;
  24. }
  25.  
  26. .header_food {
  27.     margin-right: auto;
  28.     font-size: 22px;
  29.     font-weight: 300;
  30. }
  31.  
  32. .header_food, .header_list {
  33.     text-decoration: none;
  34.     color: #6e6c6c;
  35. }
  36.  
  37. nav {
  38.     margin-right: auto;
  39. }
  40.  
  41. .header_btn {
  42.     all: unset;
  43.     padding: 4px 8px;
  44.     cursor: pointer;
  45. }
  46.  
  47. .login_btn {
  48.     background-color: rgb(136, 134, 134);
  49.     color: white;
  50.     margin-right: 12px;
  51. }
  52.  
  53. /* Article */
  54.  
  55. .blue_fruit {
  56.     width: 50%;
  57.     height: 250px;
  58.     margin: 0 auto;
  59.     position: relative;
  60. }
  61.  
  62. .craving {
  63.     width: 100%;
  64.     height: 100%;
  65.     object-fit: cover;
  66. }
  67.  
  68. .blue_content {
  69.     position: absolute;
  70.     top: 40%;
  71.     left: 50%;
  72.     transform: translate(-50%, -50%);
  73. }
  74.  
  75. .blue_content_h {
  76.     color: white;
  77. }
  78.  
  79. .position_relative {
  80.     margin-left: 10px;
  81.     margin-top: 6px;
  82.     background-color: white;
  83.     width: 250px;
  84.     opacity: 0.6;
  85. }
  86.  
  87. input[type="text"] {
  88.     width: 220px;
  89.     border: none;
  90. }
  91.  
  92. /* pic and context */
  93.  
  94. main {
  95.     width: 50%;
  96.     height: 1028px;
  97.     margin: 0 auto;
  98.     position: relative;
  99. }
  100.  
  101. .main_image {
  102.     width: 100%;
  103.     height: 100%;
  104.     object-fit: cover;
  105. }
  106.  
  107. .main_article {
  108.     position: absolute;
  109.     top: 0;
  110. }
  111.  
  112. .pic_content {
  113.     width: 86%;
  114.     height: 280px;
  115.     margin: 36px auto;
  116.     background-color: rgb(234, 248, 234);
  117.     display: flex;
  118.     flex-direction: row;
  119. }
  120.  
  121.  
  122. .picture {
  123.     width: 60%;
  124.     height: 100%;
  125. }
  126.  
  127. .picture_cocktail {
  128.     width: 100%;
  129.     height: 100%;
  130.     object-fit: fill;
  131. }
  132.  
  133. .content_h3, .content_p {
  134.     text-align: center;
  135. }
  136.  
  137. .content_h3 {
  138.     padding-top: 90px;
  139.     font-size: 28px;
  140.     letter-spacing: -2.2px;
  141. }
  142.  
  143. .content_btn {
  144.     all:unset;
  145.     padding: 6px 16px;
  146.     background-color: #613c3c;
  147.     color: white;
  148.     font-size: 12px;
  149.     margin-top: 16px;
  150.     margin-left: 130px;
  151. }
  152.  
  153. .reverse {
  154.     flex-direction: row-reverse;
  155. }
  156.  
  157. /* Cookie */
  158.  
  159. .cookie {
  160.     width: 86%;
  161.     height: 300px;
  162.     margin: 0 auto;  
  163.     display: flex;
  164.     flex-direction: column;
  165.     align-items: center;
  166.     justify-content: space-around;
  167. }
  168.  
  169. /* .cookie_btn_1 {
  170.    
  171.    
  172. } */
  173.  
  174. .cookie_btn_1 button {
  175.     background-color: #c4c0c0;
  176.     border: none;
  177.     padding: 4px 20px;
  178.     font-size: 20px;
  179.     letter-spacing: -1px;
  180. }
  181.  
  182. .cookie_card {
  183.     width: 100%;
  184.     padding: 0 50px;
  185.     height: 185px;
  186.     display: flex;
  187.     flex-direction: row;
  188.     justify-content: space-around;
  189. }
  190.  
  191. .card_image {
  192.     width: 20%;
  193.     height: 100%;
  194.     background-color: #d3d5d3;
  195.    
  196. }
  197.  
  198. .cookie_content {
  199.     padding-top: 10px;
  200.     text-align: center;
  201.     font-style: italic;
  202. }
  203.  
  204. .cookie_btn_2 button {
  205.     background-color: #d84a32;
  206.     border: none;
  207.     padding: 4px 50px;
  208.     font-family: Arial, Helvetica, sans-serif;
  209.     color: white;
  210. }
  211.  
  212. /* Footer */
  213.  
  214. .footer {
  215.     margin-top: 10px;
  216.     width: 100%;
  217.     height: 50px;
  218.     background-color: #e0dede;
  219.     opacity: 0.8;
  220.     display: flex;
  221.     flex-direction: row;
  222.     justify-content: space-around;
  223. }
  224.  
  225. .footer ul {
  226.     display: flex;
  227.     flex-direction: row;
  228.     gap: 12px;
  229.     align-items: center;
  230. }
  231.  
  232. .footer ul a {
  233.     text-decoration: none;
  234.     color: #000;
  235. }
  236.  
  237. .border_a {
  238.     border-right: black;
  239. }
  240.  
  241. .footer_list_3 li:nth-child(2) {
  242.     padding: 0 10px;
  243.     border-left: 1px solid white;
  244.     border-right: 1px solid white;
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement