Compare commits

...

11 commits

Author SHA1 Message Date
Kazhnuz
232fea794f chore: bump stylesheet 2023-11-18 13:17:35 +01:00
Kazhnuz
19b6a4e1ea fix: style fixes 2023-11-18 13:17:15 +01:00
Kazhnuz
a9e0c78025 feat: new title font 2023-11-18 12:56:50 +01:00
Kazhnuz
8002ae6355 fix: re-add dark background 2023-11-18 12:56:40 +01:00
Kazhnuz
84ed40faad feat: kill iconfont 2023-11-18 12:17:07 +01:00
Kazhnuz
cfa3343844 fix: fix sr-only text 2023-11-18 10:54:49 +01:00
Kazhnuz
dc1c02818c fix: remove more wordpress css 2023-11-18 10:23:24 +01:00
Kazhnuz
7209315dcc fix(logo): add dimensions 2023-11-18 10:23:12 +01:00
Kazhnuz
88fb9ddace fix: fix svg 2023-11-18 10:21:46 +01:00
Kazhnuz
11c61644e7 fix: swap font 2023-11-18 10:21:24 +01:00
Kazhnuz
f1bcba25bc fix: remove viewer 2023-11-18 10:19:13 +01:00
62 changed files with 229 additions and 2897 deletions

View file

@ -70,8 +70,8 @@ $oddcomment = 'alt';
<?php if ( $user_ID ) : ?>
<div class="toast toast-info alert-flex" role="alert">
<p class="mb-0"><i class="icon icon-info icon-fw" aria-hidden="true" ></i> Connect&eacute; en tant que <a class="alert-link" href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>.</p>
<p class="mb-0 align-right"><a class="alert-link" href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout"><i class="icon icon-fw icon-power-off"></i> <span class="sr-only">Se d&eacute;connecter de ce compte</span></a></p>
<p class="mb-0"><svg class="icon icon-info" alt=""><use xlink:href="#icon-info"></use></svg> Connect&eacute; en tant que <a class="alert-link" href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>.</p>
<p class="mb-0 align-right"><a class="alert-link" href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout"><svg class="icon icon-power-off" alt=""><path d="M27.455 16.422c0 7.561-6.167 13.728-13.728 13.728s-13.728-6.167-13.728-13.728c0-4.344 2.002-8.347 5.487-10.957 1.019-0.769 2.449-0.572 3.2 0.447 0.769 1.001 0.554 2.449-0.447 3.2-2.324 1.752-3.664 4.415-3.664 7.311 0 5.041 4.111 9.152 9.152 9.152s9.152-4.111 9.152-9.152c0-2.896-1.341-5.559-3.664-7.311-1.001-0.751-1.215-2.199-0.447-3.2 0.751-1.019 2.199-1.215 3.2-0.447 3.486 2.61 5.488 6.614 5.488 10.957zM16.016 2.695v11.44c0 1.251-1.037 2.288-2.288 2.288s-2.288-1.037-2.288-2.288v-11.44c0-1.251 1.037-2.288 2.288-2.288s2.288 1.037 2.288 2.288z"></path></svg> <span class="sr-only">Se d&eacute;connecter de ce compte</span></a></p>
</div>
<!-- Commentaire non-enregistré -->

View file

@ -5,16 +5,16 @@
if (has_category('chapters')) {
$romans = get_the_terms($post->ID, 'roman');
foreach( $romans as $roman ) {
echo "<li class='breadcrumb-item'><a href='" . esc_url( get_category_link( $roman->term_id ) ) . "'><i class='icon icon-book'></i> " . $roman->name . "</a></li>";
echo "<li class='breadcrumb-item'><a href='" . esc_url( get_category_link( $roman->term_id ) ) . "'> " . $roman->name . "</a></li>";
}
} else {
$categories = get_the_category();
foreach( $categories as $category ) {
echo "<li class='breadcrumb-item'><a href='" . esc_url( get_category_link( $category->term_id ) ) . "'><i class='icon icon-folder-open'></i> " . $category->cat_name . "</a></li>";
echo "<li class='breadcrumb-item'><a href='" . esc_url( get_category_link( $category->term_id ) ) . "'> " . $category->cat_name . "</a></li>";
}
}
?><li class="breadcrumb-item" aria-current="page"><span class="active"><i class="icon icon-file" aria-hidden="true"></i> <?php echo the_title(); ?></span></li>
?><li class="breadcrumb-item" aria-current="page"><span class="active"> <?php echo the_title(); ?></span></li>
</ol>
</nav>
</div>

View file

@ -5,7 +5,7 @@
echo '<h4 class="sr-only" id="title-article-taxo-romans">Romans</h4>';
$romans = get_the_terms($post->ID, 'roman');
foreach( $romans as $roman ) {
echo "<li><a href= '" . esc_url( get_category_link( $roman->term_id ) ) . "' class='btn-small c-primary mr-half'><i class='icon icon-book'></i>&nbsp;" . $roman->name . "</a></li>";
echo "<li><a href= '" . esc_url( get_category_link( $roman->term_id ) ) . "' class='btn btn-small c-primary mr-half'><i class='icon icon-book'></i>&nbsp;" . $roman->name . "</a></li>";
}
echo "</ul>";
} else {
@ -13,7 +13,7 @@
echo "<ul class='nolist' aria-labelledby='title-article-taxo-categories'>";
echo '<h4 class="sr-only" id="title-article-taxo-categories">Catégories</h4>';
foreach( $categories as $category ) {
echo "<li><a href= '" . esc_url( get_category_link( $category->term_id ) ) . "' class='btn-small c-primary mr-half'><i class='icon icon-folder'></i>&nbsp;" . $category->cat_name . "</a></li>";
echo "<li><a href= '" . esc_url( get_category_link( $category->term_id ) ) . "' class='btn btn-small c-primary mr-half'><svg class='icon' alt=''><use xlink:href='#icon-folder'></use></svg>&nbsp;" . $category->cat_name . "</a></li>";
}
echo "</ul>";
}
@ -22,7 +22,7 @@
echo "<ul class='nolist' aria-labelledby='title-article-taxo-tags'>";
echo '<h4 class="sr-only" id="title-article-taxo-tags">Tags</h4>';
foreach( $tags as $tag ) {
echo "<li><a href= '" . esc_url( get_tag_link( $tag->term_id ) ) . "' class='btn-small c-secondary mr-half'><i class='icon icon-tag'></i>&nbsp;" . $tag->name . "</a></li>";
echo "<li><a href= '" . esc_url( get_tag_link( $tag->term_id ) ) . "' class='btn btn-small c-secondary mr-half'><i class='icon icon-tag'></i>&nbsp;" . $tag->name . "</a></li>";
}
echo "</ul>";
}

View file

@ -0,0 +1,47 @@
<svg class="d-none" alt="">
<symbol id="icon-bluesky" viewBox="0 0 34 32">
<path d="M34.319 20.998c0 3.789-3.074 6.864-6.864 6.864h-19.448c-4.415 0-8.008-3.593-8.008-8.008 0-3.2 1.895-5.97 4.612-7.239-0.018-0.25-0.036-0.518-0.036-0.769 0-5.059 4.093-9.152 9.152-9.152 3.825 0 7.096 2.342 8.473 5.684 0.787-0.697 1.823-1.108 2.967-1.108 2.52 0 4.576 2.056 4.576 4.576 0 0.912-0.268 1.752-0.733 2.467 3.039 0.715 5.309 3.432 5.309 6.685z"></path>
</symbol>
<symbol id="icon-mastodon" viewBox="0 0 32 32">
<path d="M26.866 20.265c-0.411 2.073-3.611 4.344-7.293 4.79-1.93 0.232-3.825 0.447-5.845 0.358-3.307-0.143-5.899-0.787-5.899-0.787 0 0.322 0.018 0.626 0.054 0.912 0.429 3.253 3.235 3.45 5.881 3.539 2.681 0.089 5.076-0.661 5.076-0.661l0.107 2.431s-1.877 1.001-5.219 1.18c-1.841 0.107-4.111-0.054-6.774-0.751-5.773-1.519-6.774-7.686-6.935-13.924-0.054-1.859-0.018-3.593-0.018-5.059 0-6.381 4.201-8.258 4.201-8.258 2.109-0.965 5.72-1.376 9.491-1.412h0.089c3.772 0.036 7.382 0.447 9.491 1.412 0 0 4.183 1.877 4.183 8.258 0 0 0.054 4.701-0.59 7.972zM22.522 12.794c0-1.573-0.393-2.86-1.215-3.772-0.84-0.929-1.913-1.412-3.271-1.412-1.573 0-2.753 0.608-3.539 1.805l-0.769 1.287-0.769-1.287c-0.787-1.198-1.966-1.805-3.539-1.805-1.358 0-2.431 0.483-3.271 1.412-0.804 0.929-1.215 2.199-1.215 3.772v7.722h3.057v-7.507c0-1.573 0.679-2.377 2.002-2.377 1.466 0 2.216 0.965 2.216 2.842v4.093h3.039v-4.093c0-1.877 0.751-2.842 2.216-2.842 1.323 0 2.002 0.804 2.002 2.377v7.507h3.057v-7.722z"></path>
</symbol>
<symbol id="icon-shaarli" viewBox="0 0 30 32">
<path d="M15.694 2.695c2.878 0 4.54 2.86 4.969 8.562h1.18c5.13 0.787 7.668 2.413 7.615 4.88 0.429 2.914-1.43 4.254-5.577 4.040 3.182 2.788 4.308 5.398 3.414 7.811-0.697 1.93-2.377 2.556-5.041 1.913-2.931-1.466-5.023-3.146-6.238-5.041h-0.769c-1.144 3.36-3.36 5.041-6.649 5.041h-1.144c-2.735-0.84-3.736-2.502-2.967-4.969l1.43-3.95h-0.411c-4.022-0.572-5.827-2.342-5.452-5.327 0.107-2.735 2.86-4.129 8.258-4.165 1.501-0.161 2.127-0.643 1.877-1.43 0-4.916 1.841-7.364 5.505-7.364zM14.836 6.734c-1.001-0.072-1.484 1.287-1.466 4.058l-0.089 2.288c-0.089 1.144-0.447 1.716-1.090 1.716l-6.435 0.357c-1.001 0.036-1.519 0.447-1.519 1.233 0 0.769 0.554 1.162 1.644 1.215 3.772-0.197 5.541 0.072 5.291 0.769l-1.144 2.449c-1.93 2.914-2.413 4.612-1.43 5.13 1.305 0.787 3.146-1.251 5.541-6.113 0.572-0.518 1.055-0.518 1.43 0 1.68 1.787 3.057 3.253 4.147 4.397 1.108 1.144 2.020 1.484 2.699 1.019 0.822-0.876 0.59-1.805-0.661-2.806-1.215-1.037-2.61-2.449-4.183-4.236-0.161-0.59-0.143-0.894 0.107-0.894 5.327 0.358 7.883 0.018 7.668-1.019 0.161-1.144-2.163-1.716-6.935-1.716-0.733 0.143-1.323-0.036-1.787-0.518v-4.004c0-2.234-0.536-3.325-1.591-3.289-0.054-0.018-0.143-0.036-0.197-0.036v0z"></path>
</symbol>
<symbol id="icon-tumblr" viewBox="0 0 17 32">
<path d="M15.658 24.162l1.43 4.236c-0.536 0.804-2.967 1.716-5.148 1.752-6.489 0.107-8.937-4.612-8.937-7.936v-9.724h-3.003v-3.843c4.504-1.627 5.595-5.702 5.845-8.026 0.018-0.143 0.143-0.215 0.215-0.215h4.361v7.579h5.952v4.504h-5.97v9.259c0 1.251 0.465 2.985 2.86 2.931 0.787-0.018 1.841-0.25 2.395-0.518z"></path>
</symbol>
<symbol id="icon-git" viewBox="0 0 37 32">
<path d="M6.542 4.983v0c1.108 0 2.145 0.143 2.86 0.143v0 0c5.881 0.322 8.973 0.518 12.494 0.518l0.018 6.489 0.947 0.483v-6.971c3.057-0.036 6.631-0.197 12.673-0.518v0h0.018c0.268 0 0.501 0.125 0.679 0.304s0.322 0.447 0.429 0.769c0.215 0.643 0.286 1.519 0.268 2.556-0.054 2.091-0.536 4.862-1.341 7.632s-1.913 5.559-3.253 7.704-2.914 3.646-4.63 3.772h-10.993c-1.341-0.143-2.788-1.519-4.004-3.021-0.608-0.751-1.144-1.555-1.555-2.252-0.375-0.643-0.626-1.18-0.733-1.573-1.466-0.036-3.915-0.268-6.095-1.43-2.234-1.198-4.165-3.414-4.326-7.4-0.107-2.556 0.804-4.379 2.109-5.541s2.985-1.662 4.433-1.662zM6.935 8.075v0c-1.609 0.018-2.628 0.518-3.217 1.269-0.643 0.787-0.822 1.859-0.679 2.931 0.25 2.020 1.090 3.271 2.252 4.093 1.108 0.787 2.556 1.162 4.129 1.394-1.251-3.45-1.895-5.809-2.288-9.688h-0.197zM19.984 11.9c-0.608 0-1.18 0.34-1.466 0.912l-3.074 6.31c-0.393 0.804-0.054 1.77 0.751 2.163l6.328 3.074c0.804 0.393 1.77 0.054 2.163-0.751l3.057-6.328c0.393-0.804 0.054-1.77-0.751-2.163l-4.451-2.163-0.804 1.662c0.089 0.089 0.179 0.25 0.215 0.357 0.036 0.089 0.054 0.232 0.054 0.34v0.072c0.536 0.25 0.965 0.447 1.323 0.643 0.536 0.304 0.929 0.608 1.055 1.108s-0.018 1.019-0.304 1.698c-0.215 0.518-0.518 1.162-0.912 1.984 0.072 0.089 0.161 0.232 0.197 0.34 0.036 0.089 0.072 0.232 0.072 0.34 0 0.393-0.304 0.822-0.679 0.965-0.089 0.036-0.25 0.072-0.358 0.072-0.393 0-0.822-0.304-0.965-0.679-0.036-0.089-0.054-0.25-0.054-0.358 0-0.393 0.304-0.822 0.679-0.965 0.089-0.036 0.25-0.054 0.34-0.054h0.036c0.393-0.822 0.733-1.466 0.929-1.948 0.268-0.643 0.322-0.983 0.268-1.18s-0.232-0.358-0.697-0.626c-0.322-0.179-0.733-0.393-1.269-0.643-0.072 0.072-0.232 0.161-0.34 0.197-0.089 0.036-0.25 0.054-0.34 0.054h-0.107l-1.376 2.824c0.089 0.089 0.215 0.25 0.25 0.375 0.036 0.089 0.054 0.232 0.054 0.34 0 0.393-0.304 0.822-0.679 0.965-0.089 0.036-0.232 0.072-0.34 0.072-0.393 0-0.822-0.304-0.965-0.679-0.036-0.089-0.054-0.25-0.054-0.358 0-0.393 0.286-0.822 0.661-0.965 0.089-0.036 0.268-0.054 0.358-0.054l1.412-2.896c-0.054-0.072-0.143-0.197-0.179-0.286s-0.054-0.25-0.054-0.357c0-0.393 0.304-0.822 0.679-0.965 0.089-0.036 0.25-0.054 0.34-0.054h0.018l0.822-1.68-1.144-0.554c-0.232-0.107-0.465-0.161-0.697-0.161z"></path>
</symbol>
<symbol id="icon-github" viewBox="0 0 32 32">
<path d="M13.728 2.695c7.579 0 13.728 6.149 13.728 13.728 0 6.059-3.932 11.207-9.384 13.031-0.697 0.125-0.947-0.304-0.947-0.661 0-0.447 0.018-1.93 0.018-3.772 0-1.287-0.429-2.109-0.929-2.538 3.057-0.34 6.274-1.501 6.274-6.774 0-1.501-0.536-2.717-1.412-3.682 0.143-0.357 0.608-1.752-0.143-3.646-1.144-0.357-3.772 1.412-3.772 1.412-1.090-0.304-2.27-0.465-3.432-0.465s-2.342 0.161-3.432 0.465c0 0-2.628-1.77-3.772-1.412-0.751 1.895-0.286 3.289-0.143 3.646-0.876 0.965-1.412 2.181-1.412 3.682 0 5.255 3.2 6.435 6.256 6.774-0.393 0.358-0.751 0.965-0.876 1.841-0.787 0.358-2.788 0.965-3.986-1.144-0.751-1.305-2.109-1.412-2.109-1.412-1.341-0.018-0.089 0.84-0.089 0.84 0.894 0.411 1.519 2.002 1.519 2.002 0.804 2.449 4.63 1.627 4.63 1.627 0 1.144 0.018 2.216 0.018 2.556 0 0.358-0.25 0.787-0.947 0.661-5.452-1.823-9.384-6.971-9.384-13.031 0-7.579 6.149-13.728 13.728-13.728zM5.202 22.41c-0.036 0.072-0.143 0.089-0.232 0.036-0.107-0.054-0.161-0.143-0.125-0.215 0.036-0.054 0.125-0.072 0.232-0.036 0.107 0.054 0.161 0.143 0.125 0.215zM5.756 23.018c-0.072 0.072-0.197 0.036-0.286-0.054-0.089-0.107-0.107-0.232-0.036-0.286 0.072-0.072 0.197-0.036 0.286 0.054 0.089 0.107 0.107 0.232 0.036 0.286zM6.292 23.822c-0.072 0.054-0.215 0-0.304-0.125s-0.089-0.268 0-0.322c0.089-0.072 0.232-0.018 0.304 0.107 0.089 0.125 0.089 0.268 0 0.34zM7.043 24.573c-0.072 0.089-0.232 0.072-0.357-0.054-0.125-0.107-0.161-0.268-0.072-0.34 0.072-0.089 0.232-0.072 0.357 0.054 0.107 0.107 0.143 0.268 0.072 0.34zM8.061 25.020c-0.036 0.107-0.197 0.161-0.34 0.107-0.161-0.036-0.268-0.161-0.232-0.268s0.197-0.161 0.34-0.125c0.161 0.054 0.268 0.179 0.232 0.286zM9.188 25.109c0 0.107-0.125 0.197-0.286 0.197-0.179 0.018-0.304-0.072-0.304-0.197 0-0.107 0.125-0.197 0.286-0.197 0.161-0.018 0.304 0.072 0.304 0.197zM10.224 24.931c0.018 0.107-0.089 0.215-0.25 0.25s-0.304-0.036-0.322-0.143c-0.018-0.125 0.089-0.232 0.25-0.268 0.161-0.018 0.304 0.054 0.322 0.161z"></path>
</symbol>
<symbol id="icon-deviantart" viewBox="0 0 18 32">
<path d="M18.304 5.823l-5.416 10.403 0.429 0.554h4.987v7.418h-9.062l-0.787 0.536-2.538 4.88c-0.018 0-0.5 0.5-0.536 0.536h-5.38v-5.416l5.416-10.421-0.429-0.536h-4.987v-7.418h9.062l0.787-0.536 2.538-4.88c0.018 0 0.501-0.5 0.536-0.536h5.38v5.416z"></path>
</symbol>
<symbol id="icon-instagram" viewBox="0 0 32 32">
<path d="M18.304 16.422c0-2.52-2.056-4.576-4.576-4.576s-4.576 2.056-4.576 4.576 2.056 4.576 4.576 4.576 4.576-2.056 4.576-4.576zM20.77 16.422c0 3.897-3.146 7.043-7.043 7.043s-7.043-3.146-7.043-7.043 3.146-7.043 7.043-7.043 7.043 3.146 7.043 7.043zM22.701 9.094c0 0.912-0.733 1.644-1.644 1.644s-1.644-0.733-1.644-1.644 0.733-1.644 1.644-1.644 1.644 0.733 1.644 1.644zM13.728 5.161c-2.002 0-6.292-0.161-8.097 0.554-0.626 0.25-1.090 0.554-1.573 1.037s-0.787 0.947-1.037 1.573c-0.715 1.805-0.554 6.095-0.554 8.097s-0.161 6.292 0.554 8.097c0.25 0.626 0.554 1.090 1.037 1.573s0.947 0.787 1.573 1.037c1.805 0.715 6.095 0.554 8.097 0.554s6.292 0.161 8.097-0.554c0.626-0.25 1.090-0.554 1.573-1.037s0.787-0.947 1.037-1.573c0.715-1.805 0.554-6.095 0.554-8.097s0.161-6.292-0.554-8.097c-0.25-0.626-0.554-1.090-1.037-1.573s-0.947-0.787-1.573-1.037c-1.805-0.715-6.095-0.554-8.097-0.554zM27.455 16.422c0 1.895 0.018 3.772-0.089 5.666-0.107 2.199-0.608 4.147-2.216 5.756s-3.557 2.109-5.756 2.216c-1.895 0.107-3.772 0.089-5.666 0.089s-3.772 0.018-5.666-0.089c-2.199-0.107-4.147-0.608-5.756-2.216s-2.109-3.557-2.216-5.756c-0.107-1.895-0.089-3.772-0.089-5.666s-0.018-3.772 0.089-5.666c0.107-2.199 0.608-4.147 2.216-5.756s3.557-2.109 5.756-2.216c1.895-0.107 3.772-0.089 5.666-0.089s3.772-0.018 5.666 0.089c2.199 0.107 4.147 0.608 5.756 2.216s2.109 3.557 2.216 5.756c0.107 1.895 0.089 3.772 0.089 5.666z"></path>
</symbol>
<symbol id="icon-rss" viewBox="0 0 25 32">
<path d="M6.864 24.43c0 1.895-1.537 3.432-3.432 3.432s-3.432-1.537-3.432-3.432 1.537-3.432 3.432-3.432 3.432 1.537 3.432 3.432zM16.016 26.629c0.018 0.322-0.089 0.626-0.304 0.858-0.214 0.25-0.518 0.375-0.84 0.375h-2.413c-0.59 0-1.072-0.447-1.126-1.037-0.518-5.452-4.844-9.777-10.296-10.296-0.59-0.054-1.037-0.536-1.037-1.126v-2.413c0-0.322 0.125-0.626 0.375-0.84 0.197-0.197 0.483-0.304 0.769-0.304h0.089c3.807 0.304 7.4 1.966 10.099 4.683 2.717 2.699 4.379 6.292 4.683 10.099zM25.167 26.664c0.018 0.304-0.089 0.608-0.322 0.84-0.215 0.232-0.5 0.358-0.822 0.358h-2.556c-0.608 0-1.108-0.465-1.144-1.073-0.59-10.385-8.866-18.661-19.251-19.269-0.608-0.036-1.073-0.536-1.073-1.126v-2.556c0-0.322 0.125-0.608 0.357-0.822 0.214-0.215 0.5-0.322 0.786-0.322h0.054c6.256 0.322 12.137 2.949 16.57 7.4 4.451 4.433 7.078 10.314 7.4 16.57z"></path>
</symbol>
<symbol id="icon-ellipsis-h" viewBox="0 0 25 32">
<path d="M6.864 13.562v3.432c0 0.947-0.769 1.716-1.716 1.716h-3.432c-0.947 0-1.716-0.769-1.716-1.716v-3.432c0-0.947 0.769-1.716 1.716-1.716h3.432c0.947 0 1.716 0.769 1.716 1.716zM16.016 13.562v3.432c0 0.947-0.769 1.716-1.716 1.716h-3.432c-0.947 0-1.716-0.769-1.716-1.716v-3.432c0-0.947 0.769-1.716 1.716-1.716h3.432c0.947 0 1.716 0.769 1.716 1.716zM25.167 13.562v3.432c0 0.947-0.769 1.716-1.716 1.716h-3.432c-0.947 0-1.716-0.769-1.716-1.716v-3.432c0-0.947 0.769-1.716 1.716-1.716h3.432c0.947 0 1.716 0.769 1.716 1.716z"></path>
</symbol>
<symbol id="icon-home" viewBox="0 0 29 32">
<path d="M24.703 18.138v8.58c0 0.626-0.518 1.144-1.144 1.144h-6.864v-6.864h-4.576v6.864h-6.864c-0.626 0-1.144-0.518-1.144-1.144v-8.58c0-0.036 0.018-0.072 0.018-0.107l10.278-8.473 10.278 8.473c0.018 0.036 0.018 0.072 0.018 0.107zM28.689 16.905l-1.108 1.323c-0.089 0.107-0.232 0.179-0.375 0.197h-0.054c-0.143 0-0.268-0.036-0.375-0.125l-12.369-10.314-12.369 10.314c-0.125 0.089-0.268 0.143-0.429 0.125-0.143-0.018-0.286-0.089-0.375-0.197l-1.108-1.323c-0.197-0.232-0.161-0.608 0.072-0.804l12.852-10.707c0.751-0.626 1.966-0.626 2.717 0l4.361 3.646v-3.486c0-0.322 0.25-0.572 0.572-0.572h3.432c0.322 0 0.572 0.25 0.572 0.572v7.293l3.915 3.253c0.232 0.197 0.268 0.572 0.072 0.804z"></path>
</symbol>
<symbol id="icon-bars" viewBox="0 0 32 32">
<path d="M30 24v3c0 .6-.4 1-1 1h-26c-.6 0-1-.4-1-1v-3c0-.6.4-1 1-1h26c.6 0 1 .4 1 1zM30 15v3c0 .6-.4 1-1 1h-26c-.6 0-1-.4-1-1v-3c0-.6.4-1 1-1h26c.6 0 1 .4 1 1zM30 6v3c0 .6-.4 1-1 1h-26c-.6 0-1-.4-1-1v-3c0-.6.4-1 1-1h26c.6 0 1 .4 1 1z"></path>
</symbol>
<symbol id="icon-folder" viewBox="0 0 30 32">
<path d="M29.743 11.274v12.584c0 2.199-1.805 4.004-4.004 4.004h-21.735c-2.199 0-4.004-1.805-4.004-4.004v-17.16c0-2.199 1.805-4.004 4.004-4.004h5.72c2.199 0 4.004 1.805 4.004 4.004v0.572h12.012c2.199 0 4.004 1.805 4.004 4.004z"></path>
</symbol>
<symbol id="icon-tags" viewBox="0 0 34 32">
<path d="M8.008 8.414c0-1.269-1.019-2.288-2.288-2.288s-2.288 1.019-2.288 2.288 1.019 2.288 2.288 2.288 2.288-1.019 2.288-2.288zM27.080 18.71c0 0.608-0.25 1.198-0.661 1.609l-8.776 8.794c-0.429 0.411-1.019 0.661-1.627 0.661s-1.198-0.25-1.609-0.661l-12.78-12.798c-0.912-0.894-1.627-2.628-1.627-3.897v-7.436c0-1.251 1.037-2.288 2.288-2.288h7.436c1.269 0 3.003 0.715 3.915 1.627l12.78 12.762c0.411 0.429 0.661 1.019 0.661 1.627zM33.944 18.71c0 0.608-0.25 1.198-0.661 1.609l-8.776 8.794c-0.429 0.411-1.019 0.661-1.627 0.661-0.929 0-1.394-0.429-2.002-1.055l8.401-8.401c0.411-0.411 0.661-1.001 0.661-1.609s-0.25-1.198-0.661-1.627l-12.78-12.762c-0.912-0.912-2.645-1.627-3.915-1.627h4.004c1.269 0 3.003 0.715 3.915 1.627l12.78 12.762c0.411 0.429 0.661 1.019 0.661 1.627z"></path>
</symbol>
<symbol id="icon-caret-down" viewBox="0 0 18 32">
<path d="M18.304 12.99c0 0.304-0.125 0.59-0.34 0.804l-8.008 8.008c-0.214 0.215-0.501 0.34-0.804 0.34s-0.59-0.125-0.804-0.34l-8.008-8.008c-0.214-0.214-0.34-0.501-0.34-0.804 0-0.626 0.518-1.144 1.144-1.144h16.016c0.626 0 1.144 0.518 1.144 1.144z"></path>
</symbol>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -22,7 +22,7 @@
<div class="flex-that mb">
<div class="article-category">
<?php $category = get_the_category();
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn btn-small c-info'><i class='icon icon-folder'></i> " . $category[0]->cat_name . "</a>"; ?>
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn btn-small c-info'><svg class='icon' alt=''><use xlink:href='#icon-folder'></use></svg> " . $category[0]->cat_name . "</a>"; ?>
</div>
<time itemprop="datePublished"><em><?php the_time('j F Y') ?></em></time>
</div>

View file

@ -4,21 +4,21 @@
$listmenu = get_nav_menu_locations();
$menu = wp_get_nav_menu_items($listmenu['social']);
if ($menu != null) {
foreach ($menu as $menuElement) {
echo '<li class="social-li"><a class="social-link" rel="me" href="'. $menuElement->url .'"><i class="icon icon-fw icon-'.$menuElement->title.'" aria-hidden="true"></i><span class="sr-only">Accéder à mon '.$menuElement->title.'</span></a></li> ';
}
foreach ($menu as $menuElement) { ?>
<li class="social-li"><a class="social-link" rel="me" href="<?php echo $menuElement->url; ?>"><svg class="icon" alt=""><use xlink:href="#icon-<?php echo $menuElement->title; ?>"></use></svg><span class="sr-only">Accéder à mon <?php echo $menuElement->title; ?></span></a></li>
<?php }
}
?>
<li class="social-li">
<a class="social-link" href="<?php bloginfo('rss2_url'); ?>">
<i class="icon icon-fw icon-rss" aria-hidden="true"></i>
<svg class="icon" alt=""><use xlink:href="#icon-rss"></use></svg>
<span class='sr-only'>Flux RSS du site</span>
</a>
</li>
<li class="social-li">
<a class="social-link" href="https://kazhnuz.space/about#social">
<i class="icon icon-fw icon-ellipsis-h" aria-hidden="true"></i>
<svg class="icon" alt=""><use xlink:href="#icon-ellipsis-h"></use></svg>
<span class='sr-only'>Plus de liens</span>
</a>
</li>
@ -28,7 +28,7 @@
<section class="col" aria-labelledby="title-footer-section-1">
<h2 class="sr-only" id="title-footer-section-1">Droit d'utiliations</h2>
<p>Les contenus sont diffusé sous licence Creative Common Attribution - Partage à l'Identique 4.0 - hors mention contraire.</p>
<p>Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! <i class="text-red icon icon-heart" aria-hidden="true"></i></p>
<p>Ces licences vous autorise à partager et copier mes travaux, tant que vous me citiez en source, et que vous autorisez la même chose pour les travaux qui en seraient dérivés. N'hésitez pas à partager ! 🩷</p>
</section>
<section class="col" aria-labelledby="title-footer-section-2">

View file

@ -1,3 +1,3 @@
<div class="logo-area container">
<h1><a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/img/logo.png" alt="Kazhnuz"/> <span class="sr-only">Kazhnuz</span></a></h1>
<h1><a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri();?>/img/logo.png" alt="Kazhnuz" width="640px" height="221px"/> <span class="sr-only">Kazhnuz</span></a></h1>
</div>

View file

@ -7,7 +7,7 @@
<h2>Menu principal</h2>
<li>
<a href="<?php echo site_url(); ?>" class="menu-item">
<span><i class="icon icon-home" aria-hidden="true"></i> Accueil</span>
<span><svg class="icon icon-home" alt=""><use xlink:href="#icon-home"></use></svg> Accueil</span>
</a>
</li>
<?php
@ -61,4 +61,4 @@
</ul>
</nav>
<button id="mobile-button" class="menu-button"><i class="icon icon-bars" aria-hidden="true"></i> <span class="sr-only">Afficher le menu</span></button>
<button id="mobile-button" class="menu-button"><svg class="icon icon-bars" alt=""><use xlink:href="#icon-bars"></use></svg> <span class="sr-only">Afficher le menu</span></button>

View file

@ -9,7 +9,7 @@
?>
<li>
<a class="menu-item submenu" href="#">
<?php echo $parent_category->name ?> <i class="icon icon-caret-down" aria-hidden="true"></i></a>
<?php echo $parent_category->name ?> <svg class="icon icon-caret-down" alt=""><use xlink:href="#icon-caret-down"></use></svg></a>
<ul class="bg-light menu fg-dark">
<?php

View file

@ -3,7 +3,7 @@
<ul>
<li>
<a href="<?php echo site_url(); ?>" >
<i class="icon icon-home" aria-hidden="true"></i><span class="sr-only">Accueil</span>
<svg class="icon icon-topbar" alt=""><use xlink:href="#icon-home"></use></svg><span class="sr-only">Accueil</span>
</a>
</li>
<?php
@ -24,7 +24,7 @@
}
?>
<li>
<a class="menu-item submenu" href="#">Mes sites <i class="icon icon-caret-down" aria-hidden="true"></i></a>
<a class="menu-item submenu" href="#">Mes sites <svg class="icon icon-caret-down" alt=""><use xlink:href="#icon-caret-down"></use></svg></a>
<ul class="menu fg-dark">
<?php
$listmenu = get_nav_menu_locations();
@ -35,7 +35,7 @@
?>
</ul>
</li>
<li><a href="<?php bloginfo('rss2_url'); ?>" ><i class="icon icon-rss" aria-hidden="true"></i><span class="sr-only">Flux RSS du site</span></a></li>
<li><a href="<?php bloginfo('rss2_url'); ?>" ><svg class="icon icon-topbar" alt=""><use xlink:href="#icon-rss"></use></svg><span class="sr-only">Flux RSS du site</span></a></li>
</ul>
</nav>

View file

@ -4,7 +4,7 @@
<div class="flex-that mb">
<div class="article-category">
<?php $category = get_the_category();
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn btn-small btn-info'><i class='icon icon-folder'></i> " . $category[0]->cat_name . "</a>"; ?>
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn btn-small btn-info'><svg class='icon' alt=''><use xlink:href='#icon-folder'></use></svg> " . $category[0]->cat_name . "</a>"; ?>
</div>
<time itemprop="datePublished"><em><?php the_time('j F Y') ?></em></time>
</div>

View file

@ -1,5 +1,5 @@
<section class="card head-primary">
<h2 class="card-header"><i class="icon icon-folder" aria-hidden="true"></i> Archives</h2>
<h2 class="card-header"><svg class='icon' alt=''><use xlink:href='#icon-folder'></use></svg> Archives</h2>
<div class="card-body">
<ul class="tag-list">
<?php wp_get_archives('type=yearly&format=html&show_post_count=0'); ?>

View file

@ -8,7 +8,7 @@
foreach( $parent_categories as $parent_category ) {
?>
<section class="card head-primary d-none d-flex-sm">
<h2 class="card-header"><i class="icon icon-folder" aria-hidden="true"></i> <?php echo $parent_category->name ?></h2>
<h2 class="card-header"><svg class='icon' alt=''><use xlink:href='#icon-folder'></use></svg> <?php echo $parent_category->name ?></h2>
<div class="menu fg-dark">
<ul>
<?php

View file

@ -1,5 +1,5 @@
<section class="card head-primary">
<h2 class="card-header"><i class="icon icon-rss" aria-hidden="true"></i> Publications</h2>
<h2 class="card-header"></i> Publications</h2>
<div class="menu fg-dark">
<ul class="trim-that">
<?php

View file

@ -4,7 +4,9 @@ $menu = wp_get_nav_menu_items($listmenu['link-menu']);
if ($menu != null) {
?>
<section class="card head-primary">
<h2 class="card-header"><i class="icon icon-link" aria-hidden="true"></i> Liens</h2>
<h2 class="card-header">
Liens
</h2>
<div class="menu fg-dark">
<ul>
<?php

View file

@ -10,7 +10,7 @@ $tags = get_tags($args);
?>
<section class="card head-primary">
<h2 class="card-header"><i class="icon icon-tags" aria-hidden="true"></i> Tags</h2>
<h2 class="card-header"><svg class="icon icon-tags" alt=""><use xlink:href="#icon-tags"></use></svg> Tags</h2>
<div class="card-body">
<ul class="tag-list">
<?php foreach ($tags as $tag) {?>

View file

@ -1 +1 @@
@font-face{font-family:icomoon;src:url('fonts/icomoon.eot?fzapm2');src:url('fonts/icomoon.eot?fzapm2#iefix') format('embedded-opentype'),url('fonts/icomoon.ttf?fzapm2') format('truetype'),url('fonts/icomoon.woff?fzapm2') format('woff'),url('fonts/icomoon.woff2?fzapm2') format('woff2'),url('fonts/icomoon.svg?fzapm2#icomoon') format('svg');font-weight:400;font-style:normal;font-display:block}[class*=" icon-"],[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-code:before{content:"\f121"}.icon-list:before{content:"\f03a"}.icon-thumb-tack:before{content:"\f08d"}.icon-caret-up:before{content:"\f0d8"}.icon-adjust:before{content:"\f042"}.icon-location-arrow:before{content:"\f124"}.icon-arrow-down:before{content:"\f063"}.icon-instagram:before{content:"\f16d"}.icon-external-link:before{content:"\f08e"}.icon-font-awesome:before{content:"\f2b4"}.icon-paper-plane:before{content:"\f1d8"}.icon-download:before{content:"\f019"}.icon-caret-down:before{content:"\f0d7"}.icon-reply:before{content:"\f112"}.icon-search:before{content:"\f002"}.icon-flask:before{content:"\f0c3"}.icon-tasks:before{content:"\f0ae"}.icon-gamepad:before{content:"\f11b"}.icon-eye-slash:before{content:"\f070"}.icon-cloud:before{content:"\f0c2"}.icon-eye:before{content:"\f06e"}.icon-music:before{content:"\f001"}.icon-share:before{content:"\f064"}.icon-envelope:before{content:"\f0e0"}.icon-flag:before{content:"\f024"}.icon-folder:before{content:"\f07b"}.icon-outdent:before{content:"\f03b"}.icon-address-card:before{content:"\f2bb"}.icon-history:before{content:"\f1da"}.icon-heart:before{content:"\f004"}.icon-lock:before{content:"\f023"}.icon-sign-in:before{content:"\f090"}.icon-tag:before{content:"\f02b"}.icon-filter:before{content:"\f0b0"}.icon-peertube:before{content:"\f2e4"}.icon-github:before{content:"\f09b"}.icon-mastodon:before{content:"\f2e1"}.icon-envelope-open:before{content:"\f2b6"}.icon-user-plus:before{content:"\f234"}.icon-xmpp:before{content:"\f2f9"}.icon-gitea:before{content:"\f31f"}.icon-paperclip:before{content:"\f0c6"}.icon-deviantart:before{content:"\f1bd"}.icon-gitlab:before{content:"\f296"}.icon-arrows:before{content:"\f047"}.icon-ellipsis-v:before{content:"\f142"}.icon-globe:before{content:"\f0ac"}.icon-unlock:before{content:"\f09c"}.icon-quote-right:before{content:"\f10e"}.icon-arrow-left:before{content:"\f060"}.icon-ellipsis-h:before{content:"\f141"}.icon-exclamation:before{content:"\f12a"}.icon-print:before{content:"\f02f"}.icon-shaarli:before{content:"\f2f5"}.icon-times:before{content:"\f00d"}.icon-diaspora:before{content:"\f2e5"}.icon-folder-open:before{content:"\f07c"}.icon-bookmark:before{content:"\f02e"}.icon-rss:before{content:"\f09e"}.icon-map-signs:before{content:"\f277"}.icon-caret-left:before{content:"\f0d9"}.icon-sign-out:before{content:"\f08b"}.icon-file-text:before{content:"\f15c"}.icon-address-book:before{content:"\f2b9"}.icon-ban:before{content:"\f05e"}.icon-bars:before{content:"\f0c9"}.icon-calendar:before{content:"\f073"}.icon-retweet:before{content:"\f079"}.icon-paint-brush:before{content:"\f1fc"}.icon-tags:before{content:"\f02c"}.icon-key:before{content:"\f084"}.icon-commenting:before{content:"\f27a"}.icon-minus:before{content:"\f068"}.icon-arrow-right:before{content:"\f061"}.icon-comment:before{content:"\f075"}.icon-spinner:before{content:"\f110"}.icon-th-list:before{content:"\f00b"}.icon-code-fork:before{content:"\f126"}.icon-check:before{content:"\f00c"}.icon-caret-right:before{content:"\f0da"}.icon-map-marker:before{content:"\f041"}.icon-sticky-note:before{content:"\f249"}.icon-user:before{content:"\f007"}.icon-discord:before{content:"\f2ee"}.icon-activitypub:before{content:"\f2f2"}.icon-exclamation-triangle:before{content:"\f071"}.icon-sitemap:before{content:"\f0e8"}.icon-home:before{content:"\f015"}.icon-server:before{content:"\f233"}.icon-comments:before{content:"\f086"}.icon-moon:before{content:"\f328"}.icon-plus:before{content:"\f067"}.icon-reply-all:before{content:"\f122"}.icon-git:before{content:"\f1d3"}.icon-question:before{content:"\f128"}.icon-camera:before{content:"\f030"}.icon-link:before{content:"\f0c1"}.icon-info:before{content:"\f129"}.icon-tumblr:before{content:"\f173"}.icon-trash:before{content:"\f1f8"}.icon-arrow-up:before{content:"\f062"}.icon-th-large:before{content:"\f009"}.icon-at:before{content:"\f1fa"}.icon-file:before{content:"\f15b"}.icon-film:before{content:"\f008"}.icon-power-off:before{content:"\f011"}.icon-book:before{content:"\f02d"}.icon-cloud-upload:before{content:"\f0ee"}.icon-star:before{content:"\f005"}.icon-users:before{content:"\f0c0"}.icon-asterisk:before{content:"\f069"}
@font-face{font-family:icomoon;src:url('fonts/icomoon.eot?fzapm2');src:url('fonts/icomoon.woff2?fzapm2') format('woff2'),url('fonts/icomoon.eot?fzapm2#iefix') format('embedded-opentype'),url('fonts/icomoon.ttf?fzapm2') format('truetype'),url('fonts/icomoon.woff?fzapm2') format('woff'),url('fonts/icomoon.svg?fzapm2#icomoon') format('svg');font-weight:400;font-style:normal;font-display:block}[class*=" icon-"],[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-code:before{content:"\f121"}.icon-list:before{content:"\f03a"}.icon-thumb-tack:before{content:"\f08d"}.icon-caret-up:before{content:"\f0d8"}.icon-adjust:before{content:"\f042"}.icon-location-arrow:before{content:"\f124"}.icon-arrow-down:before{content:"\f063"}.icon-instagram:before{content:"\f16d"}.icon-external-link:before{content:"\f08e"}.icon-font-awesome:before{content:"\f2b4"}.icon-paper-plane:before{content:"\f1d8"}.icon-download:before{content:"\f019"}.icon-caret-down:before{content:"\f0d7"}.icon-reply:before{content:"\f112"}.icon-search:before{content:"\f002"}.icon-flask:before{content:"\f0c3"}.icon-tasks:before{content:"\f0ae"}.icon-gamepad:before{content:"\f11b"}.icon-eye-slash:before{content:"\f070"}.icon-cloud:before{content:"\f0c2"}.icon-eye:before{content:"\f06e"}.icon-music:before{content:"\f001"}.icon-share:before{content:"\f064"}.icon-envelope:before{content:"\f0e0"}.icon-flag:before{content:"\f024"}.icon-folder:before{content:"\f07b"}.icon-outdent:before{content:"\f03b"}.icon-address-card:before{content:"\f2bb"}.icon-history:before{content:"\f1da"}.icon-heart:before{content:"\f004"}.icon-lock:before{content:"\f023"}.icon-sign-in:before{content:"\f090"}.icon-tag:before{content:"\f02b"}.icon-filter:before{content:"\f0b0"}.icon-peertube:before{content:"\f2e4"}.icon-github:before{content:"\f09b"}.icon-mastodon:before{content:"\f2e1"}.icon-envelope-open:before{content:"\f2b6"}.icon-user-plus:before{content:"\f234"}.icon-xmpp:before{content:"\f2f9"}.icon-gitea:before{content:"\f31f"}.icon-paperclip:before{content:"\f0c6"}.icon-deviantart:before{content:"\f1bd"}.icon-gitlab:before{content:"\f296"}.icon-arrows:before{content:"\f047"}.icon-ellipsis-v:before{content:"\f142"}.icon-globe:before{content:"\f0ac"}.icon-unlock:before{content:"\f09c"}.icon-quote-right:before{content:"\f10e"}.icon-arrow-left:before{content:"\f060"}.icon-ellipsis-h:before{content:"\f141"}.icon-exclamation:before{content:"\f12a"}.icon-print:before{content:"\f02f"}.icon-shaarli:before{content:"\f2f5"}.icon-times:before{content:"\f00d"}.icon-diaspora:before{content:"\f2e5"}.icon-folder-open:before{content:"\f07c"}.icon-bookmark:before{content:"\f02e"}.icon-rss:before{content:"\f09e"}.icon-map-signs:before{content:"\f277"}.icon-caret-left:before{content:"\f0d9"}.icon-sign-out:before{content:"\f08b"}.icon-file-text:before{content:"\f15c"}.icon-address-book:before{content:"\f2b9"}.icon-ban:before{content:"\f05e"}.icon-bars:before{content:"\f0c9"}.icon-calendar:before{content:"\f073"}.icon-retweet:before{content:"\f079"}.icon-paint-brush:before{content:"\f1fc"}.icon-tags:before{content:"\f02c"}.icon-key:before{content:"\f084"}.icon-commenting:before{content:"\f27a"}.icon-minus:before{content:"\f068"}.icon-arrow-right:before{content:"\f061"}.icon-comment:before{content:"\f075"}.icon-spinner:before{content:"\f110"}.icon-th-list:before{content:"\f00b"}.icon-code-fork:before{content:"\f126"}.icon-check:before{content:"\f00c"}.icon-caret-right:before{content:"\f0da"}.icon-map-marker:before{content:"\f041"}.icon-sticky-note:before{content:"\f249"}.icon-user:before{content:"\f007"}.icon-discord:before{content:"\f2ee"}.icon-activitypub:before{content:"\f2f2"}.icon-exclamation-triangle:before{content:"\f071"}.icon-sitemap:before{content:"\f0e8"}.icon-home:before{content:"\f015"}.icon-server:before{content:"\f233"}.icon-comments:before{content:"\f086"}.icon-moon:before{content:"\f328"}.icon-plus:before{content:"\f067"}.icon-reply-all:before{content:"\f122"}.icon-git:before{content:"\f1d3"}.icon-question:before{content:"\f128"}.icon-camera:before{content:"\f030"}.icon-link:before{content:"\f0c1"}.icon-info:before{content:"\f129"}.icon-tumblr:before{content:"\f173"}.icon-trash:before{content:"\f1f8"}.icon-arrow-up:before{content:"\f062"}.icon-th-large:before{content:"\f009"}.icon-at:before{content:"\f1fa"}.icon-file:before{content:"\f15b"}.icon-film:before{content:"\f008"}.icon-power-off:before{content:"\f011"}.icon-book:before{content:"\f02d"}.icon-cloud-upload:before{content:"\f0ee"}.icon-star:before{content:"\f005"}.icon-users:before{content:"\f0c0"}.icon-asterisk:before{content:"\f069"}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 455 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -10,7 +10,7 @@ function kspace_cat_breadcrumb_nav($categoryName, $icon) {
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo site_url(); ?>">kazhnuz.space</a>
</li><li class="breadcrumb-item" aria-current="page">
<span class="active"><i class="icon icon-<?php echo $icon; ?>" aria-hidden="true"></i> <?php echo $categoryName; ?></span>
<span class="active"><svg class="icon icon-folder-open" alt="" viewBox="0 0 34 32"><path d="M33.586 17.423c0 0.429-0.268 0.858-0.554 1.18l-6.006 7.078c-1.037 1.215-3.146 2.181-4.719 2.181h-19.448c-0.643 0-1.555-0.197-1.555-1.001 0-0.429 0.268-0.858 0.554-1.18l6.006-7.078c1.037-1.215 3.146-2.181 4.719-2.181h19.448c0.643 0 1.555 0.197 1.555 1.001zM27.455 11.274v2.86h-14.872c-2.234 0-5.005 1.269-6.453 2.985l-6.113 7.186c0-0.143-0.018-0.304-0.018-0.447v-17.16c0-2.199 1.805-4.004 4.004-4.004h5.72c2.199 0 4.004 1.805 4.004 4.004v0.572h9.724c2.199 0 4.004 1.805 4.004 4.004z"></path></svg> <?php echo $categoryName; ?></span>
</li>
</ol>
</nav>
@ -30,7 +30,7 @@ function kspace_cat_breadcrumb_with_rss($categoryName, $icon, $categoryType, $rs
<div class="flex-that d-none d-flex-sm pr-half pl-half">
<?php kspace_cat_breadcrumb_nav($categoryName, $icon); ?>
<div class="rss">
<a href="<?php echo $rssLink; ?>" class="btn btn-warning d-block m-0" /><i class="icon icon-rss" aria-hidden="true"></i><span class="sr-only">Flux RSS de <?php echo $categoryType; ?></span></a>
<a href="<?php echo $rssLink; ?>" class="btn btn-warning d-block m-0" /><svg class="icon icon-rss" alt=""><use xlink:href="#icon-rss"></use></svg><span class="sr-only">Flux RSS de <?php echo $categoryType; ?></span></a>
</div>
</div>
<?php

View file

@ -3,6 +3,10 @@
function smartwp_remove_wp_block_library_css(){
wp_dequeue_style( 'wp-block-library' );
wp_dequeue_style( 'wp-block-library-theme' );
wp_dequeue_style( 'wp-components-theme' );
wp_dequeue_style( 'wp-components' );
wp_dequeue_style( 'components' );
wp_dequeue_style( 'classic-theme-styles' );
wp_dequeue_style( 'wc-blocks-style' ); // Remove WooCommerce block CSS
wp_deregister_style( 'dashicons' );
add_filter( 'show_admin_bar', '__return_false' );

View file

@ -12,21 +12,15 @@
<?php wp_head(); ?>
<?php include(TEMPLATEPATH . '/components/opengraph.php'); ?>
<link rel="shortcut icon" href="<?php echo get_template_directory_uri();?>/img/favicon.png">
<!-- Dépendances -->
<link href="<?php echo get_template_directory_uri() . "/dep/iconfont/style.css?f43dsf"; ?>" rel="stylesheet"/>
<link href="<?php echo get_template_directory_uri() . "/dep/viewerjs/viewer.min.css"; ?>" rel="stylesheet"/>
<link rel="shortcut icon" href="<?php echo get_template_directory_uri();?>/img/favicon.png">>
<!-- CSS -->
<link href="<?php bloginfo('stylesheet_url'); ?>?f43dsf" rel="stylesheet"/>
<!-- Viewer -->
<script src="<?php echo get_template_directory_uri();?>/dep/viewerjs/viewer.min.js"></script>
<link href="<?php bloginfo('stylesheet_url'); ?>?f43dsg" rel="stylesheet"/>
</head>
<!-- Début du vrai HTML -->
<body>
<?php include(TEMPLATEPATH . '/components/common-icons.php'); ?>
<div class="bg-dark skip small-text">
<a href="#skip">Accéder au contenu</a>
</div>

BIN
img/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -1,21 +1,7 @@
const viewer = new Viewer(document.getElementById('myarticle'), {
inline: false,
navbar: true,
title: false,
toolbar: {
zoomIn: 4,
zoomOut: 4,
oneToOne: 4,
reset: 4,
prev: 1,
play: {
show: 0,
size: 'large',
},
next: 1,
rotateLeft: 0,
rotateRight: 0,
flipHorizontal: 0,
flipVertical: 0,
},
});
const articleImg = document.querySelectorAll('#myarticle img')
for (let i = 0; i < articleImg.length; i++) {
articleImg[i].addEventListener("click", function () {
window.open(articleImg[i].src, "_blank");
});
}

View file

@ -31,7 +31,7 @@
foreach ($menu as $menuElement) {
?>
<tr>
<th><i class="icon icon-fw icon-<?php echo $menuElement->title; ?>" aria-hidden="true"></i> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<th><svg class="icon" alt=""><use xlink:href="#icon-<?php echo $menuElement->title; ?>"></use></svg> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<td class="text-right"><a class="pretty-link" href="<?php echo $menuElement->url; ?>"><?php echo $menuElement->url; ?></td>
</tr>
<?php
@ -45,7 +45,7 @@
foreach ($menu as $menuElement) {
?>
<tr>
<th><i class="icon icon-fw icon-<?php echo $menuElement->title; ?>" aria-hidden="true"></i> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<th><svg class="icon" alt=""><use xlink:href="#icon-<?php echo $menuElement->title; ?>"></use></svg> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<td class="text-right"><a class="pretty-link" href="<?php echo $menuElement->url; ?>"><?php echo $menuElement->url; ?></td>
</tr>
<?php
@ -60,7 +60,7 @@
<aside class="sidebar">
<div class="card head-info">
<?php $desc = explode(";", get_the_author_meta( 'infodata' )) ?>
<div class="card-header"><i class="icon icon-info icon-fw" aria-hidden="true"></i> <?php
<div class="card-header"><svg class="icon icon-home" alt=""><use xlink:href="#icon-home"></use></svg> <?php
if (!empty($desc[1])) {
echo $desc[1];
} else {

View file

@ -28,7 +28,7 @@
foreach ($menu as $menuElement) {
?>
<tr>
<th><i class="icon icon-fw icon-<?php echo $menuElement->title; ?>" aria-hidden="true"></i> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<th><svg class="icon" alt=""><use xlink:href="#icon-<?php echo $menuElement->title; ?>"></use></svg> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<td class="text-right"><a class="pretty-link" href="<?php echo $menuElement->url; ?>"><?php echo $menuElement->url; ?></td>
</tr>
<?php
@ -42,7 +42,7 @@
foreach ($menu as $menuElement) {
?>
<tr>
<th><i class="icon icon-fw icon-<?php echo $menuElement->title; ?>" aria-hidden="true"></i> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<th><svg class="icon" alt=""><use xlink:href="#icon-<?php echo $menuElement->title; ?>"></use></svg> <span class="text-maj"><?php echo $menuElement->title; ?></span></th>
<td class="text-right"><a class="pretty-link" href="<?php echo $menuElement->url; ?>"><?php echo $menuElement->url; ?></td>
</tr>
<?php

View file

@ -2,4 +2,5 @@
@import 'core/bases';
@import 'core/typography';
@import 'core/containers';
@import 'core/icons';
//@import 'core/columns';

View file

@ -67,6 +67,7 @@
transition: background-color .2s, border .2s, box-shadow .2s, color .2s;
outline-color: var(--accent-color);
color: var(--text-color-contrast);
background: none!important;
&::before {
background-color: var(--accent-color);

View file

@ -52,12 +52,3 @@ ul.card-list, .card > ul {
margin:0;
}
}
.list {
&-check {@include list-symbol("\f00c");}
&-cross {@include list-symbol("\f00d");}
&-danger{@include list-color($color-danger);}
&-success{@include list-color($color-success);}
}

View file

@ -61,6 +61,7 @@ $comment-peek-height:0px;
height: $preview-height;
.card-header {
letter-spacing: normal;
padding: $lineheight_half/2 $card-header-padding;
padding-bottom: $lineheight_half/2 !important;
&:before {

23
scss/core/_icons.scss Normal file
View file

@ -0,0 +1,23 @@
.icon {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
color: currentColor;
}
.card-header .icon {
vertical-align: bottom;
}
.toolbar .icon {
position: relative;
top: 0.2em;
}
.btn.btn-small .icon, .label .icon {
position: relative;
top: 0.1em;
}

View file

@ -43,7 +43,8 @@ a {
outline-color: $color-link;
padding: 0.05rem;
border-radius: 0.1rem;
text-decoration: underline dashed;
text-decoration: underline dashed 1px;
text-underline-offset: 0.1rem;
&:visited {
color: var(--link-color);
@ -132,15 +133,12 @@ sup, sub {
}
}
.main-title, .page-title {
h1, .title-1, .main-title,
.page-title {
font-family: $titlefont;
@include newTitle(3.815, $fontweight_base);
}
h1, .title-1 {
font-family: $titlefont;
@include newTitle(2.441, $fontweight_hyper);
@include newTitle(3, $fontweight_hyper);
color: $color-primary;
letter-spacing: -3px;
}
h2, .title-2 {

View file

@ -66,7 +66,7 @@
}
#page-header {
background: get-color("skyblue") url('data: image/svg+xml;utf8,<svg width="800" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="420" cy="440" r="300" fill="#FDF7E7" /><circle cx="700" cy="510" r="300" fill="#FDF7E7" /><circle cx="-100" cy="510" r="300" fill="#FDF7E7" /><circle cx="150" cy="380" r="150" fill="#FDF7E7" /></svg>');
background: get-color("skyblue") url("data:image/svg+xml,%3Csvg width='800' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='420' cy='440' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='700' cy='510' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='-100' cy='510' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='150' cy='380' r='150' fill='%23FDF7E7' /%3E%3C/svg%3E");
border-top: 6px solid get-color("dark");
background-position: bottom center;
background-repeat: repeat-x;

View file

@ -20,10 +20,14 @@ Ubuntu,
'Droid Sans',
'Helvetica Neue',
sans-serif;
$titlefont: Amatic SC, sans-serif;
$titlefont: 'Comic Neue Angular', sans-serif;
@font-face {
font-family: 'Amatic SC';
src: url('fonts/AmaticSC-Regular.woff2') format('woff2');
font-weight: 400;
}
font-family: 'Comic Neue Angular';
src: local('Comic Neue Angular Bold Italic'), local('ComicNeueAngular-BoldItalic'),
url('fonts/ComicNeueAngular-BoldItalic.woff2') format('woff2'),
url('fonts/ComicNeueAngular-BoldItalic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}

View file

@ -14,6 +14,7 @@
margin-top: $size;
&.card-header {
margin-top:$card-header-vmargin;
letter-spacing: normal;
}
}
&:last-child {

View file

@ -1,8 +1,22 @@
.screen-reader-text, .sr-only {
visibility: collapse;
font-size:0;
position:absolute;
top:-2000px;
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
.skip {

View file

@ -25,6 +25,10 @@
$background-color: var(--accent-color);
}
.bg-dark {
@include bg-color(get-color("dark"));
}
// .bg {
// @each $name,

103
style.css
View file

@ -1,4 +1,3 @@
@charset "UTF-8";
/*
Theme Name: Kazhnuz Space
Theme URI: https://git.kobold.cafe/quarante-douze/qdouze2-wordpress-theme
@ -14,9 +13,11 @@
This theme is licensed under the GPLv3.
*/
@font-face {
font-family: 'Amatic SC';
src: url("fonts/AmaticSC-Regular.woff2") format("woff2");
font-weight: 400; }
font-family: 'Comic Neue Angular';
src: local("Comic Neue Angular Bold Italic"), local("ComicNeueAngular-BoldItalic"), url("fonts/ComicNeueAngular-BoldItalic.woff2") format("woff2"), url("fonts/ComicNeueAngular-BoldItalic.woff") format("woff");
font-weight: bold;
font-style: italic;
font-display: swap; }
*,
*::before,
@ -83,7 +84,8 @@ a {
outline-color: #CB357D;
padding: 0.05rem;
border-radius: 0.1rem;
text-decoration: underline dashed; }
text-decoration: underline dashed 1px;
text-underline-offset: 0.1rem; }
a:visited {
color: var(--link-color); }
a:hover, a:active {
@ -146,18 +148,14 @@ sup > a, sub > a {
sup > a:hover, sup > a:focus, sup > a:active, sub > a:hover, sub > a:focus, sub > a:active {
color: #a32a64; }
.main-title, .page-title {
font-family: Amatic SC, sans-serif;
font-size: 3.815rem;
line-height: 4.8rem;
font-weight: 400; }
h1, .title-1 {
font-family: Amatic SC, sans-serif;
font-size: 2.441rem;
h1, .title-1, .main-title,
.page-title {
font-family: "Comic Neue Angular", sans-serif;
font-size: 3rem;
line-height: 3.2rem;
font-weight: 800;
color: #CB357D; }
color: #CB357D;
letter-spacing: -3px; }
h2, .title-2 {
font-size: 2.441rem;
@ -220,6 +218,26 @@ pre {
max-width: 1200px;
margin: auto; }
.icon {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
color: currentColor; }
.card-header .icon {
vertical-align: bottom; }
.toolbar .icon {
position: relative;
top: 0.2em; }
.btn.btn-small .icon, .label .icon {
position: relative;
top: 0.1em; }
.btn {
border: 0px solid rgba(0, 0, 0, 0.3);
border-radius: 0px 0px 0px 0px;
@ -235,6 +253,7 @@ pre {
transition: background-color .2s, border .2s, box-shadow .2s, color .2s;
outline-color: var(--accent-color);
color: var(--text-color-contrast);
background: none !important;
font-weight: 400; }
.btn:before {
content: " ";
@ -400,7 +419,8 @@ nav.pagination {
.card > *:first-child, .card > *.sr-only:first-child ~ * {
margin-top: 2em; }
.card > *:first-child.card-header, .card > *.sr-only:first-child ~ *.card-header {
margin-top: 0.8em; }
margin-top: 0.8em;
letter-spacing: normal; }
.card > *:last-child {
margin-bottom: 2em; }
.card > *:last-child.card-header {
@ -456,26 +476,6 @@ ul.card-list, .card > ul {
padding: 0.4em, 0.4em, 0.4em, 0.8em;
margin: 0; }
.list-check li.list-element {
list-style: none; }
.list-check li.list-element::before {
font-family: "ForkAwesome";
content: "";
padding-right: 0.4em; }
.list-cross li.list-element {
list-style: none; }
.list-cross li.list-element::before {
font-family: "ForkAwesome";
content: "";
padding-right: 0.4em; }
.list-danger li.list-element::before {
color: #dc322f; }
.list-success li.list-element::before {
color: #859900; }
.menu {
display: flex;
flex-direction: column; }
@ -703,11 +703,24 @@ textarea {
-webkit-appearance: button;
font: inherit; }
.screen-reader-text, .sr-only {
visibility: collapse;
font-size: 0;
.sr-only {
position: absolute;
top: -2000px; }
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0; }
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto; }
.skip {
position: absolute;
@ -748,6 +761,13 @@ textarea {
border-width: 0px;
border-style: none; }
.bg-dark {
background-color: #002b36;
color: #FDF7E7; }
.bg-dark a {
color: currentColor;
outline-color: currentColor; }
.c-primary, .btn-primary, .head-primary, .text-primary {
--accent-color: #CB357D;
--text-color-contrast: #FDF7E7;
@ -1108,7 +1128,7 @@ textarea {
padding: 1rem; }
#page-header {
background: #0f7e84 url('data: image/svg+xml;utf8,<svg width="800" height="300" xmlns="http://www.w3.org/2000/svg"><circle cx="420" cy="440" r="300" fill="#FDF7E7" /><circle cx="700" cy="510" r="300" fill="#FDF7E7" /><circle cx="-100" cy="510" r="300" fill="#FDF7E7" /><circle cx="150" cy="380" r="150" fill="#FDF7E7" /></svg>');
background: #0f7e84 url("data:image/svg+xml,%3Csvg width='800' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='420' cy='440' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='700' cy='510' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='-100' cy='510' r='300' fill='%23FDF7E7' /%3E%3Ccircle cx='150' cy='380' r='150' fill='%23FDF7E7' /%3E%3C/svg%3E");
border-top: 6px solid #002b36;
background-position: bottom center;
background-repeat: repeat-x;
@ -1333,6 +1353,7 @@ ul.social {
position: relative;
height: 12.8rem; }
.preview-link .card-header {
letter-spacing: normal;
padding: 0.4rem 1.6em;
padding-bottom: 0.4rem !important;
position: absolute;

View file

@ -28,9 +28,9 @@
);
$query = new WP_Query( $args );
?>
<svg class="icon" alt=""></svg>
<div class="card head-primary">
<div class="card-header"><i class="icon icon-list" aria-hidden="true"></i> Chapitres</div>
<div class="card-header"><<svg class="icon" alt=""><path d="M4.576 23.858v3.432c0 0.304-0.268 0.572-0.572 0.572h-3.432c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h3.432c0.304 0 0.572 0.268 0.572 0.572zM4.576 16.994v3.432c0 0.304-0.268 0.572-0.572 0.572h-3.432c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h3.432c0.304 0 0.572 0.268 0.572 0.572zM4.576 10.13v3.432c0 0.304-0.268 0.572-0.572 0.572h-3.432c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h3.432c0.304 0 0.572 0.268 0.572 0.572zM32.031 23.858v3.432c0 0.304-0.268 0.572-0.572 0.572h-24.023c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h24.023c0.304 0 0.572 0.268 0.572 0.572zM4.576 3.267v3.432c0 0.304-0.268 0.572-0.572 0.572h-3.432c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h3.432c0.304 0 0.572 0.268 0.572 0.572zM32.031 16.994v3.432c0 0.304-0.268 0.572-0.572 0.572h-24.023c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h24.023c0.304 0 0.572 0.268 0.572 0.572zM32.031 10.13v3.432c0 0.304-0.268 0.572-0.572 0.572h-24.023c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h24.023c0.304 0 0.572 0.268 0.572 0.572zM32.031 3.267v3.432c0 0.304-0.268 0.572-0.572 0.572h-24.023c-0.304 0-0.572-0.268-0.572-0.572v-3.432c0-0.304 0.268-0.572 0.572-0.572h24.023c0.304 0 0.572 0.268 0.572 0.572z"></path></svg> Chapitres</div>
<div class="card-menu">
<?php if($query->have_posts()) : ?>
<?php $i = 1; ?>