Merge branch 'develop'
|
Before Width: | Height: | Size: 880 KiB After Width: | Height: | Size: 880 KiB |
49
assets/js/buttons.js
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
// Randomize button positions on the laptop lid
|
||||||
|
function initializeButtons() {
|
||||||
|
const buttons = document.querySelectorAll(".button-sticker");
|
||||||
|
const laptopLid = document.getElementById("laptop-lid");
|
||||||
|
|
||||||
|
if (!laptopLid) return;
|
||||||
|
|
||||||
|
// Account for CSS padding (20px) and bezel border (15px)
|
||||||
|
const lidPadding = 20;
|
||||||
|
const bezelBorder = 15;
|
||||||
|
const totalInset = lidPadding + bezelBorder;
|
||||||
|
const displayAreaWidth = laptopLid.offsetWidth - totalInset * 2;
|
||||||
|
const displayAreaHeight = laptopLid.offsetHeight - totalInset * 2;
|
||||||
|
|
||||||
|
buttons.forEach((button) => {
|
||||||
|
// Get button dimensions - use data attributes as fallback
|
||||||
|
const buttonWidth = button.offsetWidth || 88;
|
||||||
|
const buttonHeight = button.offsetHeight || 31;
|
||||||
|
|
||||||
|
// Generate random position within display area bounds
|
||||||
|
const maxX = Math.max(0, displayAreaWidth - buttonWidth);
|
||||||
|
const maxY = Math.max(0, displayAreaHeight - buttonHeight);
|
||||||
|
|
||||||
|
const randomX = Math.random() * maxX + totalInset;
|
||||||
|
const randomY = Math.random() * maxY + totalInset;
|
||||||
|
const randomRotation = (Math.random() - 0.5) * 40;
|
||||||
|
|
||||||
|
// Set CSS custom properties for positioning and rotation
|
||||||
|
button.style.setProperty("--x", randomX + "px");
|
||||||
|
button.style.setProperty("--y", randomY + "px");
|
||||||
|
button.style.setProperty("--rotation", randomRotation + "deg");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Initialize on page load
|
||||||
|
if (document.readyState === "loading") {
|
||||||
|
document.addEventListener("DOMContentLoaded", initializeButtons);
|
||||||
|
} else {
|
||||||
|
// DOM already loaded
|
||||||
|
initializeButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Re-randomize on window resize
|
||||||
|
window.addEventListener("resize", () => {
|
||||||
|
// Add small delay to ensure measurements are accurate
|
||||||
|
setTimeout(() => {
|
||||||
|
initializeButtons();
|
||||||
|
}, 100);
|
||||||
|
});
|
||||||
67
assets/sass/_handwritten.scss
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
/**
|
||||||
|
|
||||||
|
Styles to apply the handwritten effect to a thinger
|
||||||
|
|
||||||
|
**/
|
||||||
|
|
||||||
|
.handwritten-wrap {
|
||||||
|
font-family: "Caveat", cursive;
|
||||||
|
|
||||||
|
a {
|
||||||
|
position: relative;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: -2px;
|
||||||
|
right: -2px;
|
||||||
|
bottom: -0.15em;
|
||||||
|
height: 0.3em;
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
background: repeating-linear-gradient(
|
||||||
|
-3deg,
|
||||||
|
currentColor 0 1.5px,
|
||||||
|
transparent 1.5px 4px
|
||||||
|
);
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
del {
|
||||||
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
del::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
left: -4px;
|
||||||
|
top: 50%;
|
||||||
|
width: calc(100% + 8px);
|
||||||
|
height: 1.4em;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
pointer-events: none;
|
||||||
|
|
||||||
|
background-color: currentColor;
|
||||||
|
|
||||||
|
-webkit-mask-image: url("data:image/svg+xml;utf8,\
|
||||||
|
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'>\
|
||||||
|
<path d='M2 8 Q20 2 40 10 T80 8 T98 10' stroke='white' stroke-width='3' fill='none'/>\
|
||||||
|
<path d='M2 14 Q30 6 60 14 T98 12' stroke='white' stroke-width='2' fill='none'/>\
|
||||||
|
</svg>");
|
||||||
|
-webkit-mask-repeat: repeat-x;
|
||||||
|
-webkit-mask-size: auto 100%;
|
||||||
|
|
||||||
|
mask-image: url("data:image/svg+xml;utf8,\
|
||||||
|
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'>\
|
||||||
|
<path d='M2 8 Q20 2 40 10 T80 8 T98 10' stroke='white' stroke-width='3' fill='none'/>\
|
||||||
|
<path d='M2 14 Q30 6 60 14 T98 12' stroke='white' stroke-width='2' fill='none'/>\
|
||||||
|
</svg>");
|
||||||
|
mask-repeat: repeat-x;
|
||||||
|
mask-size: auto 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -88,7 +88,13 @@ $breakpoints: (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Usage
|
@mixin enhance-3d-transform {
|
||||||
.scrollable-child {
|
backface-visibility: hidden;
|
||||||
@include scrollbar-custom(greenyellow, 10px);
|
-webkit-backface-visibility: hidden;
|
||||||
|
transform-style: preserve-3d;
|
||||||
|
-webkit-transform-style: preserve-3d;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
/* Optional: Force GPU acceleration */
|
||||||
|
will-change: transform;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
540
assets/sass/pages/buttons.scss
Normal file
|
|
@ -0,0 +1,540 @@
|
||||||
|
// 88x31 Buttons Collection - Laptop Lid CSS Art
|
||||||
|
// Standalone page with 3D laptop lid displaying collected IndieWeb buttons
|
||||||
|
|
||||||
|
// Heart flash animation
|
||||||
|
@keyframes heart-flash {
|
||||||
|
0%,
|
||||||
|
100% {
|
||||||
|
filter: none;
|
||||||
|
color: rgba(255, 0, 0, 0.3);
|
||||||
|
}
|
||||||
|
5%,
|
||||||
|
15% {
|
||||||
|
filter: drop-shadow(0 0 8px #ff0000) drop-shadow(0 0 4px #ff3333);
|
||||||
|
text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
|
||||||
|
color: rgba(255, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
20%,
|
||||||
|
100% {
|
||||||
|
filter: none;
|
||||||
|
color: rgba(255, 0, 0, 0.3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-window {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
aspect-ratio: 16/9;
|
||||||
|
width: 50%;
|
||||||
|
left: 70%;
|
||||||
|
transform: translate(-50%, -20%);
|
||||||
|
border: 5px solid #c4b89a;
|
||||||
|
border-top-width: 5px;
|
||||||
|
border-top-style: solid;
|
||||||
|
border-top-color: rgb(196, 184, 154);
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-container {
|
||||||
|
position: relative;
|
||||||
|
min-height: 100vh;
|
||||||
|
|
||||||
|
> .wall {
|
||||||
|
position: fixed !important;
|
||||||
|
width: 100vw !important;
|
||||||
|
height: 100vh !important;
|
||||||
|
top: 0 !important;
|
||||||
|
left: 0 !important;
|
||||||
|
background:
|
||||||
|
repeating-linear-gradient(
|
||||||
|
90deg,
|
||||||
|
#2a2a2a 0px,
|
||||||
|
#2a2a2a 100px,
|
||||||
|
#252525 100px,
|
||||||
|
#252525 101px
|
||||||
|
),
|
||||||
|
linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%) !important;
|
||||||
|
|
||||||
|
&::before,
|
||||||
|
&::after {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> .desk {
|
||||||
|
position: absolute;
|
||||||
|
top: 50vh;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
min-height: calc(100% - 50vh);
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-lavalamp {
|
||||||
|
width: 190px;
|
||||||
|
height: 340px;
|
||||||
|
position: absolute;
|
||||||
|
right: 10%;
|
||||||
|
bottom: 20%;
|
||||||
|
z-index: 5;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
// Add a drop shadow under the lava lamp
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 220px;
|
||||||
|
height: 50px;
|
||||||
|
background: rgba(0, 0, 0, 0.6);
|
||||||
|
border-radius: 50%;
|
||||||
|
bottom: -20px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
filter: blur(8px);
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media-down(lg) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-header {
|
||||||
|
width: 400px;
|
||||||
|
margin: auto;
|
||||||
|
margin-top: 2rem;
|
||||||
|
transform: rotate(-3deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Override wall styling with /now page grid pattern
|
||||||
|
|
||||||
|
.buttons-page {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 auto;
|
||||||
|
z-index: 10;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
header {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
perspective: 2000px;
|
||||||
|
margin: 4rem 0;
|
||||||
|
margin-top: 10%;
|
||||||
|
margin-bottom: 0;
|
||||||
|
min-height: 570px;
|
||||||
|
padding: 2rem;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 810px;
|
||||||
|
height: 50px;
|
||||||
|
background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
|
||||||
|
border-radius: 0 0 15px 15px;
|
||||||
|
box-shadow:
|
||||||
|
0 10px 30px rgba(0, 0, 0, 0.5),
|
||||||
|
inset 0 1px 2px rgba(255, 255, 255, 0.05);
|
||||||
|
z-index: 1;
|
||||||
|
bottom: 0;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%) translateZ(-30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 770px;
|
||||||
|
height: 30px;
|
||||||
|
bottom: 10px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%) translateZ(0px);
|
||||||
|
background:
|
||||||
|
repeating-linear-gradient(
|
||||||
|
90deg,
|
||||||
|
#2a2a2a 0,
|
||||||
|
#2a2a2a 12px,
|
||||||
|
#1a1a1a 12px,
|
||||||
|
#1a1a1a 16px
|
||||||
|
),
|
||||||
|
repeating-linear-gradient(
|
||||||
|
0deg,
|
||||||
|
#2a2a2a 0,
|
||||||
|
#2a2a2a 8px,
|
||||||
|
#1a1a1a 8px,
|
||||||
|
#1a1a1a 12px
|
||||||
|
);
|
||||||
|
border-radius: 5px;
|
||||||
|
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.8);
|
||||||
|
z-index: 1;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-lid {
|
||||||
|
position: relative;
|
||||||
|
width: 800px;
|
||||||
|
height: 480px;
|
||||||
|
background: linear-gradient(135deg, #d4d4d4 0%, #c0c0c0 40%, #b0b0b0 100%);
|
||||||
|
border-radius: 20px 20px 0 0;
|
||||||
|
box-shadow:
|
||||||
|
0 40px 100px rgba(0, 0, 0, 0.4),
|
||||||
|
inset 0 1px 2px rgba(255, 255, 255, 0.5),
|
||||||
|
inset 0 -3px 8px rgba(0, 0, 0, 0.08);
|
||||||
|
transform: rotateX(25deg) translateZ(20px);
|
||||||
|
transform-style: preserve-3d;
|
||||||
|
transform-origin: bottom center;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
border: 3px solid #909090;
|
||||||
|
border-bottom: 8px solid #707070;
|
||||||
|
z-index: 10;
|
||||||
|
padding: 20px;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
// Logo face
|
||||||
|
&::after {
|
||||||
|
content: "(•ᴗ•)";
|
||||||
|
position: absolute;
|
||||||
|
background: linear-gradient(135deg, #d4d4d4 0%, #c0c0c0 40%, #b0b0b0 100%);
|
||||||
|
// clip the background to the text
|
||||||
|
background-clip: text;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 3rem;
|
||||||
|
top: 22%;
|
||||||
|
left: 25px;
|
||||||
|
transform: translateY(-50%) rotate(-45deg);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Animated heart
|
||||||
|
&::before {
|
||||||
|
content: "❤";
|
||||||
|
position: absolute;
|
||||||
|
font-size: 2.5rem;
|
||||||
|
color: #ff0000;
|
||||||
|
font-size: 3rem;
|
||||||
|
top: 11%;
|
||||||
|
left: 122px;
|
||||||
|
transform: translateY(-50%) rotate(-45deg);
|
||||||
|
pointer-events: none;
|
||||||
|
animation: heart-flash 3s ease-in-out infinite;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Bezel/display frame
|
||||||
|
.laptop-lid-bezel {
|
||||||
|
position: absolute;
|
||||||
|
inset: 15px;
|
||||||
|
border: 12px solid #1a1a1a;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #0a0a0a;
|
||||||
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotateX(0deg) translateZ(0px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-sticker {
|
||||||
|
position: absolute;
|
||||||
|
left: var(--x, 20px);
|
||||||
|
top: var(--y, 20px);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 88px;
|
||||||
|
height: 31px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 2px;
|
||||||
|
background: transparent;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||||
|
transform-style: preserve-3d;
|
||||||
|
transform: rotate(var(--rotation, 0deg)) scale(0.9);
|
||||||
|
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
display: block;
|
||||||
|
pointer-events: none;
|
||||||
|
border-radius: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotate(0deg) scale(1.2);
|
||||||
|
z-index: 100;
|
||||||
|
filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35));
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
outline: 2px solid #4a90e2;
|
||||||
|
outline-offset: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus:not(:focus-visible) {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-content {
|
||||||
|
max-width: 800px;
|
||||||
|
margin: 4rem auto 0;
|
||||||
|
margin-top: 0;
|
||||||
|
padding: 2rem;
|
||||||
|
perspective: 1000px;
|
||||||
|
|
||||||
|
// Show as a grid with 2 colums
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 2rem;
|
||||||
|
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.5em;
|
||||||
|
|
||||||
|
.link-me-buttons {
|
||||||
|
margin: auto;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
gap: 0.5em;
|
||||||
|
|
||||||
|
> img {
|
||||||
|
// Apply a random rotation
|
||||||
|
transform: rotate(var(--rotation, 0deg));
|
||||||
|
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
|
||||||
|
border: 4px solid white;
|
||||||
|
border-radius: 2px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotateY(-10deg) scale(1.2);
|
||||||
|
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
|
||||||
|
border: 4px solid transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-paper {
|
||||||
|
position: relative;
|
||||||
|
// Paper-like background
|
||||||
|
background: #d7d9cf;
|
||||||
|
padding: 0.5em;
|
||||||
|
padding-top: 1.6em;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow:
|
||||||
|
0 4px 12px rgba(0, 0, 0, 0.1),
|
||||||
|
0 1px 3px rgba(0, 0, 0, 0.08),
|
||||||
|
0 10px 30px rgba(0, 0, 0, 0.5);
|
||||||
|
border: 1px solid #e0e0e0;
|
||||||
|
// Lined background - matches the 1.6 line-height of paragraphs with 1.5em font-size = 2.4em
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
#d1d4cc 0%,
|
||||||
|
#d1d4cc 97%,
|
||||||
|
#5c6f90 97%,
|
||||||
|
#5c6f90 100%
|
||||||
|
);
|
||||||
|
background-size: 100% 1.6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Target the parent div that contains the image
|
||||||
|
> div {
|
||||||
|
transform: rotateX(25deg) translateZ(20px);
|
||||||
|
transform-style: preserve-3d;
|
||||||
|
transform-origin: bottom center;
|
||||||
|
@include enhance-3d-transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-img-container {
|
||||||
|
width: 80%;
|
||||||
|
margin: auto;
|
||||||
|
background-color: #fdfaf5;
|
||||||
|
padding: 0.5em;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
transform: rotate(-2deg);
|
||||||
|
box-shadow:
|
||||||
|
0 0 1px rgba(255, 255, 255, 0.5),
|
||||||
|
inset 0 0 0 1px rgba(255, 255, 255, 0.8),
|
||||||
|
0 10px 30px rgba(0, 0, 0, 0.2),
|
||||||
|
0 10px 30px rgba(0, 0, 0, 0.7);
|
||||||
|
@include enhance-3d-transform;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
aspect-ratio: 1;
|
||||||
|
object-fit: cover;
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
// Vintage Polaroid filter effects
|
||||||
|
filter: contrast(1.3) saturate(0.65) brightness(1.05) sepia(0.3);
|
||||||
|
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
text-align: center;
|
||||||
|
transform: rotate(-3deg);
|
||||||
|
padding-top: 1em;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 1.6em;
|
||||||
|
line-height: 1.6em;
|
||||||
|
color: #2f2f2f;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Responsive adjustments
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
.buttons-container {
|
||||||
|
> .desk {
|
||||||
|
top: 20vh;
|
||||||
|
height: 120vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container {
|
||||||
|
min-height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::before {
|
||||||
|
width: 600px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::after {
|
||||||
|
width: 570px;
|
||||||
|
height: 24px;
|
||||||
|
bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-lid {
|
||||||
|
width: 600px;
|
||||||
|
height: 375px;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
left: 35px;
|
||||||
|
top: 30px;
|
||||||
|
transform: none;
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-sticker {
|
||||||
|
width: 66px;
|
||||||
|
height: 23px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotateX(-25deg) rotate(0deg) scale(1.3) translateZ(30px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttons-content {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
|
||||||
|
img {
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.blog-img-container {
|
||||||
|
max-width: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.buttons-page {
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
|
header {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.buttons-content {
|
||||||
|
perspective: none;
|
||||||
|
.link-me-buttons {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container {
|
||||||
|
perspective: 800px;
|
||||||
|
min-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-container::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-lid {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 400px;
|
||||||
|
height: 250px;
|
||||||
|
transform: rotateX(0) translateZ(0);
|
||||||
|
border-width: 1px;
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
left: 25px;
|
||||||
|
top: 20px;
|
||||||
|
transform: none;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.laptop-lid-bezel {
|
||||||
|
inset: 6px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-sticker {
|
||||||
|
width: 44px;
|
||||||
|
height: 15px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
transform: rotateX(-25deg) rotate(0deg) scale(1.3) translateZ(30px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -188,9 +188,27 @@
|
||||||
|
|
||||||
.nav-floppy {
|
.nav-floppy {
|
||||||
width: 44%;
|
width: 44%;
|
||||||
|
max-width: 100px;
|
||||||
transform: rotate(5deg);
|
transform: rotate(5deg);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
&.top {
|
||||||
|
transform: rotate(-5deg);
|
||||||
|
left: -20px;
|
||||||
|
|
||||||
|
.nav-floppy-text {
|
||||||
|
transform: rotate(7deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.bottom {
|
||||||
|
left: 20px;
|
||||||
|
|
||||||
|
.nav-floppy-text {
|
||||||
|
transform: rotate(-7deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.nav-floppy-text {
|
.nav-floppy-text {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
@import "normalize";
|
@import "normalize";
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
@import "animations";
|
@import "animations";
|
||||||
|
@import "handwritten";
|
||||||
|
|
||||||
@import "partials/global-styles";
|
@import "partials/global-styles";
|
||||||
@import "partials/form-controls";
|
@import "partials/form-controls";
|
||||||
|
|
@ -30,6 +31,7 @@
|
||||||
@import "pages/button-generator";
|
@import "pages/button-generator";
|
||||||
@import "pages/lavalamp-adoptable";
|
@import "pages/lavalamp-adoptable";
|
||||||
@import "pages/guestbook";
|
@import "pages/guestbook";
|
||||||
|
@import "pages/buttons";
|
||||||
|
|
||||||
@import url(https://fonts.bunny.net/css?family=abel:400|barlow-condensed:400,500|caveat:400|lato:300,300i,400,400i|neonderthaw:400);
|
@import url(https://fonts.bunny.net/css?family=abel:400|barlow-condensed:400,500|caveat:400|lato:300,300i,400,400i|neonderthaw:400);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ draft: false
|
||||||
- 🌐 I setup a dedicated server for this site and migrated off neocities, I am coming up with a plan on how to make sure updates keep getting posted there but redirect here.
|
- 🌐 I setup a dedicated server for this site and migrated off neocities, I am coming up with a plan on how to make sure updates keep getting posted there but redirect here.
|
||||||
- 📺 There's been a bunch of Taskmaster recently, including Champion of Champions which was good. Traitors is back on so we're up to date on that so far.
|
- 📺 There's been a bunch of Taskmaster recently, including Champion of Champions which was good. Traitors is back on so we're up to date on that so far.
|
||||||
|
|
||||||
{{< img src="thinkpad_t480s.jpg" alt="Thinkpad T480s complete with stickerbomb" width="900x" >}}
|
{{< img src="images/misc/thinkpad_t480s.jpg" alt="Thinkpad T480s complete with stickerbomb" width="900x" >}}
|
||||||
|
|
||||||
## Links I Found Interesting
|
## Links I Found Interesting
|
||||||
|
|
||||||
|
|
|
||||||
BIN
content/buttons/32bitcafe.gif
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
content/buttons/bazzite.gif
Normal file
|
After Width: | Height: | Size: 68 KiB |
BIN
content/buttons/brennanday.gif
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
content/buttons/bsgbutton.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
content/buttons/dandadan.gif
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
content/buttons/demo1.gif
Normal file
|
After Width: | Height: | Size: 79 KiB |
BIN
content/buttons/demo2.gif
Normal file
|
After Width: | Height: | Size: 62 KiB |
BIN
content/buttons/demo3.gif
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
content/buttons/demo4.gif
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
content/buttons/drbutton2.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
content/buttons/fckgoogle.gif
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
content/buttons/getflash.gif
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
content/buttons/hasmile.gif
Normal file
|
After Width: | Height: | Size: 751 B |
BIN
content/buttons/hl.gif
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
content/buttons/htmldream.gif
Normal file
|
After Width: | Height: | Size: 714 B |
58
content/buttons/index.md
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
---
|
||||||
|
title: "Button Collection"
|
||||||
|
description: "A collection of 88x31 IndieWeb buttons collected from around the web"
|
||||||
|
layout: buttons
|
||||||
|
buttons:
|
||||||
|
- name: "32bit Cafe"
|
||||||
|
url: "https://32bit.cafe/"
|
||||||
|
image: "32bitcafe.gif"
|
||||||
|
- name: "Robb Knight"
|
||||||
|
url: "https://rknight.me/"
|
||||||
|
image: "robbknight.gif"
|
||||||
|
- name: "Brennan Day"
|
||||||
|
url: "https://brennan.day/"
|
||||||
|
image: "brennanday.gif"
|
||||||
|
- name: "Bazzite"
|
||||||
|
url: "https://bazzite.gg/"
|
||||||
|
image: "bazzite.gif"
|
||||||
|
- name: "Battlestar Galactica"
|
||||||
|
image: "bsgbutton.png"
|
||||||
|
- name: "Divergent Rays"
|
||||||
|
url: "https://divergentrays.com"
|
||||||
|
image: "drbutton2.png"
|
||||||
|
- name: "I dream in HTML"
|
||||||
|
image: "htmldream.gif"
|
||||||
|
- name: "DANDADAN"
|
||||||
|
url: "https://dandadan.i-heart-you.net/"
|
||||||
|
image: "dandadan.gif"
|
||||||
|
- name: "Get Flash"
|
||||||
|
image: "getflash.gif"
|
||||||
|
- name: "Minecraft"
|
||||||
|
image: "minecraft.gif"
|
||||||
|
- name: "Ubuntu"
|
||||||
|
image: "ubuntu.gif"
|
||||||
|
- name: "Under Construction"
|
||||||
|
image: "undercon.gif"
|
||||||
|
- name: "Linux Online"
|
||||||
|
image: "linuxonline.gif"
|
||||||
|
- name: "Half Life"
|
||||||
|
image: "hl.gif"
|
||||||
|
- name: "Smile"
|
||||||
|
image: "hasmile.gif"
|
||||||
|
- name: "Jigglypuff"
|
||||||
|
image: "jigglypuff.gif"
|
||||||
|
- name: "Fuck Google"
|
||||||
|
image: "fckgoogle.gif"
|
||||||
|
- name: "Ritual.sh"
|
||||||
|
image: "ritual_1.gif"
|
||||||
|
- name: "Ritual.sh"
|
||||||
|
image: "ritual_2.gif"
|
||||||
|
- name: "Ritual.sh"
|
||||||
|
image: "ritual_4.gif"
|
||||||
|
---
|
||||||
|
|
||||||
|
Here are a bunch of ~stickers~ buttons that I've collected on my travels around the IndieWeb.
|
||||||
|
|
||||||
|
If you want to appear on my laptop, leave me a message on my [guestbook](/guestbook) and I will add you!
|
||||||
|
|
||||||
|
Here are some ~stickers~ buttons... feel free to take one!
|
||||||
BIN
content/buttons/jigglypuff.gif
Normal file
|
After Width: | Height: | Size: 455 B |
BIN
content/buttons/linuxonline.gif
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
content/buttons/minecraft.gif
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
content/buttons/ritual_1.gif
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
content/buttons/ritual_2.gif
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
content/buttons/ritual_3.gif
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
content/buttons/ritual_4.gif
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
content/buttons/robbknight.gif
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
content/buttons/ubuntu.gif
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
content/buttons/undercon.gif
Normal file
|
After Width: | Height: | Size: 4 KiB |
|
|
@ -1,8 +1,6 @@
|
||||||
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
|
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} {{ define
|
||||||
{{ define "main" }}
|
"main" }}
|
||||||
<article>
|
<article>
|
||||||
<h1>
|
<h1>This is not the page you were looking for</h1>
|
||||||
This is not the page you were looking for
|
|
||||||
</h1>
|
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
@ -52,5 +52,11 @@
|
||||||
{{ $guestbook := resources.Get "js/guestbook.js" | resources.Minify | resources.Fingerprint }}
|
{{ $guestbook := resources.Get "js/guestbook.js" | resources.Minify | resources.Fingerprint }}
|
||||||
<script src="{{ $guestbook.RelPermalink }}" integrity="{{ $guestbook.Data.Integrity }}"></script>
|
<script src="{{ $guestbook.RelPermalink }}" integrity="{{ $guestbook.Data.Integrity }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Buttons - only load on buttons page -->
|
||||||
|
{{ if eq .Type "buttons" }}
|
||||||
|
{{ $buttons := resources.Get "js/buttons.js" | resources.Minify | resources.Fingerprint }}
|
||||||
|
<script src="{{ $buttons.RelPermalink }}" integrity="{{ $buttons.Data.Integrity }}"></script>
|
||||||
|
{{ end }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
52
layouts/buttons/single.html
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<div class="buttons-container">
|
||||||
|
<div class="wall"></div>
|
||||||
|
<div class="desk"></div>
|
||||||
|
|
||||||
|
<div class="buttons-window hidden-lg-down">
|
||||||
|
{{ partial "elements/window.html" . }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<article class="buttons-page">
|
||||||
|
<header>
|
||||||
|
<div class="buttons-header">
|
||||||
|
{{ partial "elements/lcd-screen.html" (dict "text" .Title "placeholder"
|
||||||
|
"") }}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="laptop-container">
|
||||||
|
<div class="laptop-lid" id="laptop-lid">
|
||||||
|
<div class="laptop-lid-bezel"></div>
|
||||||
|
{{ range .Params.buttons }}
|
||||||
|
<a
|
||||||
|
href="{{ .url }}"
|
||||||
|
class="button-sticker"
|
||||||
|
title="{{ .name }}"
|
||||||
|
data-name="{{ .name }}"
|
||||||
|
>
|
||||||
|
<img src="{{ .Page.File.Dir }}{{ .image }}" alt="{{ .name }}" />
|
||||||
|
</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<section class="buttons-content handwritten-wrap">
|
||||||
|
<div class="buttons-paper">
|
||||||
|
{{ .Content }}
|
||||||
|
<div class="link-me-buttons">
|
||||||
|
<img src="ritual_1.gif" style="--rotation: 3deg" />
|
||||||
|
<img src="ritual_2.gif" style="--rotation: -2deg" />
|
||||||
|
<img src="ritual_3.gif" style="--rotation: 1deg" />
|
||||||
|
<img src="ritual_4.gif" style="--rotation: 2deg" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<!-- prettier-ignore -->
|
||||||
|
{{ partial "responsive-image.html" (dict "src"
|
||||||
|
"images/misc/thinkpad_t480s.jpg" "alt" "My Thinkpad T480s with stickerbomb" "width" "900x" "page" .) }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
@ -265,7 +265,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="nav-floppy">
|
<div class="nav-floppy top">
|
||||||
<a href="/guestbook/">
|
<a href="/guestbook/">
|
||||||
{{ partial "elements/floppy.html" (dict "title" "Guestbook" "lines"
|
{{ partial "elements/floppy.html" (dict "title" "Guestbook" "lines"
|
||||||
(slice "" "" "DO NOT DELETE" "" "") "bgColor" "#1a4d8f" "bgColorDark"
|
(slice "" "" "DO NOT DELETE" "" "") "bgColor" "#1a4d8f" "bgColorDark"
|
||||||
|
|
@ -273,6 +273,14 @@
|
||||||
<div class="nav-floppy-text">Guestbook</div>
|
<div class="nav-floppy-text">Guestbook</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="nav-floppy bottom">
|
||||||
|
<a href="/buttons/">
|
||||||
|
{{ partial "elements/floppy.html" (dict "title" "Buttons" "lines" (slice
|
||||||
|
"" "" "NOT STICKERS" "" "") "bgColor" "#85112e" "bgColorDark" "#660a21")
|
||||||
|
}}
|
||||||
|
<div class="nav-floppy-text">Buttons & Links</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>{{ partial "elements/crt-tv.html" . }}</div>
|
<div>{{ partial "elements/crt-tv.html" . }}</div>
|
||||||
|
|
|
||||||
21
layouts/partials/responsive-image.html
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!-- prettier-ignore -->
|
||||||
|
{{ $src := .src }}
|
||||||
|
{{ $alt := .alt | default "" }}
|
||||||
|
{{ $width := .width | default "800x" }}
|
||||||
|
|
||||||
|
<figure class="blog-img-container">
|
||||||
|
{{ with .page.Resources.GetMatch $src }}
|
||||||
|
{{ $resized := .Resize $width }}
|
||||||
|
<img src="{{ $resized.RelPermalink }}" alt="{{ $alt }}" loading="lazy" class="blog-img" />
|
||||||
|
{{ else }}
|
||||||
|
{{ with resources.Get $src }}
|
||||||
|
{{ $resized := .Resize $width }}
|
||||||
|
<img src="{{ $resized.RelPermalink }}" alt="{{ $alt }}" loading="lazy" class="blog-img" />
|
||||||
|
{{ else }}
|
||||||
|
<img src="{{ $src }}" alt="{{ $alt }}" loading="lazy" class="blog-img" />
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if $alt }}
|
||||||
|
<figcaption class="blog-img-caption">{{ $alt }}</figcaption>
|
||||||
|
{{ end }}
|
||||||
|
</figure>
|
||||||
|
|
@ -4,9 +4,7 @@
|
||||||
|
|
||||||
•
|
•
|
||||||
|
|
||||||
<a href="https://neocities.org/site/ritualsh" target="_blank"
|
<a href="/guestbook">Sign My Guestbook</a>
|
||||||
>Follow on Neocities</a
|
|
||||||
>
|
|
||||||
|
|
||||||
•
|
•
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1 @@
|
||||||
<!-- prettier-ignore -->
|
{{ partial "responsive-image.html" (dict "src" (.Get "src") "alt" (.Get "alt") "width" (.Get "width") "page" .Page) }}
|
||||||
{{ $src := .Get "src" }}
|
|
||||||
{{ $alt := .Get "alt" | default "" }}
|
|
||||||
{{ $width := .Get "width" | default "800x" }}
|
|
||||||
|
|
||||||
<figure class="blog-img-container">
|
|
||||||
{{ with .Page.Resources.GetMatch $src }}
|
|
||||||
{{ $resized := .Resize $width }}
|
|
||||||
<img src="{{ $resized.RelPermalink }}" alt="{{ $alt }}" loading="lazy" class="blog-img" />
|
|
||||||
{{ else }}
|
|
||||||
<img src="{{ $src }}" alt="{{ $alt }}" loading="lazy" class="blog-img" />
|
|
||||||
{{ end }}
|
|
||||||
{{ if $alt }}
|
|
||||||
<figcaption class="blog-img-caption">{{ $alt }}</figcaption>
|
|
||||||
{{ end }}
|
|
||||||
</figure>
|
|
||||||
|
|
|
||||||