hr + #{$module}__block--yellow {
- @include margin-top(-2);
+ //@include margin-top(-2);
}
hr + #{$module}__block--black {
- @include margin-top(-2);
+ //@include margin-top(-2);
}
&--yellow {
+ position: relative;
+ &:before {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba($color-main, 0.5);
+ width: 100%;
+ top: -4px;
+ position: absolute;
+ }
+ &:after {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba($color-main, 0.5);
+ width: 100%;
+ bottom: -4px;
+ position: absolute;
+ }
+
#{$module}__block-title {
text-align: center;
}
}
& + hr {
- margin-top: 1px;
+ //margin-top: 1px;
}
& + .page__block {
- @include margin-top(2);
+ //@include margin-top(2);
}
a:not(.button) {
@include padding-bottom(2);
@include margin(2 0 0 0);
+ position: relative;
+ &:before {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba($color-main, 0.5);
+ width: 100%;
+ top: -4px;
+ position: absolute;
+ }
+ &:after {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba($color-main, 0.5);
+ width: 100%;
+ bottom: -4px;
+ position: absolute;
+ }
+
#{$module}__block-title {
text-align: center;
}
}
& + hr {
- margin-top: 1px;
+ //margin-top: 1px;
}
& + .page__block {
- @include margin-top(2);
+ //@include margin-top(2);
}
}
@include padding-bottom(2);
@include margin(2 0 0 0);
+ position: relative;
+ &:before {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba(255, 255, 255, 0.5);
+ width: 100%;
+ top: -4px;
+ position: absolute;
+ }
+ &:after {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba(255, 255, 255, 0.5);
+ width: 100%;
+ bottom: -4px;
+ position: absolute;
+ }
+
#{$module}__block-title {
text-align: center;
}
}
& + hr {
- margin-top: 1px;
+ //margin-top: 1px;
}
& + .page__block {
- @include margin-top(2);
+ //@include margin-top(2);
}
}
@include padding-bottom(2);
@include margin(2 0);
+ position: relative;
+ &:before {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba(255, 255, 255, 0.5);
+ width: 100%;
+ top: -4px;
+ position: absolute;
+ }
+ &:after {
+ content: "";
+ display: block;
+ height: 1px;
+ background: rgba(255, 255, 255, 0.5);
+ width: 100%;
+ bottom: -4px;
+ position: absolute;
+ }
+
#{$module}__block-title {
text-align: center;
}
}
& + hr {
- margin-top: 1px;
+ //margin-top: 1px;
}
& + .page__block {
- @include margin-top(2);
+ //@include margin-top(2);
}
}