Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
feather
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
feather
Commits
706e0ebd
Commit
706e0ebd
authored
May 29, 2017
by
Cole Bemis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redesign project site
parent
6bb80940
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
69 deletions
+37
-69
category.html
_includes/category.html
+2
-2
footer.html
_includes/footer.html
+1
-1
header.html
_includes/header.html
+3
-3
icon.html
_includes/icon.html
+10
-14
icons.html
_includes/icons.html
+2
-1
index.html
index.html
+3
-6
style.css
style.css
+16
-42
No files found.
_includes/category.html
View file @
706e0ebd
<div
class=
"pv4"
>
<div
class=
"pv4"
>
<h2
class=
"mt0 mb
3 tc
f6 ttu tracked normal"
>
{{ include.category | replace: '-', ' '}}
</h2>
<h2
class=
"mt0 mb
4
f6 ttu tracked normal"
>
{{ include.category | replace: '-', ' '}}
</h2>
<ul
class=
"
flex flex-wrap justify-center
mv0 pl0 list"
>
<ul
class=
"
icon-grid
mv0 pl0 list"
>
{% capture category_path %}icons/{{ include.category }}{% endcapture %}
{% capture category_path %}icons/{{ include.category }}{% endcapture %}
{% for icon in site.static_files %}
{% for icon in site.static_files %}
{% if icon.path contains category_path %}
{% if icon.path contains category_path %}
...
...
_includes/footer.html
View file @
706e0ebd
<footer
class=
"flex flex-column items-center p
v
5"
>
<footer
class=
"flex flex-column items-center p
t5-ns pb
5"
>
<ul
class=
"flex flex-column flex-row-l justify-center w-80 mv0 pl0 list"
>
<ul
class=
"flex flex-column flex-row-l justify-center w-80 mv0 pl0 list"
>
{% for link in include.links %}
{% for link in include.links %}
<li
class=
"mh3-l pv3 pv0-l f5 bb b--black-10 bn-l"
>
<li
class=
"mh3-l pv3 pv0-l f5 bb b--black-10 bn-l"
>
...
...
_includes/header.html
View file @
706e0ebd
<header
class=
"
bb b--black-10 pv3
"
>
<header
class=
"
pv3 bb b--black-10
"
>
<div
class=
"w-80
mw8
center flex justify-between items-center"
>
<div
class=
"w-80 center flex justify-between items-center"
>
<h1
class=
"mv0 normal f3 lh-copy black-90"
>
Feather
<span
class=
"f5 black-60"
>
v{{ site.data.package.version }}
</span></h1>
<h1
class=
"mv0 normal f3 lh-copy black-90"
>
Feather
<span
class=
"f5 black-60"
>
v{{ site.data.package.version }}
</span></h1>
<ul
class=
"list mv0 pl0 flex dn"
>
<ul
class=
"list mv0 pl0 flex dn"
>
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<h2
class=
"mt0 mb4 f2 fw3 tc lh-title black-90"
>
Simply beautiful open source icons
</h2>
<h2
class=
"mt0 mb4 f2 fw3 tc lh-title black-90"
>
Simply beautiful open source icons
</h2>
<a
<a
class=
"b
tn white bg-accent br3 dim
"
class=
"b
utton white bg-accent br2
"
href=
"feather-{{ site.data.package.version }}.zip"
href=
"feather-{{ site.data.package.version }}.zip"
download
download
onclick=
"ga('send', 'event', 'download', 'click', 'all');"
>
onclick=
"ga('send', 'event', 'download', 'click', 'all');"
>
...
...
_includes/icon.html
View file @
706e0ebd
<li
class=
"icon relative pa3 ma2 black-90 bg-animate br3 outline-0 pointer"
>
<li>
{% include_relative {{ include.icon.path }} %}
<div
class=
"tooltip flex flex-column tc white bg-dark-gray br3"
>
<p
class=
"dib mh4 mv3 lh-copy nowrap"
>
{{ include.icon.basename }}
</p>
<a
<a
class=
"btn white bg-black-90 dim br3 br--bottom outline-0"
href=
"{{ include.icon.path }}"
href=
"{{ include.icon.path }}"
class=
"flex flex-row items-center dib pa3 br2 no-underline dark-gray bg-near-white bg-animate hover-bg-light-gray"
download
download
tabindex=
"-1"
onclick=
"ga('send', 'event', 'download', 'click', '{{ include.icon.basename }}');"
>
onclick=
"ga('send', 'event', 'download', 'click', '{{ include.icon.basename }}');"
>
Download
<span
class=
"svg flex-none lh-none"
>
{% include_relative {{ include.icon.path }} %}
</span>
<span
class=
"ml3 lh-copy f6 tc black-60 ellipse"
>
{{ include.icon.basename }}
</span>
</a>
</a>
</div>
</li>
</li>
_includes/icons.html
View file @
706e0ebd
<div
class=
"w-80 center
mw8
pv5"
>
<div
class=
"w-80 center pv5"
>
{% include category.html category="core" %}
{% include category.html category="core" %}
{% include category.html category="media-controls" %}
{% include category.html category="media-controls" %}
{% include category.html category="communication" %}
{% include category.html category="communication" %}
...
@@ -6,4 +6,5 @@
...
@@ -6,4 +6,5 @@
{% include category.html category="location" %}
{% include category.html category="location" %}
{% include category.html category="weather" %}
{% include category.html category="weather" %}
{% include category.html category="arrows" %}
{% include category.html category="arrows" %}
{% include category.html category="logos" %}
</div>
</div>
index.html
View file @
706e0ebd
...
@@ -31,13 +31,10 @@ links:
...
@@ -31,13 +31,10 @@ links:
<link
href=
"https://unpkg.com/tachyons/css/tachyons.min.css"
rel=
"stylesheet"
>
<link
href=
"https://unpkg.com/tachyons/css/tachyons.min.css"
rel=
"stylesheet"
>
<link
href=
"style.css"
rel=
"stylesheet"
>
<link
href=
"style.css"
rel=
"stylesheet"
>
</head>
</head>
<body
class=
"ma0 rubik font-smoothing black-60 bg-
near-
white"
>
<body
class=
"ma0 rubik font-smoothing black-60 bg-white"
>
<div
class=
"bg-white"
>
{% include header.html %}
{% include header.html %}
{% include icons.html %}
{% include icons.html %}
</div>
{% include footer.html links=page.links %}
{% include footer.html links=page.links %}
</script>
</script>
...
...
style.css
View file @
706e0ebd
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
}
}
.b
t
n
{
.b
utto
n
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
1rem
2rem
;
padding
:
1rem
2rem
;
font-size
:
1rem
;
font-size
:
1rem
;
...
@@ -28,56 +28,30 @@
...
@@ -28,56 +28,30 @@
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.b
t
n-outline
{
.b
utto
n-outline
{
box-shadow
:
inset
0
0
0
1px
currentColor
;
box-shadow
:
inset
0
0
0
1px
currentColor
;
}
}
.icon
{
.lh-none
{
width
:
1.5rem
;
line-height
:
0
;
height
:
1.5rem
;
box-sizing
:
content-box
;
}
}
.icon
[
stroke
]
{
.ellipse
{
stroke
:
currentColor
;
white-space
:
nowrap
;
}
overflow
:
hidden
;
text-overflow
:
ellipsis
;
.icon
[
fill
]
:not
([
fill
=
none
])
{
fill
:
currentColor
;
}
}
.tooltip
{
.icon-grid
{
position
:
absolute
;
display
:
grid
;
top
:
calc
(
100%
+
1rem
);
grid-template-columns
:
repeat
(
auto-fill
,
minmax
(
12rem
,
1
fr
));
left
:
50%
;
grid-gap
:
1rem
;
transform
:
translateX
(
-50%
)
scale
(
0.75
);
transform-origin
:
50%
-1rem
;
opacity
:
0
;
visibility
:
hidden
;
cursor
:
default
;
z-index
:
1
;
transition-property
:
opacity
,
visibility
,
transform
;
transition-duration
:
0.15s
;
transition-timing-function
:
ease-in-out
;
}
}
/* tooltip arrow */
.svg
[
stroke
]
{
.tooltip
::before
{
stroke
:
currentColor
;
content
:
""
;
position
:
absolute
;
top
:
0
;
left
:
50%
;
transform
:
translate
(
-50%
,
-1rem
);
display
:
block
;
width
:
2.5rem
;
height
:
1.5rem
;
background-image
:
url("assets/tooltip-arrow.svg")
;
background-size
:
100%
;
}
}
.icon
:hover
.tooltip
{
.svg
[
fill
]
:not
([
fill
=
none
])
{
opacity
:
1
;
fill
:
currentColor
;
visibility
:
visible
;
transform
:
translateX
(
-50%
)
scale
(
1
);
transition-delay
:
0.15s
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment