style.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. import styled from "styled-components";
  2. import logo from '../../statics/images/nosum.svg';
  3. export const Footers = styled.footer`
  4. padding: 2%;
  5. background: rgba(255,255,255,.8);
  6. max-width: 900px;
  7. margin-left: auto;
  8. margin-right: auto;
  9. .site-info {
  10. text-align: center;
  11. font-size: 13px;
  12. color: #b9b9b9;
  13. .footertext .foo-logo {
  14. background-image: url(${logo});
  15. width: 30px;
  16. height: 30px;
  17. opacity: .3;
  18. margin: 0 auto;
  19. background-size: cover;
  20. background-position: center center;
  21. background-repeat: no-repeat;
  22. animation: poi-deg 12s infinite linear;
  23. -webkit-animation: poi-deg 12s infinite linear;
  24. }
  25. p{
  26. margin:15px 0;
  27. }
  28. .name{
  29. span{
  30. color: #666666;
  31. }
  32. i{
  33. color: #e74c3c;
  34. }
  35. a{
  36. color: #000000;
  37. text-decoration:none;
  38. }
  39. }
  40. }
  41. .footer-sponsor{
  42. img{
  43. width:52px;
  44. margin-right:10px;
  45. }
  46. }
  47. @keyframes poi-deg {
  48. 0% {
  49. transform: rotate(0deg)
  50. }
  51. 100% {
  52. transform: rotate(360deg)
  53. }
  54. }
  55. @-webkit-keyframes poi-deg {
  56. 0% {
  57. transform: rotate(0deg)
  58. }
  59. 100% {
  60. transform: rotate(360deg)
  61. }
  62. }
  63. `;