Files
GGMM/GrossesMitaines/grosses-mitaines-ui/src/stylesheets/site.css
2022-10-17 23:22:05 -07:00

500 lines
8.3 KiB
CSS

body {
background-image: url('/public/images/blured_wool_carpet.png');
background-color: gray;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
min-height: 100%;
}
html {
height: 100%;
}
.home-text {
/* border: black 1px solid; */
text-align: center;
background-color: beige;
box-shadow: 2px 3px rgba(11, 11, 11, 0.5);
padding: 1% 2% 1% 2%;
margin: 1% 2% 1% 2%;
}
.home-title {
margin: 10px 10% 0% 10%;
padding: 0px 0px 0px 0px;
border-radius: 5px 25px;
color: plum;
background-color: rgba(0, 0, 0, .75);
}
.home-subtitle {
text-shadow: 3px 2px 5px rgba(0, 0, 0, .5);
}
.home-img {
width: 20%;
height: auto;
}
.home-description {
margin-top: 2%;
/* border-top: 1px black solid; */
}
.topbar-container {
background-color: beige;
margin-bottom: 2%;
border-bottom: rgb(82, 4, 82) solid 1px;
box-shadow: 0px 3px rgba(82, 4, 82, .5);
}
.research-container {
/* border: black solid 1px; */
padding: 4px 6px 4px 6px;
background-color: purple;
box-shadow: 2px 3px rgba(0, 0, 0, .25);
border-radius: 5px;
height: 40px;
margin: auto;
margin-bottom: 2%;
width: 90%;
}
.research-input {
height: 100%;
width: 89%;
}
.research-btn {
margin-left: 1%;
border-radius: 5px;
width: 10%;
height: 90%;
}
.featured-lst {
width: 100%;
}
.featured-itm {
background-color: beige;
border-radius: 10px;
height: 500px;
}
.featured-img {
border: 5px purple double;
border-radius: 10px;
height: 100%;
margin-bottom: 75%;
width: auto;
max-width: 50%;
}
.featured-info {
border: 1px black solid;
color: black;
text-align: right;
left: 55%;
right: 12%;
bottom: 25%;
top: 25%;
padding-right: 2%;
box-shadow: 5px 10px rgba(0, 0, 0, .5);
}
.featured-prc {
margin-left: 50%;
padding-right: 10px;
background-color: plum;
}
.contact-form-container {
padding: 3% 5% 3% 5%;
color: black;
background-color: beige;
}
.contact-form-input {
border: 3px solid rgba(0, 0, 0, .25);
/* box-shadow: 1px 2px rgba(0, 0, 0, .25); */
}
.contact-form-btn {
margin-top: 3%;
color: beige;
background-color: purple !important;
}
.contact-form-btn:hover {
background-color: plum !important;
}
.about-us-container {
padding: 3% 2% 3% 2%;
border-top: 3px solid rgba(123, 9, 102, 0.5);
background-color: rgba(0, 0, 0, .25);
}
.border-quetaine {
border: 3px dotted purple;
padding: 3px;
}
.employee-text {
color: whitesmoke;
background-color: rgba(0, 0, 0, .25);
}
.contact-info-container {
color: white;
background-color: rgb(12, 13, 13);
padding: 2% 5% 2% 5%;
}
.contact-info-list {
list-style-type: none;
}
.socials {
margin-top: 5%;
width: 50%;
left: 10px;
display: flex;
}
.socials-icon {
margin: auto;
}
.footer-container {
color: black;
margin-top: 5%;
padding: 2% 3% 2% 3%;
background-color: white;
}
.footer-links {
display: flex;
}
.footer-link {
color: purple;
text-shadow: 5px 5px 10px rgba(0, 0, 0, .75);
margin: auto;
}
.footer-link:hover {
color: plum;
}
.footer-partners {
display: flex;
}
.partner-img {
margin: auto;
height: 50px;
}
/* items */
.item-list {
text-align: center;
}
.item:hover{
box-shadow: 10px 10px;
top:-5px;
left:-5px;
background-color: beige;
}
.item {
border:purple double 3px;
margin-left: 1.25%;
margin-right: 1.25%;
margin-bottom: 10px;
background-color: rgba(245, 245, 220, 0.75);
display: inline-block;
height:300px;
width: 30%;
}
.item-img {
padding-top: 2%;
box-shadow: 5px 5px;
border-radius: 2px;
display:block;
margin-right: auto;
margin-left: auto;
height:50%;
width:auto;
}
.item-info{
height:50%;
padding-top: 10px;
padding-bottom: 10px;
}
.item-name-container{
height:45%;
display: flex;
justify-content: center;
align-items: center;
vertical-align: middle;
}
.item-name {
margin:auto;
height: auto;
}
.item-status-container{
height:40px;
display: flex;
justify-content: center;
align-items: center;
vertical-align: middle;
}
.item-status {
font-weight: normal;
font-family: 'Courier New', Courier, monospace;
width: fit-content;
height:fit-content;
margin-left: auto;
margin-right: auto;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 2px;
display: block;
border-radius: 10px;
font-size: small;
}
.item-status-available{
color:green;
}
.item-status-backorder{
color:yellow;
background-color: black;
}
.item-status-unavailable{
color:red;
background-color: black;
}
.item-status-clearence{
color:blue;
background-color: aliceblue;
font-size: large;
border: yellow 2px groove;
}
.item-status-promotion{
color:purple;
font-size: medium;
background-color: aliceblue;
border: yellow 2px groove;
}
.item-status-discontinued{
color:white;
background-color: black;
}
.item-price-container{
height: fit-content;
width: auto;
margin: auto;
}
.item-price{
color:green;
font-weight: bold;
font-size: large;
height:auto;
margin:auto;
}
.item-old-price{
position:relative;
color:black;
text-decoration: line-through;
font-weight: normal;
font-size: small;
height:auto;
width: fit-content;
}
.item-new-price{
font-size: large;
margin-left: 10px;
font-weight: bolder;
background-color: aliceblue;
color: purple;
}
.item-link, .item-link:hover{
color: black;
text-decoration: none;
}
.btn-primary{
background-color: purple;
color:white;
border-color: darkslateblue;
}
.btn-primary:hover{
background-color: plum !important;
border-color: purple !important;
color:darkslateblue !important;
}
.btn-load-more{
display: block;
margin-left:auto;
margin-right: auto;
margin-top:10px;
margin-bottom: 10px;
width:30%;
}
.sorting-dropdown{
width:fit-content;
margin:auto;
float:right;
}
.sorting-container{
width:100%;
float:right;
margin-right:5%;
margin-left:5%;
margin-top:15px;
margin-bottom:15px;
}
.cat-load{
display:block;
margin:auto;
width:auto;
background-image: url("/public/images/cat-yarn.gif");
background-repeat: no-repeat;
background-color: white;
background-size: contain;
background-position: center;
mix-blend-mode: multiply;
height:200px;
}
/* -------------------------------------------------------- */
/* specification pour les moyennes écrans
/* -------------------------------------------------------- */
@media(max-width:900px){
.item{
width:45%;
}
.btn-load-more{
width:45%;
}
.sorting-dropdown{
width:100%;
float:none;
}
.sorting-dropdown button{
height:60px !important;
width: 100% !important;
font-size: larger;
}
.sorting-container{
width: 90%;
float:none;
}
.sorting-menu{
width: 100%;
}
.sorting-menu a {
font-size: larger;
height: 50px;
background-color: beige;
border: 2px white solid;
}
}
/* -------------------------------------------------------- */
/* specification pour les écrans plus petits / cells */
/* -------------------------------------------------------- */
@media (max-width:450px) {
.item{
width:85%;
}
.btn-load-more{
width:85%;
}
.featured-img {
border: 5px purple double;
width: 100%;
max-width: 100%;
height: auto;
margin: auto;
}
.featured-info {
left: 12%;
top: auto;
bottom: 10%;
padding-right: 20px;
background-color: rgba(255, 255, 255, .75);
}
.contact-form-container {
margin-bottom: 35px;
margin-top: 35px;
}
.contact-form-input {
min-height: 50px;
}
.contact-form-btn {
margin-left: 10%;
margin-right: 10%;
height: 75px;
width: 80%;
}
.contact-info-container {
padding-top: 5%;
}
.employee-text {
margin: 5px;
padding: 10px;
}
}