Remove Elementor
This commit is contained in:
52
wp-content/themes/brpp-prawo-podatki/css/_mixins.scss
Normal file
52
wp-content/themes/brpp-prawo-podatki/css/_mixins.scss
Normal file
@@ -0,0 +1,52 @@
|
||||
$container-max-widths: (
|
||||
sm: 540px,
|
||||
md: 720px,
|
||||
lg: 960px,
|
||||
xl: 1140px,
|
||||
xxl: 1370px,
|
||||
);
|
||||
|
||||
$breakpoints: (
|
||||
sm: 576px,
|
||||
md: 768px,
|
||||
lg: 992px,
|
||||
xl: 1200px,
|
||||
xxl: 1400px,
|
||||
);
|
||||
|
||||
@mixin respond-above($breakpoint) {
|
||||
@if map-has-key($breakpoints, $breakpoint) {
|
||||
$breakpoint-value: map-get($breakpoints, $breakpoint);
|
||||
@media (min-width: $breakpoint-value) {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
@warn 'Invalid breakpoint: #{$breakpoint}.';
|
||||
}
|
||||
}
|
||||
@mixin respond-below($breakpoint) {
|
||||
@if map-has-key($breakpoints, $breakpoint) {
|
||||
$breakpoint-value: map-get($breakpoints, $breakpoint);
|
||||
@media (max-width: ($breakpoint-value - 1)) {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
@warn 'Invalid breakpoint: #{$breakpoint}.';
|
||||
}
|
||||
}
|
||||
@mixin respond-between($lower, $upper) {
|
||||
@if map-has-key($breakpoints, $lower) and map-has-key($breakpoints, $upper) {
|
||||
$lower-breakpoint: map-get($breakpoints, $lower);
|
||||
$upper-breakpoint: map-get($breakpoints, $upper);
|
||||
@media (min-width: $lower-breakpoint) and (max-width: ($upper-breakpoint - 1)) {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
@if (map-has-key($breakpoints, $lower) == false) {
|
||||
@warn 'Your lower breakpoint was invalid: #{$lower}.';
|
||||
}
|
||||
@if (map-has-key($breakpoints, $upper) == false) {
|
||||
@warn 'Your upper breakpoint was invalid: #{$upper}.';
|
||||
}
|
||||
}
|
||||
}
|
||||
32
wp-content/themes/brpp-prawo-podatki/css/custom.css
Normal file
32
wp-content/themes/brpp-prawo-podatki/css/custom.css
Normal file
@@ -0,0 +1,32 @@
|
||||
.container {
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
.container {
|
||||
max-width: 540px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
max-width: 720px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.container {
|
||||
max-width: 960px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.container {
|
||||
max-width: 1140px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1400px) {
|
||||
.container {
|
||||
max-width: 1370px;
|
||||
}
|
||||
}/*# sourceMappingURL=custom.css.map */
|
||||
1
wp-content/themes/brpp-prawo-podatki/css/custom.css.map
Normal file
1
wp-content/themes/brpp-prawo-podatki/css/custom.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["custom.scss","custom.css","_mixins.scss"],"names":[],"mappings":"AAEA;EACC,WAAA;EACA,iBAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAAA;ACDD;ADKG;EATH;IAUI,gBEZmB;EDUrB;AACF;ADIG;EAbH;IAcI,gBEhBmB;EDerB;AACF;ADGG;EAjBH;IAkBI,gBEpBmB;EDoBrB;AACF;ADEG;EArBH;IAsBI,iBExBmB;EDyBrB;AACF;ADCG;EAzBH;IA0BI,iBE5BmB;ED8BrB;AACF","file":"custom.css"}
|
||||
33
wp-content/themes/brpp-prawo-podatki/css/custom.scss
Normal file
33
wp-content/themes/brpp-prawo-podatki/css/custom.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
@import '_mixins';
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
|
||||
@each $breakpoint, $max in $container-max-widths {
|
||||
@if $breakpoint == sm {
|
||||
@media (min-width: 576px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint == md {
|
||||
@media (min-width: 768px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint == lg {
|
||||
@media (min-width: 992px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint == xl {
|
||||
@media (min-width: 1200px) {
|
||||
max-width: $max;
|
||||
}
|
||||
} @else if $breakpoint == xxl {
|
||||
@media (min-width: 1400px) {
|
||||
max-width: $max;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user