@font-face { font-family: "Oswald"; src: url(../fonts/Oswald.ttf); } @oswald: "Oswald"; @import "/less/components/productCardStyles.less"; @import "/less/components/navPanelStyles.less"; @import "/less/components/navButtons.less"; * { box-sizing: border-box; padding: 0; margin: 0; list-style: none; text-decoration: none; font-family: @oswald; img { max-width: 100%; } a { color: black; } .container { max-width: 1360px; margin: 0 auto; padding: 0 15px; } h1, h3, h5, h6, .card-title p { font-weight: 400; } h2 { margin: 50px 0 5px 0; font-size: 30px; } } .to-top, .to-product-top { position: fixed; bottom: 10px; right: 10px; font-size: 25px; border: 2px solid #b96262; padding: 0px 9px; border-radius: 50%; z-index: 10; background-color: rgba(62, 60, 60, 0.5); cursor: pointer; } .back-button { width: 40px; height: 40px; background-color: #3e3c3c; /* Blue color */ border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center; position: fixed; top: 15%; left: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); z-index: 100; &::after { content: ''; width: 14px; height: 14px; border-left: 3px solid #fff; border-top: 3px solid #fff; transform: rotate(-45deg); } } body { height: 100vh; background-image: url(/img/background.jpg); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; overflow-x: hidden; display: flex; flex-direction: column; justify-content: space-between; } .login { animation: blink-l 0.5s ease infinite; @keyframes blink-l { 0% {} 100% { background-color: rgb(0, 110, 255); border-radius: 10px; } } } .register { animation: blink-r 0.5s ease infinite; @keyframes blink-r { 0% {} 100% { background-color: yellow; border-radius: 10px; } } } .title { margin-top: 50px; h1 { margin: 15px 0; text-transform: uppercase; text-align: center; font-size: 3em; span { background-color: #b96262; padding: 0 3px; color: #ffffff; border-radius: 7px; } } } .category-title { text-align: center; } .policiesContent { background-color: rgba(22, 22, 22, 0.5); border-radius: 10px; width: 800px; margin: 0 auto; .policyWrapper, .innerPolicyWrapper { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; i { font-size: 30px; color: #b96262; } .rotated { transform: rotate(90deg); transition: transform 0.3s ease-in-out; } h1 { color: #ffffff; span { font-size: 20px; margin-left: 20px; color: #b96262; } } } .policy, .innerPolicy { max-height: 0; overflow: hidden; p, li { font-size: 20px; } p { padding: 0 10px; color: #e5eaed; text-align: justify; } h3 { margin: 10px 0; color: #ffffff; } h1, h4 { padding: 0 10px; margin: 10px 0; color: #ffffff; } ul { padding: 5px 10px; margin-left: 1.5em; li { color: #e5eaed; list-style-type: disc; &::marker { color: #b96262; } ul li { list-style-type: circle; } } } .noMarker { padding: 0; margin: 0; li { list-style-type: none; } .innerPolicy li { list-style-type: disc; } } } .policy.active, .innerPolicy.active { max-height: 9999px; } } .product-container { .product-info { display: flex; justify-content: space-between; .info { display: flex; flex-direction: column; width: 50%; background-color: rgba(56, 56, 56, 0.7); padding: 10px; margin: 10px 0; border-radius: 10px; .name, .description, .comments { margin-bottom: 20px; } .name { color: #fff; } .description { width: fit-content; background-color: #fff; border-radius: 10px; padding: 10px; article div h2 { margin: 0 0 15px 0; font-size: 25px; } article div p { margin: 0 0 15px 0; } } .comments p { color: #fff; cursor: pointer; } .button { display: flex; align-items: center; margin-top: auto; a { color: #ffffff; background-color: #1e1e20; font-size: 20px; padding: 5px 10px; text-transform: uppercase; border-radius: 10px; margin-right: 5px; &:hover { cursor: pointer; background-color: #b96262; } span { color: #ff0000; font-weight: 900; } } .startPrice, #oldPrice { font-size: 23px; color: #fff; // background-color: #b96262; // padding: 0px 7px 2px 7px; // border-radius: 10px; margin: 0 5px; } #oldPrice { margin: 0 0 0 5px; text-decoration-line: line-through; text-decoration-color: #b96262; -webkit-text-decoration-line: line-through; -webkit-text-decoration-color: #b96262; } #changeOldPrice, #setUpdatedOldPrice, #closeOldPriceInput, #setOldPrice, #submitOldPrice, #hideOldPriceInput { border: none; background: none; margin: 0 0 0 7px; font-size: 25px; color: #b96262; cursor: pointer; } #setOldPrice { margin-bottom: 3px; } .setOldPriceForm { gap: unset; } form { display: flex; align-items: center; gap: 0 7px; #showOldPriceInput, #oldPriceInput { width: 40px; text-align: center; border-radius: 5px; border: none; font-size: 15px; margin-top: 2px; outline: none; } #setUpdatedOldPrice { margin: unset; } } } } } .related-products { margin: 50px 0; } .add-comment { #write-comment, #show-form { padding: 5px; border-radius: 5px; text-transform: uppercase; color: #FFF; background-color: #b96262; cursor: pointer; border: none; &:hover { background-color: rgb(15, 102, 15); } } } .add-comment, .product-comments { form { display: none; } .showForm, .showCommentForm { display: flex; flex-direction: column; width: 700px; div { display: flex; justify-content: space-between; align-items: center; #hide-add-comment-form { padding: 7px; border-radius: 5px; text-transform: uppercase; color: #FFF; background-color: #b96262; cursor: pointer; margin-left: 5px; i { font-size: 15px; } &:hover { background-color: rgb(15, 102, 15); } } input { padding: 5px; border-radius: 5px; text-transform: uppercase; color: #FFF; background-color: #b96262; cursor: pointer; border: none; &:hover { background-color: rgb(15, 102, 15); } } } textarea { resize: none; height: 100px; border-radius: 10px; margin: 10px 0; padding: 4px 7px; font-size: 16px; background-color: rgba(56, 56, 56, 0.5); color: #FCFCFC; outline: none; border: 2px solid #b96262; &::placeholder { color: #fff; } } } } .product-comments { .alert ul li { color: #e41212; margin-left: 20px; list-style: disc; background-color: #46bcc1; width: fit-content; font-size: 20px; padding: 0 5px; border-radius: 7px; } .comment { display: flex; flex-direction: column; margin: 10px 0; padding: 10px; background-color: rgba(56, 56, 56, 0.5); border: 2px solid #b96262; border-radius: 10px; color: #fff; .user { display: flex; margin: 0 0 10px 0; div { margin-right: 15px; } } .comment-text p { font-size: 20px; text-align: justify; } ul li { position: relative; float: left; button { font-size: 14px; margin: 0 10px 0 0; background-color: transparent; border: none; cursor: pointer; } .e { color: yellow; } .d { color: red; } } } } } footer { width: 100%; margin-top: 20px; border-bottom: 2px solid #b96262; .bot-nav { background-color: #2a2b2c; padding: 5px 0; .footer-wrapper { display: flex; justify-content: space-around; } } }