Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfa committed Jan 2, 2025
1 parent 20c195e commit 97f03bd
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/css/misc.css

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion scss/templates/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 15px;
margin-bottom: 10px;
margin-bottom: 30px;
margin-top: 10px;
}

Expand Down Expand Up @@ -39,3 +39,20 @@
}
}
}

@media screen and (max-width: 768px) {
.archive {
&--list {
grid-gap: 10px;
margin-bottom: 25px;
}

&--title {
font-size: 14px;
}

&--item {
padding: 10px;
}
}
}
3 changes: 2 additions & 1 deletion templates/template-archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
*/
get_header();
?>

<?php get_template_part('template-parts/search-bar');
?>
<main class="articleContainer">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
Expand Down
3 changes: 2 additions & 1 deletion templates/template-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
get_header();
?>


<?php get_template_part('template-parts/search-bar');
?>
<main class="articleContainer">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<?php while (have_posts()) : the_post(); ?>
Expand Down
3 changes: 2 additions & 1 deletion templates/template-terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Template Name: Terms
*/
get_header(); ?>

<?php get_template_part('template-parts/search-bar');
?>
<div class="template--terms articleContainer">
<?php while (have_posts()) : the_post(); ?>
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
Expand Down

0 comments on commit 97f03bd

Please sign in to comment.