remove duplicated ids

This commit is contained in:
cupcakearmy 2019-08-30 20:57:35 +02:00
parent 4cead8e7b9
commit b7dcadf27f
2 changed files with 6 additions and 6 deletions

View File

@ -2,22 +2,22 @@
margin-top: 1.5em; margin-top: 1.5em;
} }
#logos #title { #logos > .title {
margin: 2em; margin: 2em;
text-align: center; text-align: center;
} }
#logos #title img { #logos > .title img {
height: 1.5em; height: 1.5em;
} }
#logos #list img { #logos > .list img {
height: 2em; height: 2em;
width: 2em; width: 2em;
margin: 0 .5em; margin: 0 .5em;
transition: var(--animation); transition: var(--animation);
} }
#logos #list img:hover { #logos > .list img:hover {
transform: scale(1.15); transform: scale(1.15);
} }

View File

@ -7,13 +7,13 @@ function render_links( $expanded = false ) {
?> ?>
<div id="logos"> <div id="logos">
<?php if ( $expanded ) { ?> <?php if ( $expanded ) { ?>
<div id="title" class="alt-font"> <div class="title alt-font">
discuss & share discuss & share
<br/> <br/>
<img src="<?= get_template_directory_uri() . '/vendor/icons/down.svg' ?>" alt="arrow down"/> <img src="<?= get_template_directory_uri() . '/vendor/icons/down.svg' ?>" alt="arrow down"/>
</div> </div>
<?php } ?> <?php } ?>
<div class="flex container horizontal middle center" id="list"> <div class="list flex container horizontal middle center">
<?php <?php
foreach ( $links as $link ) { foreach ( $links as $link ) {
$saved = get_option( $link . '_url' ); $saved = get_option( $link . '_url' );