人民医院前端

common.css 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body{
  7. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  8. }
  9. a{
  10. text-decoration: none;
  11. }
  12. li{
  13. list-style: none;
  14. }
  15. .header{
  16. width: 100%;
  17. height: 60px;
  18. line-height: 60px;
  19. }
  20. .sub-header{
  21. width: 100%;
  22. height: 320px;
  23. color: #fff;
  24. background-color: #0074d9;
  25. }
  26. .container{
  27. width: 900px;
  28. margin: 0 auto;
  29. height: 100%;
  30. position: relative;
  31. }
  32. .header .brand{
  33. float: left;
  34. margin-right: 1rem;
  35. font-size: 1.25rem;
  36. line-height: inherit;
  37. color:rgba(0,0,0,.9);
  38. }
  39. .header ul{
  40. float: right;
  41. }
  42. .header li{
  43. display: inline-block;
  44. width: 60px;
  45. text-align: center;
  46. }
  47. .header li a{
  48. color: #9692a9;
  49. }
  50. .sub-header h1{
  51. font-size: 4.5rem;
  52. font-weight: normal;
  53. padding-top: 65px;
  54. }
  55. .sub-header .version{
  56. font-size: 16px;
  57. opacity: .8;
  58. color: #fff;
  59. font-weight: 400;
  60. display: inline;
  61. }
  62. .sub-header p{
  63. margin-top: 20px;
  64. font-size: 1.2rem;
  65. font-weight: 400;
  66. }
  67. .detail{
  68. width: 500px;
  69. margin: 80px auto 0 auto;
  70. }
  71. .detail .btn{
  72. width: 200px;
  73. height: 60px;
  74. line-height: 60px;
  75. background-color: #0074d9;
  76. float: left;
  77. border-radius: 5px;
  78. color: #fff;
  79. text-align: center;
  80. }
  81. .detail .btn.left{
  82. margin-right: 100px;
  83. }
  84. .sub-header .img{
  85. position: absolute;
  86. width: 300px;
  87. top: 20px;
  88. height: 280px;
  89. right: 0;
  90. background-color: #fff;
  91. border-radius: 5px;
  92. padding: 10px;
  93. }
  94. .sub-header .img img{
  95. width: 100%;
  96. height: 100%;
  97. }