footer.scss 2.5 KB

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