MediaWiki:Common.css: Difference between revisions
From Exploitee.rs
No edit summary |
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 */ | /* Modern Exploitee.rs Header - Black/Red/White Theme */ | ||
.exploitee-header-modern { | .exploitee-header-modern { | ||
border: | border: 2px solid #000000; | ||
margin: 15px 0 10px 0; | margin: 15px 0 10px 0; | ||
padding: 25px; | padding: 25px; | ||
text-align: center; | text-align: center; | ||
background: linear-gradient(135deg, # | background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%); | ||
color: white; | color: white; | ||
border-radius: 12px; | border-radius: 12px; | ||
box-shadow: 0 4px 15px rgba(0,0,0,0. | box-shadow: 0 4px 15px rgba(0,0,0,0.3); | ||
} | } | ||
| Line 17: | Line 17: | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
text-shadow: 2px 2px 4px rgba( | color: #ffffff; | ||
text-shadow: 2px 2px 4px rgba(255,0,0,0.3); | |||
} | } | ||
| Line 28: | Line 29: | ||
.link-group { | .link-group { | ||
background: rgba(255,255,255,0. | background: rgba(255,255,255,0.05); | ||
border: 1px solid #333333; | |||
padding: 12px 20px; | padding: 12px 20px; | ||
border-radius: 8px; | border-radius: 8px; | ||
transition: all 0.2s ease; | |||
transition: | |||
} | } | ||
.link-group:hover { | .link-group:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
background: rgba(255,255, | background: rgba(255,0,0,0.1); | ||
border-color: #cc0000; | |||
box-shadow: 0 2px 8px rgba(255,0,0,0.2); | |||
} | } | ||
.header-links-modern a { | .header-links-modern a { | ||
color: | color: #ffffff; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: bold; | font-weight: bold; | ||
transition: color 0.2s ease; | |||
} | } | ||
.header-links-modern a:hover { | .header-links-modern a:hover { | ||
color: #ff4444; | |||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
Revision as of 08:54, 4 August 2025
/* CSS placed here will be applied to all skins */
/* Modern Exploitee.rs Header - Black/Red/White Theme */
.exploitee-header-modern {
border: 2px solid #000000;
margin: 15px 0 10px 0;
padding: 25px;
text-align: center;
background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
color: white;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.header-title {
font-size: 2.5em;
font-weight: bold;
margin-bottom: 20px;
color: #ffffff;
text-shadow: 2px 2px 4px rgba(255,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.05);
border: 1px solid #333333;
padding: 12px 20px;
border-radius: 8px;
transition: all 0.2s ease;
}
.link-group:hover {
transform: translateY(-2px);
background: rgba(255,0,0,0.1);
border-color: #cc0000;
box-shadow: 0 2px 8px rgba(255,0,0,0.2);
}
.header-links-modern a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
transition: color 0.2s ease;
}
.header-links-modern a:hover {
color: #ff4444;
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;
}