1
0
mirror of https://github.com/TeamNewPipe/website synced 2025-10-06 00:22:38 +02:00
Files
website/css/donate.css
2025-02-05 10:54:36 +01:00

254 lines
3.8 KiB
CSS

body {
position: relative;
z-index: -10;
}
.d-none {
display: none;
}
main {
pointer-events: none;
}
main * {
pointer-events: auto;
}
main h3 {
margin-top: 32.5px;
margin-bottom: 35px;
}
main h3.with-subtitle {
margin-bottom: 10px;
}
main .row [class^="col"] {
margin-bottom: 25px;
}
@media (min-width: 768px) {
main h3.with-subtitle {
margin-bottom: 0;
}
main .row [class^="col"] {
padding: 0 30px;
}
}
#keep-running {
background: #f3eff2;
padding: 30px 0;
}
#keep-running .row [class^="col"] {
text-align: justify;
}
#thanks {
background: #d0cdcd;
padding-top: 30px;
}
#thanks h3 {
font-weight: bold;
}
#donate {
padding: 90px 0;
color: white;
background: rgba(90, 90, 90, 0.9)
}
#donate h3 {
font-size: 26px;
}
#donate .with-subtitle {
margin-bottom: 5px;
}
#donate .subtitle {
font-size: 16px;
}
#button-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 0;
padding: 0 15px;
}
#button-container > .row {
display: initial;
width: 100%;
}
#button-container > * {
flex-grow: 0;
}
#button-container .donate {
width: 100%;
}
#button-container .donate.button-large {
text-align: center;
}
/* hidden until we have the full info */
#bank-transfer-donation {
font-weight: inherit;
border: 3px solid white;
backdrop-filter: blur(10px);
background: rgba(3, 3, 3, 0.2);
}
#bank-transfer-donation h4 {
font-weight: bold;
}
#bank-transfer-donation th {
padding-right: 1rem;
}
#bank-transfer-donation pre {
background-color: rgba(256,256,256, 0.85);
width: fit-content;
padding: 1em 1.25em;
}
.phone-background .row [class^="col"] {
padding: 0 0 0 15px;
margin: 0;
}
#donate-title {
margin-bottom: 30px;
}
@media (min-width: 768px) and (max-width: 1199px) {
#liberapay-donation {
text-align: center;
}
}
@media (max-width: 767px) {
#donate {
padding: 30px 0;
}
#donate * {
text-align: center;
}
#donate .subtitle {
margin-bottom: 45px;
}
#sorted-row {
display: flex;
flex-direction: column;
}
#donate-title {
order: 1;
}
#button-container {
display: block;
order: 3;
}
#bank-transfer-donation table * {
text-align: left;
}
#bank-transfer-donation table {
position: relative;
margin: 0 auto;
}
}
#parallax-background {
background: url('../img/bg_tiles.jpg') center center;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: -8;
}
#donate-wrapper {
z-index: -4;
position: relative;
}
#donate-wrapper .row > div > * {
height: auto;
}
.phone-background {
height: 0;
position: absolute;
width: 100%;
z-index: -2;
}
.phone-background,
.phone-background * {
pointer-events: none;
}
.phone-background img {
max-width: 200px;
display: none;
position: relative;
margin-top: 105px;
}
@media (min-width: 768px) {
.phone-background img {
max-width: 230px;
display: block;
}
}
@media (min-width: 1200px) {
.phone-background img {
margin-top: 60px;
}
}
@media (max-width: 992px) {
.phone-background .row [class^="col"] {
padding: 0;
margin: 0;
}
}
#footer .image-buffer {
background-color: #D0CDCD;
}
.people-large {
height: 1.4em;
width: 1.4em;
top: -2px;
position: relative;
}
.wrench-large {
font-size: 1.3em;
}
.donate-section-title {
font-size: 18px;
}
.donate-action-subtitle {
position: absolute;
bottom: 3px;
font-size: 8pt;
font-weight: normal;
opacity: 0.9;
left: 50%;
transform: translate(-50%, 0%);
}