my-calendar.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .page-calendar{
  2. background: #543928;
  3. min-height:100vh;
  4. width:100%;
  5. display: flex;
  6. padding-bottom:10px;
  7. .calendar-out{
  8. width:95%;
  9. margin:auto;
  10. height:90%;
  11. margin-top:10px;
  12. .top-header{
  13. height:20px;
  14. background-image: url(/static/images/caltop.png);
  15. }
  16. .top-content{
  17. background:#FFF;
  18. }
  19. .mid-bg{
  20. height:110px;
  21. background-image: url(/static/images/calmid.jpg);
  22. background-size: 101% 110px;
  23. background-repeat: no-repeat;
  24. width: 100%;
  25. }
  26. .mid-data{
  27. background:#FFF;
  28. height:250px;
  29. overflow: hidden;
  30. overflow-y: auto;
  31. .news-date{
  32. font-size:14px;
  33. font-weight: bold;
  34. margin-left:10px;
  35. }
  36. .data-list{
  37. margin-top:10px;
  38. display:flex;
  39. flex-direction: column;
  40. margin-bottom:10px;
  41. margin-left:10px;
  42. margin-right: 10px;
  43. .item{
  44. height:80px;
  45. overflow: hidden;
  46. display:flex;
  47. flex-direction: row;
  48. justify-content: flex-start;
  49. align-items: center;
  50. .image{
  51. width:70px;
  52. height: 70px;
  53. display:flex;
  54. justify-content: center;
  55. align-items: center;
  56. margin-right: 10px;
  57. .img{
  58. width:100%;
  59. height:100%;
  60. border-radius: 10px;
  61. overflow: hidden;
  62. }
  63. }
  64. .news{
  65. width:70%;
  66. height:100%;
  67. .title{
  68. height:30px;
  69. display:flex;
  70. flex-direction: row;
  71. justify-content: space-between;
  72. align-items: center;
  73. margin-left:5px;
  74. .text{
  75. font-size:16px;
  76. font-weight:bold;
  77. color:#000;
  78. }
  79. .date{
  80. font-size:12px;
  81. margin-right:10px;
  82. }
  83. }
  84. .intro{
  85. font-size:12px;
  86. color:#aaaaaa;
  87. margin-top:5px;
  88. margin-left:5px;
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }
  95. }