mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Style icons section
This commit is contained in:
parent
3f00ee3ef5
commit
ad8509dd2f
@ -1,8 +1,10 @@
|
||||
<section>
|
||||
{% for icon in site.data.icons %}
|
||||
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
|
||||
<div class="feather-icon">
|
||||
{% include_relative {{ icon_path }} %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<section class="section icons">
|
||||
<div class="container icons-container">
|
||||
{% for icon in site.data.icons %}
|
||||
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
|
||||
<div class="feather-icon">
|
||||
{% include_relative {{ icon_path }} %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
11
style.scss
11
style.scss
@ -33,6 +33,7 @@ a {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
@ -59,7 +60,6 @@ a {
|
||||
/* Header */
|
||||
|
||||
.header {
|
||||
padding: 4rem 0;
|
||||
border-bottom: 1px solid black;
|
||||
text-align: center;
|
||||
|
||||
@ -114,10 +114,17 @@ a {
|
||||
|
||||
/* Icons */
|
||||
|
||||
.icons-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.feather-icon {
|
||||
display: inline-block;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin: 1rem;
|
||||
stroke-width: 2px;
|
||||
|
||||
> svg {
|
||||
@ -131,7 +138,7 @@ a {
|
||||
/* Request */
|
||||
|
||||
.request {
|
||||
padding: 4rem 0;
|
||||
background-color: lightgray;
|
||||
}
|
||||
|
||||
.request-container {
|
||||
|
Loading…
Reference in New Issue
Block a user