mobile.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. header {
  2. display: flex;
  3. flex-direction: row;
  4. flex-wrap: nowrap;
  5. justify-content: space-between;
  6. align-items: baseline;
  7. background-color: #0a5b95;
  8. padding: 0.5rem;
  9. width: 100%;
  10. z-index: 8000;
  11. a {
  12. font-size: 1.3rem;
  13. font-family: 'Open-Sans-Extrabold';
  14. color: #eee;
  15. &:hover,
  16. &:focus {
  17. color: #fff;
  18. }
  19. }
  20. button {
  21. border: none;
  22. background: none;
  23. font-size: 1.6rem;
  24. color: #eee;
  25. margin: 0;
  26. &:last-child {
  27. font-size: 1.2rem;
  28. }
  29. }
  30. }
  31. nav {
  32. background-color: #efefef;
  33. border-top: 1px solid #d2d2d2;
  34. border-bottom: 1px solid #d2d2d2;
  35. overflow: hidden;
  36. top: 57px;
  37. z-index: 8000;
  38. width: 100%;
  39. }
  40. main {
  41. position: relative;
  42. padding: 20px 0;
  43. }
  44. footer {
  45. border-top: 1px solid #d2d2d2;
  46. background-color: #eee;
  47. padding: 30px 10px;
  48. text-align: center;
  49. p {
  50. color: #108d00;
  51. a {
  52. color: inherit;
  53. }
  54. margin-bottom: 7px;
  55. }
  56. cite {
  57. font-size: 12px;
  58. font-style: normal;
  59. }
  60. }
  61. #main,
  62. #search,
  63. #categories,
  64. #recommend,
  65. #goldBox {
  66. figure {
  67. a {
  68. display: block;
  69. img {
  70. zoom: 1;
  71. &:hover,
  72. &:focus {
  73. border: 1px solid #ff9020;
  74. }
  75. }
  76. }
  77. figcaption {
  78. a {
  79. color: #333;
  80. font-size: 14px;
  81. &:hover,
  82. &:focus {
  83. text-decoration: underline;
  84. }
  85. }
  86. }
  87. p {
  88. margin-top: 7px;
  89. margin-bottom: 5px;
  90. color: #cb1400;
  91. font-weight: bold;
  92. font-family: Tahoma;
  93. }
  94. }
  95. .ads {
  96. a {
  97. display: block;
  98. margin-bottom: 5px;
  99. img {
  100. width: 100%;
  101. }
  102. }
  103. }
  104. }
  105. #event {
  106. figure {
  107. a {
  108. display: block;
  109. img {
  110. zoom: 1;
  111. &:hover,
  112. &:focus {
  113. border: 1px solid #ff9020;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. .swiper {
  120. width: 100%;
  121. height: 100%;
  122. .swiper-wrapper {
  123. .swiper-slide {
  124. text-align: center;
  125. font-size: 18px;
  126. background: #fff;
  127. display: flex;
  128. justify-content: center;
  129. align-items: center;
  130. img {
  131. display: block;
  132. width: 100%;
  133. height: 100%;
  134. object-fit: cover;
  135. }
  136. }
  137. }
  138. --swiper-navigation-size: 1.875rem;
  139. }
  140. .offcanvas {
  141. max-width: 300px;
  142. z-index: 9999;
  143. .offcanvas-header {
  144. h5 {
  145. color: #1f3cab;
  146. font-weight: bold;
  147. font-family: 'Open-Sans-Extrabold';
  148. }
  149. }
  150. .offcanvas-body {
  151. .dropdown {
  152. .dropdown-menu {
  153. background-color: #f1f1f1;
  154. position: relative !important;
  155. transform: none !important;
  156. }
  157. }
  158. table {
  159. width: 100%;
  160. caption {
  161. caption-side: top;
  162. padding: 0 0;
  163. }
  164. tr {
  165. th {
  166. text-align: left;
  167. padding: 3px 0;
  168. font-weight: inherit;
  169. }
  170. td {
  171. text-align: right;
  172. padding: 3px 0;
  173. }
  174. }
  175. }
  176. iframe {
  177. width: 100%;
  178. }
  179. }
  180. }
  181. #btnMoveTop {
  182. position: fixed;
  183. right: 0;
  184. bottom: 24px;
  185. cursor: pointer;
  186. z-index: 9998;
  187. img {
  188. width: 60%;
  189. }
  190. }