| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- *{
- /* 设置宽度的计算方法 */
- /* -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-transition: background 200ms;
- -moz-transition: background 200ms;
- -ms-transition: background 200ms;
- -o-transition: background 200ms;
- transition: background 200ms; */
- /* background: rgba(0, 0, 0, .1); */
- /* 设置超出内容自动换行 */
- word-wrap: break-word;
- word-break: break-all;
- /* overflow: hidden; */
- }
- img {
- display: block;
- /* 最大宽度不能超过母元素 */
- max-width: 100%;
- border-radius: 3px;
- }
- .navbar {
- margin-bottom: 0px;
- }
- .container {
- width: 1500px;
- }
- .row{
- text-align: center;
- height: 80%;
- }
- .filter{
- height: 30px;
- line-height: 30px;
- margin-bottom: 0px;
- }
- .table{
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
- font-size: 14px;
- color: #2c3a46;
- }
- .navbar-brand{
- width: 60px;
- background-image: url(../img/logo.png);
- background-repeat: no-repeat;
- background-size: 60%;
- background-position: center center;
- }
- .side-bar .list-group-item{
- /* 设置边框 */
- border: 0px;
- border-radius: 3px;
- margin: 5px;
- }
- /* 设置激活状态下的颜色 */
- .side-bar .active{
- background-color: #ea0c3c ;
- }
- /* 设置外边距 */
- .news-list-item{
- padding-top: 10px;
- padding-bottom: 10px;
- border-bottom: 1px solid #eee;
- }
- /* 设置第一个元素外边距无 */
- .news-list-item:first-child{
- padding-top: 0px;
- }
- .news-list-item .title{
- display: block;
- /* 去除下划线 */
- text-decoration: none;
- font-size: 8px;
- font-weight: bold;
- padding-bottom:10px ;
- line-height: 1.5;
- color:#ea0c3c;
- }
- .news-list-item .title:hover{
- color:#999;
- }
- .news-list-item .info{
- color: #999;
- }
- .news-list-item .avatar{
- display: inline-block;
- }
- .news-list-item .avatar img{
- display: inline-block;
- width: 16px;
- height: 16px;
- margin-right: 5px;
- }
- .side-bar-card{
- background: rgb(0, 0,0, .05);
- margin-top: 15px;
- }
- .side-bar-card .flag{
- margin-top: 20px;
- }
- .side-bar-card .text-lg{
- font-size: 100%;
- font-weight: bold;
- padding-top: 8px;
- }
- .side-bar-card .card-title,
- .side-bar-card .card-body .list .item {
- padding:10px 15px;
- }
- .side-bar-card .card-title {
- font-size: 17px;
- font-weight: bold;
- padding-top: 10px;
- padding-bottom: 0;
- }
- .side-bar-card .card-body .list .item{
- font-size: 12px;
- }
- .side-bar-card .card-body .list .desc{
- font-size: 5px;
- color: #999;
- }
- .side-bar-card .card-body .list .item:hover {
- background: rgba(0, 0, 0 ,.05);
- }
- .news-title{
- line-height: 1.3;
- }
- .news-status{
- color: #999;
- }
- .news-status .label{
- opacity: 0.8;
- }
- .news-contents{
- margin-top: 20px;
- font-size: 15px;
- line-height: 1.5;
- }
- .news-contents img{
- margin-top: 10px;
- margin-bottom: 10px;
- }
- .on-padding-h{
- padding-left: 0px;
- padding-right: 0px;
- }
- .footer{
- margin-top: 20px;
- padding: 20px 0;
- /* 设置文字垂直居中 */
- text-align: center;
- }
- .container-small {
- max-width: 500px;
- margin: 0 auto;
- }
-
- .btn-primary {
- background-color: #ea0c3c;
- border-color: #ea0c3c;
- }
-
- .btn-primary:hover,
- .btn-primary.focus,
- .btn-primary:focus,
- .btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary,
- .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
- background-color: #d00e38;
- border-color: #d00e38;
- }
- /* 设置#toggle-checkbox此div当状态为checked时里面所有的div的内容隐藏 */
- #toggle-checkbox:checked ~ div{
- /* !important用于设置最高权重 */
- display: block !important;
- }
- /* 当屏幕为大尺寸时不显示此元素 */
- #toggle-label{
- display: inline-block;
- position: absolute;
- right: 7px;
- top: 15px;
- display: none;
- }
|