mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-06-18 20:13:31 +08:00
fix banner color on chrome
This commit is contained in:
parent
e89e2d3750
commit
64ff18b9cd
@ -24,21 +24,21 @@
|
|||||||
#consent-notice button {cursor: pointer; display: inline-block; width: auto;}
|
#consent-notice button {cursor: pointer; display: inline-block; width: auto;}
|
||||||
#consent-notice span a {color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5);}
|
#consent-notice span a {color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5);}
|
||||||
#consent-notice button.btn {margin-left: 0.5rem;}
|
#consent-notice button.btn {margin-left: 0.5rem;}
|
||||||
#consent-notice button.btn.manage-consent {background: rgba(255,255,255,1); font-weight: normal;}
|
#consent-notice button.btn.manage-consent {color: black; background: rgba(255,255,255,1); font-weight: normal;}
|
||||||
#consent-notice button.btn.deny-consent {background: rgba(255,255,255,1); font-weight: normal;}
|
#consent-notice button.btn.deny-consent {color: black; background: rgba(255,255,255,1); font-weight: normal;}
|
||||||
#consent-notice button.btn.approve-consent {background: rgba(255,255,255,1); font-weight: normal;}
|
#consent-notice button.btn.approve-consent {color: black; background: rgba(255,255,255,1); font-weight: normal;}
|
||||||
|
|
||||||
#consent-overlay {position: fixed; left: 0; top: 0; width: 100%; height: 100vh; display: none; background: rgba(0,0,0,0.75); z-index: 999999; overflow: auto; cursor: pointer;}
|
#consent-overlay {position: fixed; left: 0; top: 0; width: 100%; height: 100vh; display: none; background: rgba(0,0,0,0.75); z-index: 999999; overflow: auto; cursor: pointer;}
|
||||||
#consent-overlay.active {display: flex;}
|
#consent-overlay.active {display: flex;}
|
||||||
#consent-overlay > div {background: white; width: 100%; max-width: 30rem; padding: 1.75rem; margin: auto; cursor: initial;}
|
#consent-overlay > div {color: black; background: white; width: 100%; max-width: 30rem; padding: 1.75rem; margin: auto; cursor: initial;}
|
||||||
#consent-overlay > div > div {display: flex; align-items: flex-start; margin-bottom: 1rem;}
|
#consent-overlay > div > div {display: flex; align-items: flex-start; margin-bottom: 1rem;}
|
||||||
#consent-overlay > div > div:last-child {margin: 0;}
|
#consent-overlay > div > div:last-child {margin: 0;}
|
||||||
#consent-overlay h3 {padding-top: 0;}
|
#consent-overlay h3 {padding-top: 0;}
|
||||||
#consent-overlay input {margin-top: 0.3rem;}
|
#consent-overlay input {margin-top: 0.3rem;}
|
||||||
#consent-overlay label {display: block;}
|
#consent-overlay label {display: block;}
|
||||||
#consent-overlay .btn {margin-right: 0.5rem;}
|
#consent-overlay .btn {margin-right: 0.5rem;}
|
||||||
#consent-overlay button.btn.save-consent {background: rgba(255,255,255,0.6); font-weight: normal;}
|
#consent-overlay button.btn.save-consent {color: black; background: rgba(255,255,255,0.6); font-weight: normal;}
|
||||||
#consent-overlay button.btn.approve-consent {background: rgba(255,255,255,1); font-weight: normal;}
|
#consent-overlay button.btn.approve-consent {color: black; background: rgba(255,255,255,1); font-weight: normal;}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
#consent-overlay > div {padding: 1.75rem 1rem;}
|
#consent-overlay > div {padding: 1.75rem 1rem;}
|
||||||
|
Loading…
Reference in New Issue
Block a user