help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
star-pattern-maker
RSK World
star-pattern-maker
Star Pattern Maker - HTML5 Canvas + 3D Rendering + Physics Simulation + AI Patterns + Generative Audio + Modern UI + Glassmorphism Design
star-pattern-maker
  • js
  • .gitignore87 B
  • LICENSE1.5 KB
  • README.md6.9 KB
  • index.html20.4 KB
  • script.js22.3 KB
  • style.css7.9 KB
style.css
style.css
Raw Download
Find: Go to:
/*
 * Project: Star Pattern Maker (V7 Styles)
 * Author: RSK World
 * Website: https://rskworld.in
 * Year: 2026
 */

:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #ec4899;
    --secondary-glow: rgba(236, 72, 153, 0.4);
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: blur(12px);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 20%);
    color: var(--text-main);
    min-height: 100vh;
    overflow: hidden;
    /* App feel */
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Layout Structure (V7) */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header */
.app-header {
    height: 70px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: var(--glass);
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo i {
    font-size: 1.5rem;
    color: #eab308;
    filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.5));
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.badge {
    background: var(--primary);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    -webkit-text-fill-color: white;
}

.rsk-branding {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rsk-branding a {
    color: var(--accent);
    text-decoration: none;
    margin-left: 10px;
}

/* Workspace (3-Column Grid) */
.workspace {
    flex: 1;
    display: grid;
    grid-template-columns: 320px 1fr 300px;
    /* Left, Center, Right */
    overflow: hidden;
}

/* Side Panels */
.controls-panel {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    backdrop-filter: var(--glass);
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-group h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Inputs */
.input-wrapper {
    margin-bottom: 1rem;
}

.input-wrapper label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.input-wrapper span.value {
    color: var(--accent);
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #fff;
}

input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    top: 3px;
}

input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

/* Color Pickers */
.color-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

input[type="color"] {
    appearance: none;
    background: none;
    border: none;
    width: 100%;
    height: 30px;
    cursor: pointer;
    border-radius: 6px;
    padding: 0;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* Center Preview */
.preview-area {
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

canvas {
    max-width: 95%;
    max-height: 95%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.canvas-stats {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* Gallery (Right Panel) */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #000;
    cursor: pointer;
}

.gallery-item .info {
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.5);
}

.gallery-item .delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 4px;
}

/* Vertical Actions */
.action-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.btn {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1100px) {
    .workspace {
        grid-template-columns: 300px 1fr;
    }

    .controls-panel:nth-child(3) {
        display: none;
    }

    /* Hide gallery on tablet? or stack? */
    /* Let's wrap instead */
}

@media (max-width: 800px) {
    .app-container {
        height: auto;
        display: block;
        overflow-y: auto;
    }

    .workspace {
        display: flex;
        flex-direction: column;
    }

    .preview-area {
        height: 400px;
        order: -1;
    }

    /* Preview first */
    .controls-panel {
        width: 100%;
        border: none;
        border-bottom: 1px solid var(--border);
    }
}
400 lines•7.9 KB
css

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer