style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. .grid-block, .main, .post, .comments li, .comment-form {
  2. background: #ffffff;
  3. border-radius: 3px;
  4. padding: 10px;
  5. margin-bottom: 10px;
  6. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  7. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  8. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  9. }
  10. body {
  11. background: #eeeeee;
  12. color: #666666;
  13. }
  14. #main {
  15. position: relative;
  16. }
  17. .page {
  18. position: absolute;
  19. top: 0px;
  20. width: 100%;
  21. }
  22. .navbar {
  23. margin-bottom: 10px;
  24. }
  25. /* line 32, ../sass/style.scss */
  26. .navbar .navbar-inner {
  27. border-radius: 0px 0px 3px 3px;
  28. }
  29. #spinner {
  30. height: 300px;
  31. }
  32. .post {
  33. /* For modern browsers */
  34. /* For IE 6/7 (trigger hasLayout) */
  35. *zoom: 1;
  36. position: relative;
  37. opacity: 1;
  38. }
  39. .post:before, .post:after {
  40. content: "";
  41. display: table;
  42. }
  43. .post:after {
  44. clear: both;
  45. }
  46. .post.invisible {
  47. opacity: 0;
  48. }
  49. .post.instant {
  50. -webkit-transition: none;
  51. -moz-transition: none;
  52. -o-transition: none;
  53. transition: none;
  54. }
  55. .post.animate {
  56. -webkit-transition: all 300ms 0ms;
  57. -moz-transition: all 300ms 0ms ease-in;
  58. -o-transition: all 300ms 0ms ease-in;
  59. transition: all 300ms 0ms ease-in;
  60. }
  61. .post .upvote {
  62. display: block;
  63. margin: 7px 12px 0 0;
  64. float: left;
  65. }
  66. .post .post-content {
  67. float: left;
  68. }
  69. .post .post-content h3 {
  70. margin: 0;
  71. line-height: 1.4;
  72. font-size: 18px;
  73. }
  74. .post .post-content h3 a {
  75. display: inline-block;
  76. margin-right: 5px;
  77. }
  78. .post .post-content h3 span {
  79. font-weight: normal;
  80. font-size: 14px;
  81. display: inline-block;
  82. color: #aaaaaa;
  83. }
  84. .post .post-content p {
  85. margin: 0;
  86. }
  87. .post .discuss {
  88. display: block;
  89. float: right;
  90. margin-top: 7px;
  91. }
  92. .comments {
  93. list-style-type: none;
  94. margin: 0;
  95. }
  96. .comments li h4 {
  97. font-size: 16px;
  98. margin: 0;
  99. }
  100. .comments li h4 .date {
  101. font-size: 12px;
  102. font-weight: normal;
  103. }
  104. .comments li h4 a {
  105. font-size: 12px;
  106. }
  107. .comments li p:last-child {
  108. margin-bottom: 0;
  109. }
  110. .dropdown-menu span {
  111. display: block;
  112. padding: 3px 20px;
  113. clear: both;
  114. line-height: 20px;
  115. color: #bbbbbb;
  116. white-space: nowrap;
  117. }
  118. .load-more {
  119. display: block;
  120. border-radius: 3px;
  121. background: rgba(0, 0, 0, 0.05);
  122. text-align: center;
  123. height: 60px;
  124. line-height: 60px;
  125. margin-bottom: 10px;
  126. }
  127. .load-more:hover {
  128. text-decoration: none;
  129. background: rgba(0, 0, 0, 0.1);
  130. }
  131. .posts .spinner-container {
  132. position: relative;
  133. height: 100px;
  134. }
  135. .jumbotron {
  136. text-align: center;
  137. }
  138. .jumbotron h2 {
  139. font-size: 60px;
  140. font-weight: 100;
  141. }
  142. @-webkit-keyframes fadeOut {
  143. 0% {
  144. opacity: 0;
  145. }
  146. 10% {
  147. opacity: 1;
  148. }
  149. 90% {
  150. opacity: 1;
  151. }
  152. 100% {
  153. opacity: 0;
  154. }
  155. }
  156. @keyframes fadeOut {
  157. 0% {
  158. opacity: 0;
  159. }
  160. 10% {
  161. opacity: 1;
  162. }
  163. 90% {
  164. opacity: 1;
  165. }
  166. 100% {
  167. opacity: 0;
  168. }
  169. }
  170. .errors {
  171. position: fixed;
  172. z-index: 10000;
  173. padding: 10px;
  174. top: 0px;
  175. left: 0px;
  176. right: 0px;
  177. bottom: 0px;
  178. pointer-events: none;
  179. }
  180. .alert {
  181. animation: fadeOut 2700ms ease-in 0s 1 forwards;
  182. -webkit-animation: fadeOut 2700ms ease-in 0s 1 forwards;
  183. -moz-animation: fadeOut 2700ms ease-in 0s 1 forwards;
  184. width: 250px;
  185. float: right;
  186. clear: both;
  187. margin-bottom: 5px;
  188. pointer-events: auto;
  189. }