123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- html {
- font-size: 50px;
- }
- @media screen and (min-width: 320px) {
- html {
- font-size: 21.33333333px;
- }
- }
- @media screen and (min-width: 360px) {
- html {
- font-size: 24px;
- }
- }
- @media screen and (min-width: 375px) {
- html {
- font-size: 25px;
- }
- }
- @media screen and (min-width: 384px) {
- html {
- font-size: 25.6px;
- }
- }
- @media screen and (min-width: 400px) {
- html {
- font-size: 26.66666667px;
- }
- }
- @media screen and (min-width: 414px) {
- html {
- font-size: 27.6px;
- }
- }
- @media screen and (min-width: 424px) {
- html {
- font-size: 28.26666667px;
- }
- }
- @media screen and (min-width: 480px) {
- html {
- font-size: 32px;
- }
- }
- @media screen and (min-width: 540px) {
- html {
- font-size: 36px;
- }
- }
- @media screen and (min-width: 720px) {
- html {
- font-size: 48px;
- }
- }
- @media screen and (min-width: 750px) {
- html {
- font-size: 50px;
- }
- }
- a {
- text-decoration: none;
- }
- body {
- min-width: 320px;
- margin: 0 auto;
- width: 15rem;
- line-height: 1.5;
- font-family: Arial, Helvetica, sans-serif;
- background-color: #f2f2f2;
- }
- .search-content {
- display: flex;
- position: fixed;
- top: 0;
- left: 50%;
- width: 15rem;
- height: 1.76rem;
- transform: translateX(-50%);
- background-color: #ffc001;
- }
- .search-content .classify {
- width: 0.88rem;
- height: 1.4rem;
- background: url(../images/classify.png) no-repeat;
- background-size: 0.88rem auto;
- margin: 0.22rem 0.5rem 0.14rem 0.48rem;
- }
- .search-content .search {
- flex: 1;
- }
- .search-content .search input {
- box-sizing: border-box;
- outline: none;
- width: 100%;
- border: 0;
- height: 1.32rem;
- border-radius: 0.66rem;
- background-color: #fff2cc;
- margin-top: 0.24rem;
- font-size: 0.5rem;
- padding-left: 1.1rem;
- color: #757575;
- }
- .search-content .login {
- width: 1.5rem;
- height: 1.4rem;
- line-height: 1.4rem;
- margin: 0.2rem;
- font-size: 0.5rem;
- color: white;
- text-align: center;
- }
- .banner {
- width: 15rem;
- height: 7.36rem;
- }
- .banner img {
- width: 100%;
- height: 100%;
- }
- .ad {
- display: flex;
- }
- .ad a {
- flex: 1;
- }
- .ad a img {
- width: 100%;
- }
- nav {
- display: flex;
- width: 100%;
- flex-wrap: wrap;
- }
- nav a {
- display: flex;
- flex-direction: column;
- align-items: center;
- flex: 20%;
- height: 2.8rem;
- }
- nav a img {
- width: 1.64rem;
- height: 1.64rem;
- margin: 0.2rem;
- }
- nav a span {
- font-size: 0.5rem;
- }
|