Skip to content

Instantly share code, notes, and snippets.

@msbukkuri
Created April 27, 2025 21:44
Show Gist options
  • Save msbukkuri/c6e3263eab673668692b4157421a20ff to your computer and use it in GitHub Desktop.
Save msbukkuri/c6e3263eab673668692b4157421a20ff to your computer and use it in GitHub Desktop.
/* Import Google Font: Quicksand */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&display=swap');
/* Base Layout
body {
font-family: 'Quicksand', 'Helvetica Neue', sans-serif;
background: url('https://images.unsplash.com/photo-1597362925519-b01b65ac3445?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
background-blend-mode: lighten;
background-color: #fffaf5;
color: #333;
line-height: 1.7;
padding: 1rem;
}*/
body{
/* Base Layout */
body {
font-family: 'Quicksand', 'Helvetica Neue', sans-serif;
/* --- Background Options --- */
/* Option 1: Fireworks background */
/* background: url('https://images.unsplash.com/photo-1597362925519-b01b65ac3445?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80') no-repeat center center fixed; */
/* Option 2: Night sky with stars */
background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
background-blend-mode: lighten;
background-color: #fffaf5;
color: #333;
line-height: 1.7;
padding: 1rem;
}
}
/* Slight transparent page background */
.page {
background: rgba(255, 255, 255, 0.85);
padding: 2rem;
border-radius: 12px;
max-width: 750px;
margin: 2rem auto;
}
/* Header Styling */
h1, h2, h3, h4, h5, h6 {
color: #f97316; /* Soft orange - Yoimiya fire color */
font-weight: 700;
position: relative;
}
/* Link Styling */
a {
color: #2563eb; /* Calm blue links */
text-decoration: none;
border-bottom: 1px dashed #2563eb;
position: relative;
}
a:hover {
color: #f43f5e; /* Rose pink on hover */
border-bottom: 1px solid #f43f5e;
}
/* Quote Block Styling */
blockquote {
border-left: 4px solid #f59e0b;
background: #fff7ed;
padding: 0.5em 1em;
color: #555;
margin: 1em 0;
font-style: italic;
}
/* Navigation */
.nav-header, .site-header {
background-color: #fef3c7;
padding: 10px;
border-bottom: 1px solid #fcd34d;
}
/* Horizontal Rule */
hr {
border: none;
height: 1px;
background: linear-gradient(to right, #f59e0b, #f43f5e);
margin: 2em 0;
}
/* Code block */
code {
background: #f3f4f6;
padding: 2px 5px;
border-radius: 4px;
}
/* Sparkle Effect on Hover */
@keyframes sparkle {
0% { transform: translateY(0) scale(1); opacity: 1; }
100% { transform: translateY(-20px) scale(0.5); opacity: 0; }
}
.sparkle::after {
content: '✨';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
animation: sparkle 0.8s forwards;
}
/* Apply Sparkle on hover to links and headings */
a:hover::after,
h1:hover::after,
h2:hover::after,
h3:hover::after {
content: '✨';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
animation: sparkle 0.8s forwards;
font-size: 1rem;
}
/* Slight fade-in animation for page */
.page {
animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* Footer Styling */
.footer {
text-align: center;
font-size: 0.9em;
color: #999;
padding: 2em 0;
}
/* Loading Animation */
html {
opacity: 0;
transition: opacity 0.8s ease-in;
}
html.ready {
opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment