1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
KyFlo/Assets/resp.css

216 lines
3.8 KiB
CSS
Raw Normal View History

2019-12-11 19:20:42 +01:00
@media screen and (max-width: 900px) {
2019-12-04 09:54:26 +01:00
/*===========GENERAL===========*/
h1{
font-size: 3vw;
}
body>#bienvenue>h1 {
font-size: 3vw;
}
body>#bienvenue>h2 {
font-size: 2vw;
}
button#hautPage{
display:none;
}
/*===========NAVBAR===========*/
.topnav{
position: static;
}
2019-11-27 11:55:38 +01:00
.topnav input[type=text] {
float: none;
display: block;
text-align: left;
width: 76.5%;
margin: 0;
padding: 2vw;
border: none;
transform: none;
2019-12-04 09:54:26 +01:00
font-size: 3vw;
}
.topnav a {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 2vw;
border: none;
transform: none;
font-size: 3vw;
}
.topnav a#kyflo{
font-size: 8vw;
text-align: center;
2019-11-27 11:55:38 +01:00
}
.topnav a#panier,
a#nous {
border: none;
}
2019-12-04 09:54:26 +01:00
.topnav a#panier{
width: 20%;
margin-right: -14%;
}
.topnav a#panier:hover{
margin-right: -14%;
}
2019-11-27 11:55:38 +01:00
.topnav a#nous:hover,
a#contactN:hover {
2019-12-04 09:54:26 +01:00
padding: 2vw 2vw;
2019-11-27 11:55:38 +01:00
}
2019-12-04 09:54:26 +01:00
.topnav a#loupe {
2019-11-27 11:55:38 +01:00
width: 5%;
2019-12-04 09:54:26 +01:00
padding: 1vw;
font-size: 3vw;
2019-11-27 11:55:38 +01:00
border-left: 0.1vw solid rgb(204, 25, 25)
}
.topnav input[type=text] {
border: 1px solid rgb(190, 73, 73);
}
2019-12-04 09:54:26 +01:00
.topnav a#panier>h3{
display:none;
}
/*===========FLEX CONTAINER===========*/
2019-11-27 11:55:38 +01:00
.flex-container>div {
width: 85%;
margin-left: auto;
margin-right: auto;
}
.flex-container>div>a>img {
width: 20%;
margin-top: 3%;
margin-left: 10%;
}
.flex-container>div>a>h3,
.flex-container>div>a>h4 {
margin-left: 50%;
}
#content {
margin-left: 2vw;
margin-right: 2vw;
}
2019-12-04 09:54:26 +01:00
/*========FOOTER=========*/
tr {
border-bottom: 0.2vw solid red;
color: white;
2019-12-04 11:57:53 +01:00
height: 5vw;
2019-12-04 09:54:26 +01:00
}
th {
font-size: 2.5vw;
}
th#line {
border: none;
}
button#contactB {
margin: auto;
display: flex;
justify-content: center;
padding: 1.5vw 4vw;
font-size: 2vw;
color: lightgrey;
background-color: rgb(27, 27, 27);
border: 0.1vw solid rgb(204, 25, 25);
transform: skew(-.312rad);
margin-bottom: 2vw;
}
button#contactB:hover {
background-color: rgb(204, 25, 25);
transition-duration: 0.5s;
border-radius: 1vw;
}
td {
width: 20%;
font-size: 2vw;
}
td#contact {
width: 100%;
}
/*=======FLEX CONTAINER========*/
.flex-container {
justify-content: center;
}
.flex-container>div {
width: 80%;
margin: 1vw;
line-height: 5vw;
}
.flex-container>div>a>h3 {
font-size: 3vw;
}
.flex-container>div>a>h4 {
font-size: 2.5vw;
}
.flex-container>div>a>img {
width: 20%;
margin-top: 5%;
}
/*=====Produits=======*/
#Produit>h3 {
2019-12-04 11:57:53 +01:00
font-size: 2vw;
2019-12-04 09:54:26 +01:00
}
#Carac>h2 {
2019-12-04 11:57:53 +01:00
font-size: 2vw;
2019-12-04 09:54:26 +01:00
color: lightgrey;
}
2019-12-04 11:57:53 +01:00
#Client>div>h1 {
font-size: 2.8vw;
}
#Client>div>h3 {
font-size: 1.5vw;
}
input, select {
font-size: 2.5vw;
}
input[placeholder=Commentaire],
select,
input[placeholder="Question, suggestion, remarque"],
select {
width: 60%;
padding: 1vw 1vw;
font-size: 2.5vw;
}
input[type=submit],
select {
font-size: 2.5vw;
}
#Coms>form>h1 {
font-size: 2.5vw;
}
#content>h1 {
margin-top: 3vw;
font-size: 3vw;
}
#content>h2 {
font-size: 2.5vw;
}
#content>ul>li>h3 {
font-size: 2vw;
}
2019-12-04 09:54:26 +01:00
2019-11-27 11:55:38 +01:00
}