detail.less 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .wrap {
  2. width: 100%;
  3. margin: 0 auto;
  4. background: #ffffff;
  5. .portal-header {
  6. background: #f8f8f8;
  7. width: 100%;
  8. .portal-logo {
  9. width: 100%;
  10. margin: 0 auto;
  11. padding: 10px 0;
  12. .logo {
  13. width: 120px;
  14. padding-top: 60px;
  15. float: left;
  16. margin-left: 4%;
  17. position: relative;
  18. overflow: hidden;
  19. img {
  20. position: absolute;
  21. top: 0;
  22. right: 0;
  23. height: 60px;
  24. width: 60px;
  25. }
  26. }
  27. .portal-text {
  28. width: 1280px;
  29. line-height: 30px;
  30. font-size: 24px;
  31. margin: 0 auto;
  32. .alink {
  33. float: right;
  34. font-size: 14px;
  35. line-height: 30px;
  36. a {
  37. color: #333;
  38. padding: 0 8px;
  39. border-left: 1px solid #999999;
  40. }
  41. >a {
  42. &:first-child {
  43. border: none;
  44. }
  45. }
  46. }
  47. >span {
  48. padding-left: 20px;
  49. }
  50. }
  51. }
  52. }
  53. .footer {
  54. width: 100%;
  55. position: fixed;
  56. bottom: 0;
  57. left: 0;
  58. z-index: 1;
  59. text-align: center;
  60. padding: 6px 0;
  61. padding: 10px 0;
  62. text-align: center;
  63. background: #f0f0f0;
  64. p {
  65. line-height: 24px;
  66. }
  67. }
  68. .detail-content {
  69. width: 1280px;
  70. margin: 0 auto;
  71. padding-top: 20px;
  72. padding-bottom: 60px;
  73. .avatar-box {
  74. height: 120px;
  75. width: 120px;
  76. margin: 0 auto;
  77. padding-top: 120px;
  78. position: relative;
  79. img {
  80. position: absolute;
  81. top: 0;
  82. left: 0;
  83. height: 120px;
  84. width: auto;
  85. }
  86. }
  87. }
  88. }