| 1 |
.notice { |
| 2 |
$parent: &; |
| 3 |
@include smoothText; |
| 4 |
&--start { |
| 5 |
position:relative; |
| 6 |
border:0; |
| 7 |
padding: 30px 40px; |
| 8 |
background: url(../images/bg_notice--start.jpg) no-repeat 50% 50%; |
| 9 |
background-size: cover; |
| 10 |
&:before { |
| 11 |
content:""; |
| 12 |
display:block; |
| 13 |
z-index:1; |
| 14 |
position:absolute; |
| 15 |
top:0; right:0; bottom:0; left:0; |
| 16 |
background-color: $secondary; |
| 17 |
opacity:.28; |
| 18 |
} |
| 19 |
&#{$parent}__img { |
| 20 |
display:block; |
| 21 |
margin:auto; |
| 22 |
@include breakpoints(md) { |
| 23 |
margin:0; |
| 24 |
position:absolute; |
| 25 |
right:0; |
| 26 |
top:50%; |
| 27 |
transform:translateY(-50%); |
| 28 |
} |
| 29 |
} |
| 30 |
&#{$parent}__title { |
| 31 |
margin-top:0; |
| 32 |
color: #fff; |
| 33 |
font-size: 16px; |
| 34 |
font-weight:400; |
| 35 |
line-height: 1.55; |
| 36 |
strong { |
| 37 |
font-size:20px; |
| 38 |
font-weight:700; |
| 39 |
} |
| 40 |
} |
| 41 |
//WordPress class |
| 42 |
.main { |
| 43 |
position:relative; |
| 44 |
z-index:2; |
| 45 |
@include breakpoints(md) { |
| 46 |
padding-right: 250px; |
| 47 |
} |
| 48 |
} |
| 49 |
.button.button-hero { |
| 50 |
font-weight:400; |
| 51 |
font-size: 16px; |
| 52 |
height:46px; |
| 53 |
box-shadow:none; |
| 54 |
color: #fff; |
| 55 |
border-color: $primary; |
| 56 |
background-color: $primary; |
| 57 |
@include hover { |
| 58 |
color: #fff; |
| 59 |
border-color: darken($primary, 5%); |
| 60 |
background-color: darken($primary, 5%); |
| 61 |
} |
| 62 |
} |
| 63 |
} |
| 64 |
} |