mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
style badge grid into a grid.
This commit is contained in:
parent
b968c967a7
commit
407dcc8d22
2 changed files with 30 additions and 8 deletions
|
@ -2,10 +2,35 @@
|
||||||
* Copied from the profiles.wordpress.org theme stylesheet.
|
* Copied from the profiles.wordpress.org theme stylesheet.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.team-grid div.dashicons:before {
|
.team-grid {
|
||||||
position: relative;
|
display: flex;
|
||||||
top: 2px;
|
flex-wrap: wrap;
|
||||||
font-size: 24px;
|
margin: 0;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin: 0 0 1em;
|
||||||
|
width: 25%;
|
||||||
|
min-width: 10em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.dashicons {
|
||||||
|
margin-right: 0.5em;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
position: relative;
|
||||||
|
top: 2px;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include breakpoint( 0, $breakpoint-small ) {
|
||||||
|
li {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge {
|
.badge {
|
||||||
|
@ -16,9 +41,6 @@
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
//position: absolute;
|
|
||||||
//top: 8px;
|
|
||||||
//left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-themes-reviewer {
|
.badge-themes-reviewer {
|
||||||
|
|
|
@ -71,7 +71,7 @@ get_header(); ?>
|
||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<div class="badge item dashicons <?php echo esc_attr( implode( ' ', $badge_classes ) ); ?>"></div>
|
<div class="badge item dashicons <?php echo esc_attr( implode( ' ', $badge_classes ) ); ?>"></div>
|
||||||
<?php echo esc_html( $team ); ?>
|
<span class="badge-label"><?php echo esc_html( $team ); ?></span>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue