Skip to content

Instantly share code, notes, and snippets.

View alexmwalker's full-sized avatar

Alex alexmwalker

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexmwalker
alexmwalker / sparkle2.svg
Last active October 12, 2023 00:48
A random sparkle animation that should tile nicely
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexmwalker
alexmwalker / star.svg
Created October 8, 2023 07:06
A simple SVG lens flare / star to be referenced in other prototypes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexmwalker
alexmwalker / input.scss
Created August 1, 2023 03:48
Generated by SassMeister.com.
/*! Import Foundry Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500');
/* ===================== */
:root {
--typescale: 1.1; /* The type scaling factor relative to the <p>. ( h4 > h3 > h2 > h1). This DEFAULT scale is set low for phones. Media Queries scale it up for larger screens */
--typescale-lg: 1.25; /* increase the typescale on larger (non-mobile) screens */
--baselineratio: calc(16/9); /* This is the 'line-height:basefont size' ratio ( i.e 16/9 = 1.777778)*/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alexmwalker
alexmwalker / input.scss
Created March 17, 2023 00:24
Generated by SassMeister.com.
$categories: 'essentials', 'cost-of-living', 'bundles', 'high-impact';
@each $category in $categories {
.category-#{$category} {
font-size: 2;
height: 2;
width: 2;
}
@alexmwalker
alexmwalker / device-laptop.css
Last active March 6, 2023 22:35
Temporary Media Query Device labels for your page
/* Large devices (laptops, 64em and up)*/
.device {
background-position: 66.666% top;
}
.device:after {
content: "Laptop";
}
.laptop-only{
@alexmwalker
alexmwalker / stamore-base.css
Last active March 2, 2023 22:10
Stanmore base
/*! Import Foundry Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,300;1,400&display=swap");
/* ===================== */
:root {
--typescale: 1.11;
/* The type scaling factor relative to the <p>. ( h4 > h3 > h2 > h1). This DEFAULT scale is set low for phones. Media Queries scale it up for larger screens */
--typescale-lg: 1.2;
/* Increase the typescale on larger (non-mobile) screens */
--baselineratio: calc(
16 / 10
@alexmwalker
alexmwalker / template.svg
Created January 27, 2023 04:42
Hero image template guide
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.