btcpayserver/BTCPayServer/wwwroot/crowdfund/styles/main.css

91 lines
1.6 KiB
CSS
Raw Normal View History

canvas#fireworks {
position: fixed;
width: 100vw;
height: 100vh;
}
2018-12-30 20:28:36 +01:00
.perk-zoom {
2018-12-30 20:28:36 +01:00
display: none;
opacity: 0;
}
.perk-zoom-bg {
2018-12-31 11:38:05 +01:00
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
2018-12-31 11:38:05 +01:00
opacity: 0.9;
}
.perk-zoom-text {
2018-12-31 11:38:05 +01:00
left: 50%;
top: 50%;
border-radius: 50%;
transform: translate(-50%, -50%);
position: absolute;
}
.perk:hover .perk-zoom {
2018-12-31 12:34:27 +01:00
cursor: pointer;
opacity: 1;
2018-12-30 20:28:36 +01:00
display: block;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.perk-badge {
width: 33px;
height: 33px;
position: absolute;
left: -15px;
top: -15px;
padding-top: 5px;
2019-01-11 10:52:21 +01:00
z-index: 1
2018-12-30 20:28:36 +01:00
}
.crowdfund-stats .col-sm:last-child {
border-right: none !important;
}
.modal-body .perks-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: .5rem;
}
.modal-body .perks-container .card:only-of-type {
2021-10-06 18:49:40 +02:00
min-width: 240px;
max-width: 480px;
margin: auto;
}
/* Constrain image width in description */
div#crowdfund-body-description img,
div#crowdfund-body-description embed,
div#crowdfund-body-description object,
div#crowdfund-body-description iframe {
max-width: 100% !important;
}
/* HEADER: PROGRESS */
div#crowdfund-progress-bar {
height: 2rem;
}
#crowdfund-body-header + hr {
height: 1px;
opacity: 1;
margin-top: 0;
background: var(--btcpay-body-border-medium);
}
/* PERKS: HOVER */
.perks-container .perk-zoom-bg {
background-color: var(--btcpay-bg-tile) !important;
border-radius: .5rem;
}