Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url('https://fonts.googleapis.com/css2?family=Gelasio:wght@400;500;600;700&display=swap');
- body {
- font-family: 'Gelasio', serif;
- background-color: #e0dede;
- }
- header {
- width: 50%;
- padding: 8px 30px;
- margin: 0 auto;
- display: flex;
- flex-direction: row;
- align-items: center;
- background-color: #e0dede;
- }
- .header {
- display: flex;
- flex-direction: row;
- gap: 24px;
- align-items: center;
- margin-right: 0 auto;
- }
- .header_food {
- margin-right: auto;
- font-size: 22px;
- font-weight: 300;
- }
- .header_food, .header_list {
- text-decoration: none;
- color: #6e6c6c;
- }
- nav {
- margin-right: auto;
- }
- .header_btn {
- all: unset;
- padding: 4px 8px;
- cursor: pointer;
- }
- .login_btn {
- background-color: rgb(136, 134, 134);
- color: white;
- margin-right: 12px;
- }
- /* Article */
- .blue_fruit {
- width: 50%;
- height: 250px;
- margin: 0 auto;
- position: relative;
- }
- .craving {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .blue_content {
- position: absolute;
- top: 40%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- .blue_content_h {
- color: white;
- }
- .position_relative {
- margin-left: 10px;
- margin-top: 6px;
- background-color: white;
- width: 250px;
- opacity: 0.6;
- }
- input[type="text"] {
- width: 220px;
- border: none;
- }
- /* pic and context */
- main {
- width: 50%;
- height: 1028px;
- margin: 0 auto;
- position: relative;
- }
- .main_image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .main_article {
- position: absolute;
- top: 0;
- }
- .pic_content {
- width: 86%;
- height: 280px;
- margin: 36px auto;
- background-color: rgb(234, 248, 234);
- display: flex;
- flex-direction: row;
- }
- .picture {
- width: 60%;
- height: 100%;
- }
- .picture_cocktail {
- width: 100%;
- height: 100%;
- object-fit: fill;
- }
- .content_h3, .content_p {
- text-align: center;
- }
- .content_h3 {
- padding-top: 90px;
- font-size: 28px;
- letter-spacing: -2.2px;
- }
- .content_btn {
- all:unset;
- padding: 6px 16px;
- background-color: #613c3c;
- color: white;
- font-size: 12px;
- margin-top: 16px;
- margin-left: 130px;
- }
- .reverse {
- flex-direction: row-reverse;
- }
- /* Cookie */
- .cookie {
- width: 86%;
- height: 300px;
- margin: 0 auto;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-around;
- }
- /* .cookie_btn_1 {
- } */
- .cookie_btn_1 button {
- background-color: #c4c0c0;
- border: none;
- padding: 4px 20px;
- font-size: 20px;
- letter-spacing: -1px;
- }
- .cookie_card {
- width: 100%;
- padding: 0 50px;
- height: 185px;
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- }
- .card_image {
- width: 20%;
- height: 100%;
- background-color: #d3d5d3;
- }
- .cookie_content {
- padding-top: 10px;
- text-align: center;
- font-style: italic;
- }
- .cookie_btn_2 button {
- background-color: #d84a32;
- border: none;
- padding: 4px 50px;
- font-family: Arial, Helvetica, sans-serif;
- color: white;
- }
- /* Footer */
- .footer {
- margin-top: 10px;
- width: 100%;
- height: 50px;
- background-color: #e0dede;
- opacity: 0.8;
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- }
- .footer ul {
- display: flex;
- flex-direction: row;
- gap: 12px;
- align-items: center;
- }
- .footer ul a {
- text-decoration: none;
- color: #000;
- }
- .border_a {
- border-right: black;
- }
- .footer_list_3 li:nth-child(2) {
- padding: 0 10px;
- border-left: 1px solid white;
- border-right: 1px solid white;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement