2021的特普通奖
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

189 lines
2.7 KiB

2 years ago
2 years ago
  1. body {
  2. background: #fff url('/ordinary/static/img/bg.jpg') repeat-x fixed center top / 650px;
  3. font-family: 'Noto Sans SC', sans-serif;
  4. font-weight: 300;
  5. }
  6. .container {
  7. overflow: hidden;
  8. min-height: 100vh;
  9. }
  10. .user-info {
  11. position: fixed;
  12. top: 0;
  13. right: 0;
  14. z-index: 1030
  15. }
  16. .user-info:not(:hover) div:not(.show) .username{
  17. display: none;
  18. }
  19. .story-card {
  20. display: inline-block;
  21. margin: 0 30px 45px;
  22. max-width: 20rem;
  23. vertical-align: top;
  24. }
  25. .story-text {
  26. font-size: 90%;
  27. text-indent: 2rem;
  28. word-break: break-word;
  29. }
  30. .card-img-top {
  31. margin: 5% 25%;
  32. width: 50%;
  33. }
  34. h1, h2, h3, h4, h5 {
  35. font-family: 'Noto Serif SC', serif;
  36. }
  37. h4, h5, b {
  38. font-weight: 700;
  39. }
  40. a, a:hover,
  41. .btn-link, .btn-link:hover {
  42. color: inherit;
  43. text-decoration: underline;
  44. }
  45. a:focus, .btn-link:focus {
  46. box-shadow: none;
  47. }
  48. .btn-lg {
  49. font-family: 'Noto Serif SC', serif;
  50. }
  51. .part1 {
  52. width: 100%;
  53. max-width: 500px;
  54. float: left;
  55. position: relative;
  56. }
  57. .part2 {
  58. min-width: 250px;
  59. max-width: 500px;
  60. overflow: hidden;
  61. padding-left: 25px;
  62. position: relative;
  63. }
  64. .part-box {
  65. min-width: 250px;
  66. min-height: 450px;
  67. }
  68. .qbox {
  69. border: 2px black solid;
  70. background: white;
  71. padding: 5px;
  72. color: black;
  73. margin: 5px 5px 40px;
  74. }
  75. #answerLogin input {
  76. border: none;
  77. border-bottom: 1px solid;
  78. border-radius: 0;
  79. }
  80. #answerLogin {
  81. border: 1px #f0f0f0 solid;
  82. padding: 5px;
  83. }
  84. .timeago {
  85. font-size: 0.5em;
  86. margin-right: 10px;
  87. }
  88. .behind {
  89. z-index: 98;
  90. cursor: pointer;
  91. transform: translateY(5px) scale(0.98);
  92. transform-origin: top;
  93. transition-property: transform;
  94. transition-duration: 0.5s;
  95. }
  96. .front {
  97. z-index: 99;
  98. transition-property: transform;
  99. transition-duration: 0.5s;
  100. }
  101. .create-paragraph {
  102. position: absolute;
  103. top: 0;
  104. right: 0;
  105. margin: 0 0 50px 40px;
  106. width: 90%;
  107. background: #000;
  108. color: #fff;
  109. }
  110. .create-paragraph textarea {
  111. border: none;
  112. border-radius: 0;
  113. border-bottom: 2px solid;
  114. background: black;
  115. color: white;
  116. }
  117. .paragraph-list {
  118. position: relative;
  119. margin: 45px 50px 30px 0;
  120. background: white;
  121. }
  122. .show-mask {
  123. display: block;
  124. position: absolute;
  125. top: 20px;
  126. right: 35px;
  127. text-align: center;
  128. padding-top: 330px;
  129. width: 100%;
  130. z-index: 999;
  131. }
  132. .footer {
  133. background: black;
  134. color: white;
  135. text-align: center;
  136. font-size: 80%;
  137. border-top: solid 1px white;
  138. }
  139. .footer p {
  140. margin: 10px 0 0;
  141. float: bottom;
  142. }
  143. .story-box h1 {
  144. margin: -8px -5px 20px;
  145. text-align: center;
  146. }
  147. .story-box img {
  148. width: 80%;
  149. display: block;
  150. margin-left: auto;
  151. margin-right: auto;
  152. }
  153. nav .page-link {
  154. color: #000;
  155. }
  156. nav .page-item.active .page-link {
  157. background-color: #000;
  158. border-color: #000;
  159. }