Skip to content

Instantly share code, notes, and snippets.

View timotheegoguely's full-sized avatar
💻

Timothée Goguely timotheegoguely

💻
View GitHub Profile
@cmod
cmod / hugofastsearch.md
Last active May 15, 2025 12:01 — forked from eddiewebb/readme.md
Fast, instant client side search for Hugo static site generator
@mixin for-size($size) {
@if $size == phone-only {
@media (max-width: 599px) { @content; }
} @else if $size == tablet-portrait-up {
@media (min-width: 600px) { @content; }
} @else if $size == tablet-landscape-up {
@media (min-width: 900px) { @content; }
} @else if $size == desktop-up {
@media (min-width: 1200px) { @content; }
} @else if $size == big-desktop-up {
@mixin for-phone-only {
@media (max-width: 599px) { @content; }
}
@mixin for-tablet-portrait-up {
@media (min-width: 600px) { @content; }
}
@mixin for-tablet-landscape-up {
@media (min-width: 900px) { @content; }
}
@mixin for-desktop-up {