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 */ | ||
/* | /* Light Header to Match Wiki Theme */ | ||
.exploitee-header- | .exploitee-header-light { | ||
border: | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | |||
border-radius: 8px; | |||
padding: 25px; | padding: 25px; | ||
margin: 15px 0; | |||
text-align: center; | text-align: center; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |||
box-shadow: 0 4px | |||
} | } | ||
.header-title { | .exploitee-header-light .header-title { | ||
font-size: 2.5em; | font-size: 2.5em; | ||
font-weight: bold; | font-weight: bold; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
color: # | color: #2c3e50; | ||
text-shadow: 2px | text-shadow: 1px 1px 2px rgba(0,0,0,0.1); | ||
} | } | ||
.header-links- | .header-links-cards { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
gap: | gap: 20px; | ||
flex-wrap: wrap; | 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 - Black/Red/White Theme */ | |||
.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); | background: rgba(255,255,255,0.05); | ||
border: 1px solid #333333; | border: 1px solid #333333; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 15px; | |||
transition: all 0.2s ease; | transition: all 0.2s ease; | ||
} | } | ||
. | .community-card:hover { | ||
background: rgba(255,0,0,0.1); | background: rgba(255,0,0,0.1); | ||
border-color: #cc0000; | border-color: #cc0000; | ||
box-shadow: 0 | 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; | color: #ffffff; | ||
text-decoration: none; | text-decoration: none; | ||
| Line 50: | Line 203: | ||
} | } | ||
. | .community-text a:hover { | ||
color: #ff4444; | color: #ff4444; | ||
text-decoration: underline; | 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 { | |||
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) { | |||
@media (max-width: | .exploitee-header, .exploitee-header-light { | ||
.header-links-modern { | 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 { | |||
padding: 12px; | |||
} | |||
.community-card { | |||
flex-direction: column; | flex-direction: column; | ||
text-align: center; | |||
padding: 10px; | |||
} | } | ||
. | .community-icon { | ||
margin-right: 0; | |||
margin-bottom: 8px; | |||
} | } | ||
} | } | ||
Revision as of 09:05, 4 August 2025
/* 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 - Black/Red/White Theme */
.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 {
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 {
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: 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;
}