| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- @charset "UTF-8";
- $common-color: #333;
- $sub-color: #666;
- $note-color: #999;
- $focus-color: #409eff;
- html{height:100%}
- body{
- font-size: 14px;
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- min-width: 1080px;
- min-height: 100%;
- }
- .page-container{
- width: 100%;
- min-height: 100vh;
- }
- .clear{
- clear: both;
- height: 100px;
- }
- .nav{
- width: 100%;
- display: flex;
- position: sticky;
- padding: 0 50px;
- align-items: center;
- flex-wrap: wrap;
- justify-content: space-between;
- height: 60px;
- background-color: white;
- border-bottom: 1px solid $focus-color;
- &__logo{
- height: 48px;
- }
- &__list{
- height: 100%;
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- justify-content: space-between;
- list-style:none;
- &-left{
- width: 360px;
- font-weight: bold;
- }
- &-right{
- width: 160px;
- justify-content: space-between;
- }
- }
- &__search{
- width: 200px;
- }
- &__item{
- & a{
- text-decoration: none;
- color: $common-color;
- font-size: 16px;
- &:hover{
- color: $focus-color;
- }
- }
- }
- }
- .foot{
- width: 100%;
- background-color: white;
- color: $common-color;
- padding: 30px 50px 0 50px;
- border: 1px solid #ebeef5;
- box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
- &__main{
- width: 100%;
- height: 180px;
- border-bottom: 0.5px white solid;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- &__logo{
- width: 200px;
- }
- &__slogan{
- margin-top: 10px;
- }
- & a{
- font-size: 14px;
- color: $sub-color;
- text-decoration: none;
- display: block;
- cursor: pointer;
- margin-top: 5px;
- }
- &__right{
- width: 450px;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- &__list{
- min-width: 100px;
- &-icons a{
- display: inline-block;
- }
- }
- &__title{
- font-size: 16px;
- padding-bottom: 5px;
- }
- &__icon{
- margin-top: 10px;
- width: 50px;
- height: 50px;
- border-radius: 10px;
- background-size: cover;
- background-position: center center;
- background-repeat: no-repeat;
- border: 1px white solid;
- display: inline-block;
- margin-right: 5px;
- &-zhihu{
- background-image: url('/image/zhihu_icon.jpg');
- }
- &-bilibili{
- background-image: url('/image/bilibili_icon.jpg');
- }
- }
- &__bottom{
- width: 100%;
- text-align: center;
- font-size: 12px;
- }
- }
- h1 h2 h3{
- color: $common-color;
- }
- //h1{
- // font-size: 34px;
- //}
- //
- //h2{
- // font-size: 28px;
- //}
- //
- //h3{
- // font-size: 22px;
- //}
|