Remove Elementor

This commit is contained in:
Roman Pyrih
2025-08-26 12:08:47 +02:00
parent c4f5299f86
commit a4fc41a3a0
2935 changed files with 547 additions and 1224095 deletions

View 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}.';
}
}
}

View 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 */

View 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"}

View 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;
}
}
}
}

View File

@@ -176,3 +176,15 @@ if ( defined( 'JETPACK__VERSION' ) ) {
require get_template_directory() . '/inc/jetpack.php';
}
function brpp_enqueue_assets() {
wp_enqueue_style( 'brpp-style', get_stylesheet_uri() );
wp_enqueue_style(
'brpp-custom',
get_template_directory_uri() . '/css/custom.css',
array('brpp-style'),
filemtime( get_template_directory() . '/css/custom.css' )
);
}
add_action( 'wp_enqueue_scripts', 'brpp_enqueue_assets' );

View File

@@ -26,7 +26,8 @@
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'brpp-prawo-podatki' ); ?></a>
<header id="masthead" class="site-header">
<div class="site-branding">
<div class="container">
<div class="site-branding">
<?php
the_custom_logo();
if ( is_front_page() && is_home() ) :
@@ -56,4 +57,5 @@
);
?>
</nav><!-- #site-navigation -->
</div>
</header><!-- #masthead -->