cookie.css 899 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #cookie-notice {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. width: 100%;
  6. background-color: #f0f0f0;
  7. padding: 20px;
  8. text-align: center;
  9. box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  10. z-index: 1000;
  11. /* Ensure it's on top */
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. }
  16. #cookie-notice p {
  17. margin: 0;
  18. flex-grow: 1;
  19. padding-right: 20px;
  20. }
  21. #cookie-notice button {
  22. background-color: #007bff;
  23. color: white;
  24. border: none;
  25. padding: 10px 20px;
  26. cursor: pointer;
  27. border-radius: 5px;
  28. }
  29. #cookie-notice button:hover {
  30. background-color: #0056b3;
  31. }
  32. #cookie-notice a {
  33. color: #007bff;
  34. text-decoration: none;
  35. }
  36. #cookie-notice a:hover {
  37. text-decoration: underline;
  38. }
  39. @media (max-width: 600px) {
  40. #cookie-notice {
  41. flex-direction: column;
  42. align-items: stretch;
  43. }
  44. #cookie-notice p {
  45. padding-right: 0;
  46. margin-bottom: 10px;
  47. }
  48. }