From e67ecfd0155f1175ee228271526fc7be60324402 Mon Sep 17 00:00:00 2001 From: "Benjamin.sitbon" <benjamin.sitbon@etu.hesge.ch> Date: Sun, 9 May 2021 20:46:00 +0200 Subject: [PATCH] =?UTF-8?q?rangement=20des=20fichiers=20css=20dans=20un=20?= =?UTF-8?q?r=C3=A9pertoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/cart.html | 6 +++--- frontend/checkout.html | 6 +++--- frontend/{ => css}/button.css | 0 frontend/{ => css}/cart.css | 0 frontend/{ => css}/checkout.css | 0 frontend/{ => css}/index.css | 11 +++++++---- frontend/{ => css}/menu.css | 6 +++--- frontend/{ => css}/select.css | 18 +++++++++--------- frontend/{ => css}/style.css | 4 ++-- frontend/index.html | 2 +- frontend/select.html | 6 +++--- frontend/shop.html | 6 +++--- 12 files changed, 34 insertions(+), 31 deletions(-) rename frontend/{ => css}/button.css (100%) rename frontend/{ => css}/cart.css (100%) rename frontend/{ => css}/checkout.css (100%) rename frontend/{ => css}/index.css (83%) rename frontend/{ => css}/menu.css (88%) rename frontend/{ => css}/select.css (87%) rename frontend/{ => css}/style.css (92%) diff --git a/frontend/cart.html b/frontend/cart.html index cc08d42..632d894 100644 --- a/frontend/cart.html +++ b/frontend/cart.html @@ -8,9 +8,9 @@ <link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200&display=swap" rel="stylesheet"> <title>Document</title> - <link rel="stylesheet" href="menu.css"> - <link rel="stylesheet" href="cart.css"> - <link rel="stylesheet" href="button.css"> + <link rel="stylesheet" href="css/menu.css"> + <link rel="stylesheet" href="css/cart.css"> + <link rel="stylesheet" href="css/button.css"> </head> <body> diff --git a/frontend/checkout.html b/frontend/checkout.html index 0973df9..c1cc7e2 100644 --- a/frontend/checkout.html +++ b/frontend/checkout.html @@ -6,9 +6,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- <link rel="stylesheet" href="style.css"> --> - <link rel="stylesheet" href="menu.css"> - <link rel="stylesheet" href="checkout.css"> - <link rel="stylesheet" href="button.css"> + <link rel="stylesheet" href="css/&menu.css"> + <link rel="stylesheet" href="css/checkout.css"> + <link rel="stylesheet" href="css/button.css"> <title>Checkout</title> </head> <body> diff --git a/frontend/button.css b/frontend/css/button.css similarity index 100% rename from frontend/button.css rename to frontend/css/button.css diff --git a/frontend/cart.css b/frontend/css/cart.css similarity index 100% rename from frontend/cart.css rename to frontend/css/cart.css diff --git a/frontend/checkout.css b/frontend/css/checkout.css similarity index 100% rename from frontend/checkout.css rename to frontend/css/checkout.css diff --git a/frontend/index.css b/frontend/css/index.css similarity index 83% rename from frontend/index.css rename to frontend/css/index.css index d4d37db..e557f9b 100644 --- a/frontend/index.css +++ b/frontend/css/index.css @@ -1,12 +1,12 @@ @font-face { font-family: gb; - src: url(font/Arvo-Regular.ttf); + src: url(../font/Arvo-Regular.ttf); } @font-face { font-family: title; - src: url(font/LMS\ Pokemon\ Master\ Solid.ttf); + src: url(../font/LMS\ Pokemon\ Master\ Solid.ttf); } *{ @@ -60,15 +60,18 @@ a{ width: 35vw; height: 6vw; margin-top: 2.5vh; + cursor: none; } - +.fill:hover{ + color: rgb(0, 102, 255); +} main { width: 100%; height: 100vh; - background-image:url(img/Dym19R.jpg); + background-image:url(../img/Dym19R.jpg); background-position: center center; background-size: cover; background-repeat: no-repeat; diff --git a/frontend/menu.css b/frontend/css/menu.css similarity index 88% rename from frontend/menu.css rename to frontend/css/menu.css index 777c80b..ddd3f26 100644 --- a/frontend/menu.css +++ b/frontend/css/menu.css @@ -1,12 +1,12 @@ @font-face { font-family: gb; - src: url(font/Arvo-Regular.ttf); + src: url(../font/Arvo-Regular.ttf); } @font-face { font-family: title; - src: url(font/LMS\ Pokemon\ Master\ Solid.ttf); + src: url(../font/LMS\ Pokemon\ Master\ Solid.ttf); } *{ @@ -48,7 +48,7 @@ nav { flex-direction: row; width: 100vw; height: 17.5vh; - background-image: url(img/pano2.jpg); + background-image: url(../img/pano2.jpg); background-position: 0 22vh; background-size: 100%; overflow-y: hidden; diff --git a/frontend/select.css b/frontend/css/select.css similarity index 87% rename from frontend/select.css rename to frontend/css/select.css index 1569465..d54a98d 100644 --- a/frontend/select.css +++ b/frontend/css/select.css @@ -33,9 +33,8 @@ main { position: relative; left: 50%; transform: translateX(-50%); - width: 25vh; - height: 25vh; - + width: 12vw; + height: 12vw; overflow-y: hidden; } @@ -65,11 +64,12 @@ button { border: none; font-size: 0.75vw; width: 20%; - height: 10%; + height: 8%; transition: 0.1s linear; outline: none; cursor: pointer; - background-color: deepskyblue; + background-color: rgb(0, 102, 255); + box-shadow:inset 2px 2px 10px 0px rgba(255,255,255,.5), 2px 2px 10px 0px rgba(0,0,0,.1), 2px 2px 10px 0px rgba(0,0,0,.1); color: white; border-radius: 20px 20px 20px 20px; @@ -218,8 +218,8 @@ button { .type{ padding-top: 0; - width: 60px; - height: 15px; + width: 4vw; + height: 1vw; margin-left: 5px; margin-right: 2px; } @@ -228,8 +228,8 @@ button { position: relative; left: 1%; - width: 40px; - height: 15px; + width: 2.3vw; + height: 1vw; } .infos { diff --git a/frontend/style.css b/frontend/css/style.css similarity index 92% rename from frontend/style.css rename to frontend/css/style.css index 2ac1d63..889ed60 100644 --- a/frontend/style.css +++ b/frontend/css/style.css @@ -112,8 +112,8 @@ input:focus { .type { - width: 55px; - height: 15px; + width: 4vw; + height: 1vw; margin-left: 5px; margin-right: 2px; diff --git a/frontend/index.html b/frontend/index.html index 2cb0290..c77ccfe 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="stylesheet" href="index.css"> + <link rel="stylesheet" href="css/index.css"> <title>Homepage</title> </head> <body> diff --git a/frontend/select.html b/frontend/select.html index e218487..249db6d 100644 --- a/frontend/select.html +++ b/frontend/select.html @@ -8,9 +8,9 @@ <link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200&display=swap" rel="stylesheet"> <title>Document</title> - <link rel="stylesheet" href="menu.css"> - <link rel="stylesheet" href="select.css"> - <link rel="stylesheet" href="button.css"> + <link rel="stylesheet" href="css/menu.css"> + <link rel="stylesheet" href="css/select.css"> + <link rel="stylesheet" href="css/button.css"> </head> <body> diff --git a/frontend/shop.html b/frontend/shop.html index f7b3dfb..96b7692 100644 --- a/frontend/shop.html +++ b/frontend/shop.html @@ -5,9 +5,9 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="stylesheet" href="style.css"> - <link rel="stylesheet" href="menu.css"> - <link rel="stylesheet" href="button.css"> + <link rel="stylesheet" href="css/style.css"> + <link rel="stylesheet" href="css/menu.css"> + <link rel="stylesheet" href="css/button.css"> <title>Pokeshop</title> </head> <body onload="scrollEffect()" > -- GitLab