_base.links.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. a {
  2. font-weight: $base-font-bold;
  3. text-decoration: none;
  4. color: $light-red;
  5. text-shadow: 1px 1px $dark-white ,2px 2px $darker-white;
  6. }
  7. blockquote a {
  8. color: $blue;
  9. text-shadow: none;
  10. &:hover {
  11. border-bottom: 1px dashed $blue;
  12. }
  13. }
  14. /**
  15. * btn
  16. */
  17. .btn-primary {
  18. width: auto;
  19. height: auto;
  20. padding: 5px 10px;
  21. @include border-radius(20px);
  22. @include transition-duration(0.5s);
  23. text-shadow: none;
  24. border: 2px solid $blue;
  25. color: $blue;
  26. background-color: transparent;
  27. &:hover,
  28. &:active {
  29. background-color: rgba(98, 179, 245, 0.2);
  30. }
  31. }
  32. .btn-blue {
  33. }
  34. .btn-white {
  35. border: 2px solid $white;
  36. color: $white;
  37. background-color: transparent;
  38. &:hover,
  39. &:active {
  40. background-color: rgba(255, 255, 255, 0.2);
  41. }
  42. }
  43. .btn-left {
  44. border-radius: 1em 1em 1em 0;
  45. }
  46. .btn-right {
  47. border-radius: 1em 1em 0 1em;
  48. }
  49. .btn-top {
  50. font-size: 3em;
  51. position: fixed;
  52. bottom: 40px;
  53. right: 20px;
  54. }
  55. .btn-pagination {
  56. color: $blue;
  57. &:hover,
  58. &:active {
  59. color: $light-red;
  60. }
  61. }
  62. .post-pagination {
  63. height: 1.5em;
  64. margin-top: 1.5em;
  65. .next {
  66. float: right;
  67. }
  68. }
  69. .page-holder {
  70. text-align: center;
  71. a {
  72. color: $blue;
  73. text-align: center;
  74. cursor: pointer;
  75. display: inline-block;
  76. height: 25px;
  77. width: 25px;
  78. &:not(:last-child) {
  79. margin-right: 5px;
  80. }
  81. }
  82. span {
  83. color: $blue;
  84. font-weight: $base-font-bold;
  85. text-shadow: 1px 1px $dark-white ,2px 2px $darker-white;
  86. margin: 0 5px;
  87. }
  88. .jp-current {
  89. pointer-events: none;
  90. cursor: auto;
  91. @include border-radius(0.3em);
  92. background-color: $blue;
  93. text-shadow: none;
  94. color: $white;
  95. box-shadow: 1px 1px 0 1px $darker-white;
  96. -webkit-box-shadow: 1px 1px 0 1px $darker-white;
  97. }
  98. .jp-disabled {
  99. color: $grey-color;
  100. cursor: auto;
  101. event-pointers:none;
  102. }
  103. }
  104. /**
  105. * Post Tab
  106. **/
  107. .posts-tabs {
  108. border-bottom: 2px solid $blue;
  109. margin-bottom: 20px;
  110. color: $grey-color;
  111. max-height: 2em;
  112. overflow: hidden;
  113. .posts-tab-item {
  114. display: inline-block;
  115. width: 4em;
  116. margin-right: 0.5em;
  117. padding-top: 0.2em;
  118. padding-bottom: 0.2em;
  119. color: $blue;
  120. cursor: pointer;
  121. text-align: center;
  122. border: 2px solid $blue;
  123. border-bottom: none;
  124. &.active {
  125. color: $white;
  126. background-color: $blue;
  127. }
  128. }
  129. i {
  130. position: relative;
  131. margin-left: 1.6em;
  132. margin-right: 1.6em;
  133. }
  134. i:first-of-type {
  135. margin-left: 2.4em;
  136. }
  137. i:nth-of-type(2n) {
  138. bottom: 0.4em;
  139. transform: rotate(80deg);
  140. }
  141. i:nth-of-type(2n+1) {
  142. transform: rotate(100deg);
  143. }
  144. }
  145. .tab-hidden {
  146. display: none;
  147. }
  148. /**
  149. * title
  150. */
  151. .post-title {
  152. display: inline-block;
  153. max-width: 75%;
  154. color: $light-red;
  155. text-shadow: 1px 1px $dark-white, 2px 2px $darker-white;
  156. &:hover {
  157. text-shadow: 1px 1px $dark-white, 2px 2px $light-blue;
  158. }
  159. }
  160. .entry-title {
  161. color: $blue;
  162. a {
  163. color: $blue;
  164. text-shadow: none;
  165. &:hover {
  166. border-bottom: 1px dashed $blue;
  167. }
  168. }
  169. }
  170. /**
  171. * comment
  172. I use Gitalk as comment system and want to change the default style of the Gitalk
  173. */
  174. #gitalk-container .gt-container {
  175. .gt-btn {
  176. border: 1px solid $blue;
  177. background-color: $blue;
  178. }
  179. .gt-btn-preview {
  180. background-color: $white;
  181. color: $blue;
  182. &:hover {
  183. background-color: rgba(98, 179, 245, 0.2);
  184. }
  185. }
  186. a {
  187. color: $blue;
  188. text-shadow: 1px 1px $dark-white, 2px 2px $darker-white;
  189. &:hover {
  190. text-shadow: 1px 1px $dark-white, 2px 2px $light-blue;
  191. }
  192. }
  193. .gt-link {
  194. border-bottom: 1px dotted $blue;
  195. }
  196. .gt-comment-admin .gt-comment-content {
  197. background-color: rgba(98, 179, 245, 0.2);
  198. }
  199. .gt-svg svg {
  200. fill: $blue;
  201. }
  202. .gt-spinner::before {
  203. border-top-color: $blue;
  204. }
  205. .gt-btn-public:hover {
  206. background-color: $blue;
  207. border-color: $blue;
  208. }
  209. .gt-error {
  210. color: $light-red;
  211. }
  212. .gt-user .is--poping .gt-ico svg {
  213. fill: $blue;
  214. }
  215. .gt-popup .gt-action.is--active:before {
  216. background: $blue;
  217. }
  218. .gt-header-controls-tip, .gt-comment-username{
  219. color: $blue;
  220. }
  221. }