body { margin: 0; padding: 0; } *:not(input, textarea) { margin: 0; padding: 0; border: 0px; outline: none; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } h1, h2, h3, h4, h5, h6, p, ul, li, ol, li, dl, dd, dt, button, input, select, textarea { margin: 0; padding: 0; outline: none; resize: none; list-style: none; } h3 { font-size: 2rem; } p, ul, li, ol, li, dl, dd, dt, button, input, select, textarea { font-size: 1.5rem; margin: 0.5rem; } li { list-style-type: none; } img { width: 100%; height: 100%; } a:focus { color: #2a6496; text-decoration: underline; } a:focus { outline: thin dotted #333; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } header, footer { width: 100%; height: 78px; text-align: center; } header { position: relative; background: white; line-height: 90px; } .logo { position: absolute; background: url("../images/viza_logo.jpg") no-repeat; background-size: cover; width: 85px; height: 54px; left: 50%; top: 50%; margin-top: -28px; margin-left: -40px; } footer { position: relative; background: #fff0f5; bottom: 0px; } .f-t { position: absolute; width: 100%; text-align: center; top: 15px; } .container { background: #FFFFFF; position: relative; margin-top: 5px; margin-bottom: 5px; padding: 0px; overflow: hidden; } .nav { text-align: center; } .nav h3 { padding: 20px 0 20px 0; } .nav .nav-line { position: absolute; width: 1px; height: 40px; right: 0px; background: #555555; top: 50%; margin-top: -20px; } .nav > .row { margin: 0px; line-height: 75px; } .row > div:hover { color: #26cbdc; } .tab-box { position: relative; } .tab-box .tb { display: none; height: auto; width: 100%; position: relative; } /*选项卡nav*/ .nav-active { color: #26cbdc; } /*选项卡box*/ .tab-box .tb-active { display: block; } .t-b-1 > .t1-h { width: 100%; height: 300px; overflow: hidden; padding: 5px; } .t1-w { width: 220px; height: 220px; position: relative; text-align: center; } .t-b-1 > .t1-w { left: 50%; margin: 40px 0px 40px -110px; } .t-b-3 .t4-text { text-align: center; position: relative; } .page-list, .page { position: relative; display: inline-block; width: 100%; } .page p { position: relative; overflow: hidden; text-overflow: ellipsis; /*文字隐藏后添加省略号*/ white-space: nowrap; /*强制不换行*/ } .page > div { padding-top: 14px; padding-bottom: 15px; padding-left: 25px; margin-top: 0px; background: white; border-bottom: #ccc 1px dashed; } .modo-t { position: relative; float: left; width: 80%; } .mai p { overflow: hidden; text-overflow: ellipsis; /*文字隐藏后添加省略号*/ white-space: nowrap; /*强制不换行*/ } .page-list .mai-ul { width: 100%; height: 60px; } .page-list .mai-ul ul { padding: 0px; clear: both; width: 100%; margin: 0px; } .page-list .mai-ul ul li { float: left; width: 60px; height: 60px; padding: 0 5px 5px 0; margin: 0px; } .mai-user-img { width: 100%; border-radius: 15px; } .list-load { display: none; } .frist-img { background-image: url("../images/page_on.png"); background-size: cover; width: 230px; height: 180px; background-position: 50% 50%; background-repeat: no-repeat; } @media only screen and (min-device-width: 960px) { header, footer { min-width: 960px; } .mai .frist-img { display: block; } .mai-ul ul li:first-child { display: none; } .mai-user-img { display: none; } .mai > div { width: 100%; } } @media only screen and (min-device-width: 320px) and (max-device-width: 768px) { .row div { padding: 0px; } .page { padding: 0px; } .mai .frist-img { display: none; } .page-list .mai-ul ul li { width: 60px; height: 60px; margin-top: 10px; } .mai-ul ul li:first-child { display: block; } .mai-user-name { display: block; } .mai > .modo-f { float: left; width: 72px; height: 72px; } .mai > .modo-s { width: 73%; float: right; /* padding-left: 41px; */ height: 100%; } .tab-box { padding-top: 0px; } .t-b-3 { } } .nav-tabs.nav-justified>li{ display: table-cell; width: 1%; } .pink{ background: #fff0f5; border-bottom-color: #fff0f5; }