MediaWiki:Common.css

From Exploitee.rs

Revision as of 01:58, 5 August 2025 by Zenofex (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Light Header to Match Wiki Theme */
.exploitee-header-light {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    padding: 25px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.exploitee-header-light .header-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.header-card {
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 200px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #0066cc;
}

.header-card a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.header-card a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Exploitee.rs Header Styling - Alternative Simple Version */
.exploitee-header {
    border: 1px solid #a2a9b1;
    color: #000;
    margin: 15px 0 10px 0;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.header-links {
    font-size: 1.1em;
    line-height: 1.6;
}

.header-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.header-links a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Community Section Styling - Light Theme to Match Wiki */
.community-section-light {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    color: #2c3e50;
}

.community-section-light .community-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.community-section-light .community-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-section-light .community-item {
    padding: 12px 15px;
    background: white;
    border: 1px solid #a2a9b1;
    border-radius: 6px;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.community-section-light .community-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    border-color: #0066cc;
    transform: translateX(5px);
}

.community-section-light .community-item a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.community-section-light .community-item a:hover {
    color: #004499;
    text-decoration: underline;
}

/* Community Section Styling - Dark Theme (Keep for Reference) */
.community-section {
    background: #1a1a1a;
    border: 2px solid #000000;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    color: white;
}

.community-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.community-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-item {
    padding: 10px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333333;
    border-radius: 6px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.community-item:hover {
    background: rgba(255,0,0,0.1);
    border-color: #cc0000;
    transform: translateX(5px);
}

.community-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.community-item a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* Modern Community Section Alternative */
.community-section-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid #000000;
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
    color: white;
}

.community-title-modern {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255,0,0,0.3);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.community-card {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s ease;
}

.community-card:hover {
    background: rgba(255,0,0,0.1);
    border-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,0,0,0.2);
}

.community-icon {
    font-size: 1.5em;
    margin-right: 12px;
    min-width: 40px;
}

.community-text {
    flex: 1;
    line-height: 1.4;
}

.community-text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.community-text a:hover {
    color: #ff4444;
    text-decoration: underline;
}
/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .exploitee-header, .exploitee-header-light {
        padding: 15px;
        margin: 10px 5px;
    }
    
    .header-title {
        font-size: 2em;
        margin-bottom: 12px;
    }
    
    .header-links {
        font-size: 1em;
    }
    
    .header-links-cards {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-card {
        min-width: auto;
        padding: 12px 15px;
    }
    
    .community-section, .community-section-modern, .community-section-light {
        padding: 15px;
        margin: 10px 5px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .community-card {
        padding: 12px;
    }
    
    .community-icon {
        font-size: 1.3em;
        margin-right: 10px;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .exploitee-header, .exploitee-header-light {
        padding: 12px;
    }
    
    .header-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .header-links {
        font-size: 0.9em;
    }
    
    .header-card {
        padding: 10px 12px;
    }
    
    .community-section, .community-section-modern, .community-section-light {
        padding: 12px;
    }
    
    .community-card {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
    
    .community-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

/* Responsive IoT Device Grid */
.responsive-iot-grid {
    width: 100%;
    max-width: 100%;
    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 {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.device-item ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.device-item ul li::before {
    content: '•';
    color: #333;
    font-size: 1.2em;
    line-height: 1;
}

/* 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;
}