post-reward.styl 893 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .reward-container {
  2. margin: 20px auto;
  3. padding: 10px 0;
  4. text-align: center;
  5. width: 90%;
  6. button {
  7. background: transparent;
  8. border: 1px solid #fc6423;
  9. border-radius: 0;
  10. color: #fc6423;
  11. cursor: pointer;
  12. line-height: 2;
  13. outline: 0;
  14. padding: 0 15px;
  15. vertical-align: text-top;
  16. &:hover {
  17. background: #fc6423;
  18. border: 1px solid transparent;
  19. color: #fa9366
  20. }
  21. }
  22. }
  23. #qr {
  24. padding-top: 20px;
  25. a {
  26. border: 0;
  27. }
  28. img {
  29. display: inline-block;
  30. margin: .8em 2em 0 2em;
  31. max-width: 100%;
  32. width: 180px;
  33. }
  34. p {
  35. text-align: center;
  36. }
  37. if (hexo-config('reward_settings.animation')) {
  38. > div:hover p {
  39. animation: roll .1s infinite linear;
  40. }
  41. @keyframes roll {
  42. from {
  43. transform: rotateZ(30deg);
  44. }
  45. to {
  46. transform: rotateZ(-30deg);
  47. }
  48. }
  49. }
  50. }