Skip to content

Commit

Permalink
format html and css
Browse files Browse the repository at this point in the history
  • Loading branch information
kritserv committed Oct 3, 2023
1 parent 3fde4e9 commit edc821a
Show file tree
Hide file tree
Showing 14 changed files with 833 additions and 869 deletions.
237 changes: 106 additions & 131 deletions code/static/css/main.css
Original file line number Diff line number Diff line change
@@ -1,132 +1,107 @@
html {
scroll-behavior: smooth;
overflow-x: hidden;
}

a:link{
text-decoration: none!important;
}

.d-flex {
display: flex;
}

.flex-column {
flex-direction: column;
}

#filter-btn {
margin-left: 3rem;
margin-top: 4rem;
}

#prod-container {
margin-top: 4rem;
}

#prod-card {
width:95%;
max-width: 40vw;
}

#prod-card:hover {
scale: 1.07;
transition: .2s;
}

h5.mb-0 {
font-weight: bold;
}

#sale-tag {
width: 55px;
height: 35px;
font-weight: bold;
}

#recommend-tag {
color: red;
}

div.d-flex.align-items-center {
text-align: center;
}

li a p {
text-align: center;
margin-right: 2px;
margin-left: 2px;
}

input.form-control {
align-self: center;
width: 25em;
min-width: 120px;
max-width: 500px;
margin-top: 8px;
margin-bottom: 7px;
}

div a p {
color: black;
}

#prod-img {
width: 37vw;
min-width: 5rem;
}

#thumb {
width: 10vw;
margin-left: 2rem;
}

#prod-detail-page {
margin-left: 2rem;
margin-top: 6rem;
margin-right: 3vw;
}

#star-num {
color:black;
font-size: 1.4rem;
}

#detail-table {
margin-bottom: 16rem;
}

@media (min-width: 1025px) {
.h-custom {
height: 100vh !important;
}
}

.card-registration .select-input.form-control[readonly]:not([disabled]) {
font-size: 1rem;
line-height: 2.15;
padding-left: .75em;
padding-right: .75em;
}

.card-registration .select-arrow {
top: 13px;
}

.bg-grey {
background-color: #eae8e8;
}

@media (min-width: 992px) {
.card-registration-2 .bg-grey {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
}

@media (max-width: 991px) {
.card-registration-2 .bg-grey {
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
}
}
scroll-behavior: smooth;
overflow-x: hidden;
}
a:link{
text-decoration: none!important;
}
.d-flex {
display: flex;
}
.flex-column {
flex-direction: column;
}
#filter-btn {
margin-left: 3rem;
margin-top: 4rem;
}
#prod-container {
margin-top: 4rem;
}
#prod-card {
width:95%;
max-width: 40vw;
}
#prod-card:hover {
scale: 1.07;
transition: .2s;
}
h5.mb-0 {
font-weight: bold;
}
#sale-tag {
width: 55px;
height: 35px;
font-weight: bold;
}
#recommend-tag {
color: red;
}
div.d-flex.align-items-center {
text-align: center;
}
li a p {
text-align: center;
margin-right: 2px;
margin-left: 2px;
}
input.form-control {
align-self: center;
width: 25em;
min-width: 120px;
max-width: 500px;
margin-top: 8px;
margin-bottom: 7px;
}
div a p {
color: black;
}
#prod-img {
width: 37vw;
min-width: 5rem;
}
#thumb {
width: 10vw;
margin-left: 2rem;
}
#prod-detail-page {
margin-left: 2rem;
margin-top: 6rem;
margin-right: 3vw;
}
#star-num {
color:black;
font-size: 1.4rem;
}
#detail-table {
margin-bottom: 16rem;
}
@media (min-width: 1025px) {
.h-custom {
height: 100vh !important;
}
}
.card-registration .select-input.form-control[readonly]:not([disabled]) {
font-size: 1rem;
line-height: 2.15;
padding-left: .75em;
padding-right: .75em;
}
.card-registration .select-arrow {
top: 13px;
}
.bg-grey {
background-color: #eae8e8;
}
@media (min-width: 992px) {
.card-registration-2 .bg-grey {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
}
}
@media (max-width: 991px) {
.card-registration-2 .bg-grey {
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
}
}
Loading

0 comments on commit edc821a

Please sign in to comment.