+
{% include category.html category="core" %}
{% include category.html category="media-controls" %}
{% include category.html category="communication" %}
@@ -6,4 +6,5 @@
{% include category.html category="location" %}
{% include category.html category="weather" %}
{% include category.html category="arrows" %}
+ {% include category.html category="logos" %}
diff --git a/index.html b/index.html
index b992c59..76a4db3 100644
--- a/index.html
+++ b/index.html
@@ -31,13 +31,10 @@ links:
-
-
-
- {% include header.html %}
- {% include icons.html %}
-
+
+ {% include header.html %}
+ {% include icons.html %}
{% include footer.html links=page.links %}
diff --git a/style.css b/style.css
index 24acbf8..4302dd6 100644
--- a/style.css
+++ b/style.css
@@ -19,7 +19,7 @@
-moz-osx-font-smoothing: grayscale;
}
-.btn {
+.button {
display: inline-block;
padding: 1rem 2rem;
font-size: 1rem;
@@ -28,56 +28,30 @@
text-decoration: none;
}
-.btn-outline {
+.button-outline {
box-shadow: inset 0 0 0 1px currentColor;
}
-.icon {
- width: 1.5rem;
- height: 1.5rem;
- box-sizing: content-box;
+.lh-none {
+ line-height: 0;
}
-.icon [stroke] {
+.ellipse {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.icon-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
+ grid-gap: 1rem;
+}
+
+.svg [stroke] {
stroke: currentColor;
}
-.icon [fill]:not([fill=none]) {
+.svg [fill]:not([fill=none]) {
fill: currentColor;
-}
-
-.tooltip {
- position: absolute;
- top: calc(100% + 1rem);
- left: 50%;
- 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 */
-.tooltip::before {
- 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 {
- opacity: 1;
- visibility: visible;
- transform: translateX(-50%) scale(1);
- transition-delay: 0.15s;
}
\ No newline at end of file