123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- html {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- }
- a {
- text-decoration: none;
- font-size: 18px;
- text-align: center;
- justify-content: center;
- }
- a:hover {
- color: red;
-
- }
- img {
- max-width: 50%;
- }
- img:hover{
- transform: scale(1.05);
- transform-origin:bottom;
- }
- button {
- text-align: center;
- min-width: 70px;
- background-color: white;
- }
- button:hover {
- opacity: 90%;
- }
- h3,h4 {
- font-family: 'Montserrat', sans-serif;
- color: royalblue;
- }
- h1 {
- color: purple;
- }
- .header {
- position: relative;
- display: flex;
- justify-content: space-around;
- align-items: center;
- width: 100vw;
- height: 100px;
- background-color: purple;
- }
- #loginName {
- background-image: url(user-128.png);
- background-size: 67px;
- min-height: 50px;
- min-width: 80px;
- display: flex;
- justify-content: flex-end;
- color: aliceblue;
- }
- .cartIcon {
- background-image: url(normBasket.png);
- background-size: 50px;
- min-height: 50px;
- min-width: 50px;
- display: flex;
- justify-content: flex-end;
- color: aliceblue;
- }
- .cartIcon:hover {
- transform: scale(1.2);
- transform-origin:bottom;
- }
- #mainContainer {
- display: flex;
- }
- #main {
- width: 70%;
- height: auto;
- border-left: 1px solid silver;
- }
- #mainCard{
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- flex-direction: column;
- padding: 3% 10%;
- }
- #divMain {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- flex-direction: column;
- }
- .Cart{
- margin-top: 3vh;
- padding: 3% 1%;
- width: 50%;
- text-align: center;
- }
- .Cart img {
- max-width: 20%;
- }
- .Cart input,button {
- text-align: center;
- border: 1px solid purple;
- margin-left: 5px;
- }
- .cartResult {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- text-align: center;
- width: 150px;
- background-color: azure;
- color: green;
- border: 1px solid purple;
- padding: 1%;
- }
- .history {
- padding: 2%;
- text-align: center;
- width: 60%;
- margin-top: 1%;
- }
- #aside {
- padding-top: 2%;
- flex-direction: column;
- width: 30%;
-
- }
- .asideLink {
- padding: 3% 15% 0 15%;
- }
- .registration {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .registration input {
- margin-top: 5%;
- }
- .registration button {
- margin-top: 5%;
- }
|