Skip to content

Instantly share code, notes, and snippets.

View subsevenx's full-sized avatar
🎯
Focusing

Daniel Hernandez subsevenx

🎯
Focusing
  • Monva
  • Chicago
View GitHub Profile
<figure>
{% if url %}
<a class="no_icon" target="_blank" rel="noopener" href="{{ url }}">
{% endif %}
<img class="docimage" src="/images/{{ file }}" alt="{{ alt }}" {% if max_width %} style="max-width: {{ max-width }}px{% endif %}" />
{% if url %}
</a>
{% endif %}
@subsevenx
subsevenx / sass-space.scss
Last active March 14, 2022 22:54 — forked from Eomerx/sass-space.scss
SCSS - Automated Responsive CSS Utility Spacing Classes via Mixins
// margin and padding values array
//set this either locally, or on a variables file.
$space-values: (
1: $base-spacer-size * 0.25,
2: $base-spacer-size * 0.5,
3: $base-spacer-size * 1,
4: $base-spacer-size * 1.5,
5: $base-spacer-size * 2,
6: $base-spacer-size * 2.5,
@subsevenx
subsevenx / nav.liquid
Created March 11, 2022 22:54
nav.liquid
<nav>
<div>
<div id="navbarToggle">
<ul role="menubar">
{%- assign location = site.data.nav.menu -%}
{%- for nav_item in location -%}
{% if nav_item.child[0] %}
<li>
<a href="{{ nav_item.link }}" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="{% if nav_item.link == page.url %}true{% else %}false{% endif %}">{{ nav_item.name }}</a>
<ul aria-labelledby="navbarDropdown">
@subsevenx
subsevenx / seo.liquid
Created March 1, 2022 04:07
seo.liquid
{%- assign og = page.seo.og -%}
{%- assign tw = page.seo.twitter -%}
{%- assign mt = page.seo.meta -%}
{%- assign ix = page.seo.index -%}
<title>{{- page.title -}} {{- site.metadata.separator -}} {{- site.metadata.title -}}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000">
@subsevenx
subsevenx / global_clamp.css
Created September 19, 2021 04:50
global_clamp.css
h1 {
font-size: clamp(2.125rem, calc( 12px + 2.750vw ), 2.875rem);
line-height: 1.1;
}
h2 {
font-size: clamp(1.750rem, calc( 12px + 2.000vw ), 2.250rem);
line-height: 1.1;
}
h3 {
font-size: clamp(1.425rem, calc( 12px + 1.500vw ), 1.875rem);

Keybase proof

I hereby claim:

  • I am subsevenx on github.
  • I am subseven (https://keybase.io/subseven) on keybase.
  • I have a public key whose fingerprint is 125F 3335 4C2F C48B 67C1 4A6D 7EB8 D708 EF9D FC2A

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am subseven57 on github.
  • I am subseven (https://keybase.io/subseven) on keybase.
  • I have a public key ASB_pFPTSnMaF2khsVrhNv1g3FWXHwGhKOJkwJjkHJIkDAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am subseven57 on github.
  • I am subseven (https://keybase.io/subseven) on keybase.
  • I have a public key ASAD6pYt3Ps8jmF_2O6k_PDW3B0Xdk58kuuNkfXKeSQ7Ago

To claim this, I am signing this object: