mirror of https://github.com/status-im/consul.git
website - homepage cta section responsive styling
This commit is contained in:
parent
feb0426eaf
commit
df7298059a
|
@ -70,13 +70,28 @@
|
|||
|
||||
.home-cta-section {
|
||||
color: $white;
|
||||
display: flex;
|
||||
|
||||
@media (min-width: 768px) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
& > div {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 64px 24px;
|
||||
overflow: hidden;
|
||||
width: 50%;
|
||||
|
||||
@media (min-width: 768px) {
|
||||
padding-top: 80px;
|
||||
padding-bottom: 80px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
padding-top: 96px;
|
||||
padding-bottom: 96px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
background: $consul-red;
|
||||
|
@ -104,7 +119,6 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 564px;
|
||||
padding: 96px 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
|
|
Loading…
Reference in New Issue