MediaWiki:Common.css: Difference between revisions

From Exploitee.rs

Created page with "CSS placed here will be applied to all skins: Responsive IoT Device Grid: .responsive-iot-grid { width: 100%; max-width: 1200px; margin: 0 auto; } .iot-category { margin-bottom: 2rem; background: #f8f9fa; border: 1px solid #a2a9b1; border-radius: 8px; padding: 1rem; } .iot-category h3 { margin: 0 0 1rem 0; padding: 0.5rem 1rem; background: #eaecf0; border-radius: 4px; font-size: 1.2em; font-weight: bold..."
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Modern Exploitee.rs Header */
.exploitee-header-modern {
    border: 1px solid #000000;
    margin: 15px 0 10px 0;
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.header-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.header-links-modern {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.link-group {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}
.link-group:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}
.header-links-modern a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.header-links-modern a:hover {
    text-decoration: underline;
}
/* Mobile responsive for modern version */
@media (max-width: 768px) {
    .header-links-modern {
        flex-direction: column;
        gap: 15px;
    }
   
    .link-group {
        padding: 10px 15px;
    }
}


/* Responsive IoT Device Grid */
/* Responsive IoT Device Grid */

Revision as of 08:53, 4 August 2025

/* CSS placed here will be applied to all skins */

/* Modern Exploitee.rs Header */
.exploitee-header-modern {
    border: 1px solid #000000;
    margin: 15px 0 10px 0;
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-links-modern {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.link-group {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.link-group:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}

.header-links-modern a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.header-links-modern a:hover {
    text-decoration: underline;
}

/* Mobile responsive for modern version */
@media (max-width: 768px) {
    .header-links-modern {
        flex-direction: column;
        gap: 15px;
    }
    
    .link-group {
        padding: 10px 15px;
    }
}

/* Responsive IoT Device Grid */
.responsive-iot-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.iot-category {
    margin-bottom: 2rem;
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    padding: 1rem;
}

.iot-category h3 {
    margin: 0 0 1rem 0;
    padding: 0.5rem 1rem;
    background: #eaecf0;
    border-radius: 4px;
    font-size: 1.2em;
    font-weight: bold;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.device-item {
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.device-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.device-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.device-item ul {
    text-align: left;
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .device-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .iot-category {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .device-item {
        padding: 0.75rem;
    }
    
    .iot-category h3 {
        font-size: 1.1em;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .responsive-iot-grid {
        padding: 0 0.5rem;
    }
    
    .device-grid {
        grid-template-columns: 1fr;
    }
    
    .iot-category {
        padding: 0.5rem;
    }
    
    .device-item {
        padding: 0.5rem;
    }
}

/* Ensure images are responsive */
.device-item .thumbinner,
.device-item .thumb {
    width: 100% !important;
    max-width: 150px;
}

.device-item .thumbimage {
    max-width: 100% !important;
    height: auto !important;
}