footer.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .footer {
  2. color: get-light-color('muted-text-color') !important;
  3. background-color: get-light-color('footer-color');
  4. position: relative;
  5. z-index: 9999;
  6. h5 {
  7. color: get-light-color('inverse-text-color');
  8. }
  9. a {
  10. color: get-light-color('muted-text-color');
  11. @include transition();
  12. &:hover {
  13. margin-left: 5px;
  14. text-decoration: get-light-color('muted-text-color') underline;
  15. @include transition();
  16. }
  17. }
  18. ul {
  19. list-style: none;
  20. padding-left: 0;
  21. li {
  22. margin-top: 5px;
  23. }
  24. }
  25. hr {
  26. background-color: get-light-color('muted-text-color');
  27. }
  28. p:first-child {
  29. color: get-light-color('inverse-text-color');
  30. }
  31. input {
  32. background-color: get-light-color('inverse-text-color');
  33. &:focus {
  34. background-color: get-light-color('bg-secondary');
  35. }
  36. }
  37. #disclaimer {
  38. color: get-light-color('muted-text-color') !important;
  39. text-align: justify;
  40. & > strong {
  41. color: get-light-color('inverse-text-color') !important;
  42. }
  43. }
  44. #theme {
  45. color: get-light-color('inverse-text-color');
  46. img {
  47. width: 32px;
  48. display: inline-block;
  49. }
  50. }
  51. #hugo {
  52. &:hover {
  53. margin-right: 5px;
  54. @include transition();
  55. }
  56. img {
  57. display: inline-block;
  58. }
  59. }
  60. }
  61. html[data-theme='dark'] {
  62. .footer {
  63. color: get-dark-color('muted-text-color') !important;
  64. background-color: get-dark-color('footer-color');
  65. h5 {
  66. color: get-dark-color('heading-color');
  67. }
  68. a {
  69. color: get-dark-color('muted-text-color');
  70. &:hover {
  71. text-decoration: get-dark-color('muted-text-color') underline;
  72. }
  73. }
  74. hr {
  75. background-color: get-dark-color('muted-text-color');
  76. }
  77. p:first-child {
  78. color: get-dark-color('muted-text-color');
  79. }
  80. input {
  81. background-color: get-dark-color('bg-primary');
  82. &:focus {
  83. background-color: get-dark-color('bg-secondary');
  84. }
  85. }
  86. #disclaimer {
  87. color: get-dark-color('muted-text-color') !important;
  88. & > strong {
  89. color: get-dark-color('text-color') !important;
  90. }
  91. }
  92. #theme {
  93. color: get-dark-color('text-color');
  94. }
  95. }
  96. }