Files
privilegedescalation.com/style.css
T
Flea Flicker f99418eab2 Build initial Privileged Escalation website
- Add responsive HTML landing page with hero section and resource cards
- Create professional CSS styling with dark theme and mobile-responsive design
- Set up GitHub Pages configuration with Jekyll _config.yml
- Add comprehensive README with project overview and setup instructions
- Configure .gitignore for Jekyll and common development files

The website serves as an educational hub for understanding privilege escalation techniques, vulnerabilities, and defense strategies. GitHub Pages is ready to serve the site immediately upon enabling in repository settings.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-21 11:24:42 +00:00

239 lines
3.7 KiB
CSS

:root {
--primary-color: #2c3e50;
--accent-color: #e74c3c;
--secondary-color: #34495e;
--light-bg: #ecf0f1;
--text-color: #2c3e50;
--border-color: #bdc3c7;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--text-color);
background-color: #ffffff;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Navigation */
.navbar {
background-color: var(--primary-color);
color: white;
padding: 1rem 0;
position: sticky;
top: 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
z-index: 100;
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-section {
display: flex;
align-items: center;
gap: 15px;
}
.logo {
height: 50px;
width: auto;
border-radius: 4px;
}
.navbar h1 {
font-size: 1.8rem;
font-weight: 700;
}
.nav-links {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-links a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
font-weight: 500;
}
.nav-links a:hover {
color: var(--accent-color);
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: white;
padding: 80px 0;
text-align: center;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
font-weight: 700;
}
.hero p {
font-size: 1.2rem;
opacity: 0.95;
}
/* Sections */
.section {
padding: 60px 0;
}
.section h2 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--primary-color);
border-bottom: 3px solid var(--accent-color);
padding-bottom: 0.5rem;
display: inline-block;
}
.section p {
font-size: 1rem;
margin-bottom: 1rem;
line-height: 1.8;
}
.section ul {
margin-left: 20px;
margin-bottom: 1.5rem;
}
.section ul li {
margin-bottom: 0.8rem;
font-size: 1rem;
}
.alternate {
background-color: var(--light-bg);
}
/* Resource Grid */
.resource-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.resource-card {
background: white;
padding: 2rem;
border-radius: 8px;
border-left: 4px solid var(--accent-color);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resource-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.resource-card h3 {
color: var(--accent-color);
margin-bottom: 0.5rem;
font-size: 1.2rem;
}
.resource-card p {
font-size: 0.95rem;
color: #555;
}
/* Footer */
footer {
background-color: var(--primary-color);
color: white;
text-align: center;
padding: 2rem 0;
margin-top: 3rem;
}
footer p {
margin-bottom: 0.5rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar .container {
flex-direction: column;
gap: 1rem;
}
.nav-links {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.hero h2 {
font-size: 1.8rem;
}
.hero p {
font-size: 1rem;
}
.section h2 {
font-size: 1.5rem;
}
.resource-grid {
grid-template-columns: 1fr;
}
.logo-section {
flex-direction: column;
text-align: center;
}
.navbar h1 {
font-size: 1.5rem;
}
}
@media (max-width: 480px) {
.hero {
padding: 40px 0;
}
.section {
padding: 40px 0;
}
.hero h2 {
font-size: 1.5rem;
}
.logo {
height: 40px;
}
}