public.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. *{
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box}
  5. *,body{padding:0px; margin:0px;color: #ffffff;/*font-family: "微软雅黑";*/}
  6. html,body{
  7. background: url("../images/bg.png") no-repeat;
  8. background-size: cover;
  9. font-size: .16rem;
  10. color: #ffffff;
  11. position: relative;
  12. width: 100%;
  13. height: 100%;
  14. font-family: myFirstFont !important;
  15. }
  16. .fl{
  17. float: left;
  18. }
  19. .fr{
  20. float: right;
  21. }
  22. ul,ol{
  23. list-style: none;
  24. }
  25. .allnav{
  26. height: 100%;
  27. }
  28. @font-face
  29. {
  30. font-family: myFirstFont;
  31. src: url('DISPLAY FREE TFB.ttf')
  32. }
  33. /*谷哥滚动条样式*/
  34. ::-webkit-scrollbar {width:5px;height:5px;position:absolute}
  35. ::-webkit-scrollbar-thumb {background-color:#5bc0de}
  36. ::-webkit-scrollbar-track {background-color:#ddd}
  37. /***/
  38. .allnav{
  39. height: 100%;
  40. }
  41. /*第三栏头部*/
  42. .rightTop{
  43. width: 100%;
  44. height: 450px;
  45. position: relative;
  46. border:1px solid #0bc4e9;
  47. background: rgba(0,72,115,0.28);
  48. transition: all 1s;
  49. cursor: pointer;
  50. }
  51. /*边框公共样式*/
  52. .border:before{
  53. content: '';
  54. position: absolute;
  55. width: 80%;
  56. height: 100%;
  57. bottom: -1px;
  58. top:-1px;
  59. left:10%;
  60. border-bottom: 1px solid #007297;
  61. border-top: 1px solid #007297;
  62. transition: all 0.5s;
  63. }
  64. .border:after{
  65. content: '';
  66. position: absolute;
  67. width: 100%;
  68. height: 80%;
  69. left: -1px;
  70. right:-1px;
  71. top:10%;
  72. border-left: 1px solid #007297;
  73. border-right: 1px solid #007297;
  74. transition: all 0.5s;
  75. }
  76. .border:hover::before{
  77. width: 0%;
  78. }
  79. .border:hover::after{
  80. height: 0%;
  81. }
  82. .border:hover{
  83. box-shadow:-5px 0px 2px rgba(255,255,255,0.1), /*左边阴影*/ 0px -5px 2px rgba(255,255,255,0.1), /*上边阴影*/ 5px 0px 2px rgba(255,255,255,0.1), /*右边阴影*/ 0px 5px 2px rgba(255,255,255,0.1);
  84. background: rgba(255,255,255,0.1);
  85. }
  86. .border h4{
  87. margin: 15px 0 5px 20px;
  88. color: #8adeff;
  89. line-height: 35px;
  90. font-size: 18px;
  91. font-weight: 500;
  92. }
  93. /* 鼠标特效 */
  94. *{
  95. cursor: url(../images/pointer.png) 8 3, auto !important;
  96. }