myco.systems/public/modal.css

92 lines
1.8 KiB
CSS
Raw Normal View History

2024-02-04 14:40:40 -05:00
@charset "UTF-8";
.modal[open] .modal__toggle {
left: calc(50vw + 200px);
top: calc(15vh - 5px);
position: fixed;
z-index: 11;
}
.modal[open] .modal__toggle:focus {
outline: 2px solid #00f;
}
.modal__toggle::before {
content: 'Donate';
cursor: pointer;
padding-left: 10px;
padding-right: 10px;
background-color: #241917;
color: #fff;
border-radius: 2px;
border: 2px solid #f3bbae;
}
.modal[open] .modal__toggle::before {
content: '✖';
color: #fff !important;
font-size: 25px;
}
.modal__toggle {
position: relative;
list-style: none;
font-size: 14px;
font-family: Monaco, monospace;
text-align: left;
z-index: 4;
}
.modal__toggle::-webkit-details-marker {
display: none;
}
.modal__toggle:hover {
cursor: pointer;
opacity: .8;
}
.modal__background {
background-color:rgba(0, 0, 0, 0.65);
display: flex;
height: 100vh;
justify-content: center;
left: 0;
position: fixed;
top: 0;
width: 100vw;
z-index: 3;
}
.modal__body {
/* background: #fff;
color: #333; */
border: 2px solid #f3bbae92;
background: rgba(36, 25, 23, 1);
color: #f3bbae;
font-size: 1.6rem;
font-weight: 600;
padding: 20px 20px;
position: fixed;
text-align: left;
top: 15vh;
left: 50%;
transform: translateX(-50%);
width: 80%;
max-width: 400px;
z-index: 10;
word-wrap: break-word;
font-family: Monaco, monospace;
}
.modal__text {
line-height: 1.6;
margin: 0;
font-size: 12px;
}
.crypto-address {
word-wrap: break-word;
display: block;
font-size: 12px !important;
background-color: #241917;
color: #fff;
border-radius: 2px;
border: 2px solid #f3bbae;
padding: 5px;
}
.links {
padding-left: 0.85rem;
}