56 lines
1.2 KiB
SCSS
56 lines
1.2 KiB
SCSS
|
#block-erabletheme-unequestion {
|
||
|
position: relative;
|
||
|
display: grid;
|
||
|
grid-template-columns: 0.5fr 1fr;
|
||
|
grid-template-rows: repeat(2, 1fr);
|
||
|
align-items: center;
|
||
|
width: 50vw;
|
||
|
margin-left: 1.5vw;
|
||
|
@include main_text_content();
|
||
|
background-color: $teal;
|
||
|
color: white;
|
||
|
font-weight: 800;
|
||
|
padding-bottom: 2rem;
|
||
|
padding-top: 1.5rem;
|
||
|
padding-right: 0.5rem;
|
||
|
@media (min-width: $breakpoint_tablet) {
|
||
|
position: absolute;
|
||
|
width: 40vw;
|
||
|
left: 1.5vw;
|
||
|
bottom: -25vh;
|
||
|
}
|
||
|
@media (min-width: $breakpoint_desktop) {
|
||
|
left: unset;
|
||
|
right: 1.5vw;
|
||
|
width: 22vw;
|
||
|
bottom: unset;
|
||
|
top: 24vh;
|
||
|
padding-right: 1rem;
|
||
|
}
|
||
|
> h2 {
|
||
|
grid-column: 2;
|
||
|
}
|
||
|
> div {
|
||
|
grid-column: 2;
|
||
|
a {
|
||
|
color: white;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
#block-erabletheme-unequestion::before {
|
||
|
content: "?";
|
||
|
grid-column: 1;
|
||
|
grid-row: 1/3;
|
||
|
justify-self: center;
|
||
|
align-self: center;
|
||
|
border: solid 1px white;
|
||
|
width: 3rem;
|
||
|
height: 3rem;
|
||
|
border-radius: 1.5rem;
|
||
|
font-size: 1.6rem;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
margin-right: 0.5rem;
|
||
|
}
|