crbtc.org/assets/style/pages/index/banner.css

47 lines
781 B
CSS

.banner {
display: grid;
grid-template-columns: 1fr 2fr;
max-width: 60rem;
background: var(--t-color);
padding: 2rem 2rem 2.25rem 2rem;
margin: 2rem auto 7rem auto;
h4 {
margin: 0 0 1.5rem 0;
}
h6 {
color: var(--f-color);
font-size: 1.1rem;
font-weight: 400;
line-height: 1.65rem;
padding: .25rem 4rem 0 0;
}
}
@media only screen and (max-width: 768px) {
.banner {
display: block;
padding: 1.5rem 1.5rem 2rem 1.5rem;
margin: 4rem .5rem 2rem .5rem;
h4 {
margin: 0 0 .5rem 0;
}
h6 {
padding: .5rem 4rem .5rem 0;
}
.msg .donate {
overflow-wrap: break-word;
}
}
}
@media only screen and (max-width: 600px) {
.banner h6 {
padding: .5rem 0;
text-align: center;
}
}