_base.text.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. .text-center {
  2. text-align: center;
  3. }
  4. .copyright {
  5. font-size: $small-font-size;
  6. color: $white;
  7. }
  8. .comment-desc {
  9. margin-top: 1.5em;
  10. font-size: $small-font-size;
  11. color: $grey-color;
  12. }
  13. .error-desc {
  14. font-size: $large-font-size;
  15. color: $white;
  16. }
  17. /**
  18. * halving rule
  19. -webkit-box-flex: 1;
  20. -moz-box-flex: 1;
  21. -webkit-flex: 1;
  22. -ms-flex: 1;
  23. flex: 1;
  24. */
  25. .line-highlight {
  26. @include flex();
  27. text-align: center;
  28. justify-content: center;
  29. -webkit-justify-content: center;
  30. margin: 20px 0;
  31. color: $blue;
  32. align-items: center;
  33. -webkit-align-items: center;
  34. &:before {
  35. content: '';
  36. -webkit-box-flex: 1;
  37. -moz-box-flex: 1;
  38. -webkit-flex: 1;
  39. -ms-flex: 1;
  40. flex: 1;
  41. border-top: 2px dashed $light-blue;
  42. margin-right: 10px;
  43. }
  44. &:after {
  45. content: '';
  46. -webkit-box-flex: 1;
  47. -moz-box-flex: 1;
  48. -webkit-flex: 1;
  49. -ms-flex: 1;
  50. flex: 1;
  51. border-top: 2px dashed $light-blue;
  52. margin-left: 10px;
  53. }
  54. }
  55. /**
  56. * Title
  57. */
  58. .blue-title {
  59. color: $blue;
  60. text-shadow: 1px 1px $dark-white,2px 2px $darker-white;
  61. }
  62. .white-title {
  63. color: $white;
  64. }
  65. .error-wrapper .white-title {
  66. font-size: $base-font-size*9;
  67. }
  68. .red-title {
  69. color: $light-red;
  70. text-shadow: 1px 1px $dark-white,2px 2px $darker-white;
  71. }
  72. /**
  73. * Timeline
  74. */
  75. #vertical-timeline {
  76. position: relative;
  77. padding: 0;
  78. margin-top: 2em;
  79. margin-bottom: 2em;
  80. &:before {
  81. content: '';
  82. position: absolute;
  83. top: 0;
  84. left: 18px;
  85. height: 100%;
  86. width: 4px;
  87. background: $light-blue;
  88. }
  89. }
  90. .vertical-timeline-block {
  91. position: relative;
  92. margin: 2em 0;
  93. &:after {
  94. content: "";
  95. display: table;
  96. clear: both;
  97. }
  98. &:first-child {
  99. margin-top: 0;
  100. }
  101. &:last-child {
  102. margin-bottom: 0;
  103. }
  104. }
  105. .vertical-timeline-icon {
  106. position: absolute;
  107. top: 0;
  108. left: 0;
  109. width: 40px;
  110. height: 40px;
  111. @include border-radius(50%);
  112. font-size: 16px;
  113. border: 3px solid $light-blue;
  114. text-align: center;
  115. background-color: $blue;
  116. color: $white;
  117. i {
  118. display: block;
  119. width: 24px;
  120. height: 24px;
  121. position: relative;
  122. left: 50%;
  123. top: 50%;
  124. margin-left: -12px;
  125. margin-top: -9px;
  126. }
  127. }
  128. .vertical-timeline-content {
  129. position: relative;
  130. margin-left: 60px;
  131. background: lighten($blue, 33%);
  132. @include border-radius(0.25em);
  133. padding: 1em;
  134. &:after {
  135. content: "";
  136. display: table;
  137. clear: both;
  138. }
  139. p {
  140. color: $grey-color;
  141. margin: 1em 0;
  142. line-height: 1.6;
  143. }
  144. &:before {
  145. content: '';
  146. position: absolute;
  147. top: 16px;
  148. right: 100%;
  149. height: 0;
  150. width: 0;
  151. //border: 7px solid transparent;
  152. //border-right: 7px solid $white;
  153. }
  154. }
  155. /**
  156. * Post
  157. */
  158. .posts-list {
  159. //margin: 30px 0 0 0;
  160. > li {
  161. list-style-type: none;
  162. margin-bottom: 15px;
  163. padding: 10px 0;
  164. border-top: 1px dashed $light-red;
  165. &:first-child {
  166. border-top: none;
  167. padding-top: 0;
  168. }
  169. p {
  170. color: $grey-color;
  171. }
  172. .date {
  173. color: $blue;
  174. float: right;
  175. display: inline-block;
  176. font-size: 15px;
  177. padding-top: 10px;
  178. }
  179. }
  180. .jp-hidden+li {
  181. border-top: none;
  182. padding-top: 0;
  183. }
  184. }