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
python-pattern-generator
/
static
/
css
RSK World
python-pattern-generator
Python Number Pattern Generator - 22 Pattern Types + Fractals + Mathematical Algorithms + GUI & Web Interface + REST API + Educational Design
css
  • style.css4.6 KB
style.css
static/css/style.css
Raw Download
Find: Go to:
/* Custom styles for Python Number Pattern Generator */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    font-weight: 600;
    border-bottom: none;
}

.pattern-display {
    background: #1a1a1a;
    color: #00ff41;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    padding: 20px;
    min-height: 400px;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 0;
    overflow-x: auto;
}

.pattern-display::-webkit-scrollbar {
    height: 8px;
}

.pattern-display::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.pattern-display::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.pattern-display::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.form-select, .form-control {
    border-radius: 6px;
    border: 2px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus, .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.stats-highlight {
    background: rgba(13, 110, 253, 0.1);
    border-left: 4px solid #0d6efd;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

.alert {
    border-radius: 8px;
    border: none;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 15px;
    }

    .card-body {
        padding: 15px;
    }

    .pattern-display {
        font-size: 12px;
        padding: 15px;
    }

    .navbar-brand {
        font-size: 1rem;
    }
}

/* Animation for pattern generation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pattern-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Custom scrollbar for pattern display */
.pattern-container {
    position: relative;
}

/* Error highlighting */
.error-highlight {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
}

/* Success highlighting */
.success-highlight {
    background: rgba(25, 135, 84, 0.1);
    border-left: 4px solid #198754;
}

/* Info highlighting */
.info-highlight {
    background: rgba(13, 110, 253, 0.1);
    border-left: 4px solid #0d6efd;
}

/* Syntax highlighting for patterns */
.pattern-number {
    color: #00ff41;
}

.pattern-symbol {
    color: #ff6b6b;
}

.pattern-space {
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .card-title {
        font-size: 1rem;
    }
}

/* Custom focus styles */
.btn:focus, .form-select:focus, .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Loading animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-loading {
    animation: pulse 1s infinite;
}

/* Pattern type badges */
.pattern-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 5px;
}

.badge-basic {
    background: #6c757d;
    color: white;
}

.badge-advanced {
    background: #fd7e14;
    color: white;
}

.badge-fractal {
    background: #e83e8c;
    color: white;
}

.badge-math {
    background: #20c997;
    color: white;
}

/* Footer improvements */
footer a:hover {
    color: #0d6efd !important;
    text-decoration: none;
}

footer .fas, footer .fab {
    margin-right: 5px;
}
255 lines•4.6 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