Skip to content

Instantly share code, notes, and snippets.

@jubilancy
Last active April 15, 2026 18:49
Show Gist options
  • Select an option

  • Save jubilancy/0fb5ca22245d17fcf30c4168d1e98516 to your computer and use it in GitHub Desktop.

Select an option

Save jubilancy/0fb5ca22245d17fcf30c4168d1e98516 to your computer and use it in GitHub Desktop.
@import url("https://fonts.googleapis.com/css2?family=Cutive+Mono&display=swap");
/* ============================
1. VARIABLES & RESET
============================ */
:root {
--width: 900px;
--font-main: "Cutive Mono", monospace;
--background-color: #1b2c45;
--heading-color: #ffffff;
--text-color: #ffffff;
--link-color: #ffc300;
--hover-color: #d9c8f3;
--accent-purple: #dab2ff;
--delete-red: #dc3545;
--cursor: url(https://cur.cursors-4u.net/nature/nat-10/nat996.cur), auto !important;
}
* {
box-sizing: border-box;
}
body {
font-family: var(--font-main);
font-size: 15px;
line-height: 1.6;
margin: 0 auto;
padding: 20px;
max-width: var(--width);
background-color: var(--background-color);
color: var(--text-color);
cursor: var(--cursor);
word-wrap: break-word;
}
/* ============================
2. NAVIGATION & HEADER
============================ */
header {
text-align: center;
margin-bottom: 40px;
}
.brand a {
font-size: 2em;
color: var(--heading-color);
text-decoration: none;
font-weight: bold;
}
nav ul {
display: flex;
justify-content: center;
gap: 20px;
list-style: none;
padding: 0;
margin: 10px 0;
}
nav a {
color: var(--link-color);
text-decoration: none;
transition: all 0.3s ease;
}
nav a:hover {
color: var(--hover-color);
text-decoration: underline;
transform: scale(1.05);
}
.nav-gif {
display: block;
margin: 20px auto;
max-width: 300px;
height: auto;
}
/* ============================
3. CONTENT & TYPOGRAPHY
============================ */
h1, h2, h3, h4 {
color: var(--heading-color);
margin-top: 1.5em;
}
strong, b {
color: var(--accent-purple);
}
blockquote {
border-left: 3px solid var(--link-color);
padding-left: 20px;
margin: 20px 0;
font-style: italic;
color: #ccc;
}
pre {
white-space: pre-wrap;
background: rgba(255, 255, 255, 0.05);
padding: 15px;
border-radius: 4px;
}
/* ============================
4. ADMIN / CMS STYLES
============================ */
.admin-container {
margin-top: 50px;
}
.cms-form {
display: grid;
grid-template-columns: 1fr 250px;
gap: 20px;
align-items: start;
}
@media (max-width: 768px) {
.cms-form { grid-template-columns: 1fr; }
}
.form-sidebar {
display: flex;
flex-direction: column;
gap: 10px;
}
textarea {
width: 100%;
min-height: 400px;
padding: 15px;
background: #fff;
color: #000;
border-radius: 4px;
font-family: "JetBrains Mono", monospace;
}
input[type="text"], input[type="password"] {
padding: 12px;
border: none;
border-radius: 4px;
}
.btn-publish {
background: var(--link-color);
color: #000;
border: none;
padding: 12px;
font-weight: bold;
cursor: var(--cursor);
}
.btn-delete {
background: var(--delete-red);
color: white;
border: none;
padding: 10px;
border-radius: 4px;
cursor: var(--cursor);
}
/* ============================
5. FOOTER
============================ */
footer {
margin-top: 80px;
padding: 40px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.footer-container ul {
display: flex;
justify-content: center;
gap: 20px;
list-style: none;
padding: 0;
}
footer a {
color: var(--hover-color);
font-size: 0.9em;
}
/* ============================
6. MISC / UTILITIES
============================ */
.buttons-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin: 20px 0;
}
.button-img {
height: 45px;
transition: transform 0.2s;
}
.button-img:hover {
transform: translateY(-5px);
}
.divider {
margin: 40px 0;
border: 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment