Entrance Announcement
MICTE 2080
2080 Magh 07
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
:root { | :root { | ||
--primary: # | --bg: #f4f7ff; | ||
--secondary: # | --card-bg: #ffffff; | ||
--accent: # | --primary: #6366f1; /* neon indigo */ | ||
-- | --secondary: #22c55e; /* neon green */ | ||
--accent: #f43f5e; /* neon pink/red */ | |||
--highlight: #0ea5e9; /* cyan */ | |||
--text: #1f2937; | --text: #1f2937; | ||
} | } | ||
/* Global | /* Global */ | ||
body { | body { | ||
font-family: | margin: 0; | ||
background: | font-family: 'Orbitron', 'Segoe UI', sans-serif; | ||
background: radial-gradient(circle at top, #e0e7ff, var(--bg)); | |||
color: var(--text); | color: var(--text); | ||
} | } | ||
/* Main | /* Main Container */ | ||
.wiki-container { | .wiki-container { | ||
max-width: | max-width: 1100px; | ||
margin: | margin: 30px auto; | ||
padding: 25px; | |||
background: var(--card-bg); | background: var(--card-bg); | ||
border-radius: | border-radius: 14px; | ||
box-shadow: 0 8px 25px rgba(0,0,0,0.1); | |||
box-shadow: 0 | border: 2px solid rgba(99,102,241,0.2); | ||
} | } | ||
/* Headings */ | /* Headings (gaming glow effect) */ | ||
h1, h2, h3 { | h1, h2, h3 { | ||
color: var(--primary); | |||
- | text-transform: uppercase; | ||
- | letter-spacing: 1px; | ||
text-shadow: 0 0 6px rgba(99,102,241,0.4); | |||
} | } | ||
/* Links */ | /* Links */ | ||
a { | a { | ||
color: var(-- | color: var(--highlight); | ||
font-weight: bold; | |||
position: relative; | position: relative; | ||
} | } | ||
a:hover { | |||
color: var(--accent); | |||
} | |||
/* Neon underline animation */ | |||
a::after { | a::after { | ||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
left: 0; | |||
bottom: -3px; | |||
width: 100%; | width: 100%; | ||
height: 2px; | height: 2px; | ||
background: var(--accent) | background: linear-gradient(90deg, var(--secondary), var(--accent)); | ||
transform: scaleX(0); | transform: scaleX(0); | ||
transition: transform 0.3s ease; | transition: transform 0.3s ease; | ||
| Line 71: | Line 66: | ||
/* Sidebar */ | /* Sidebar */ | ||
.sidebar { | .sidebar { | ||
background: linear-gradient(180deg, | background: linear-gradient(180deg, #6366f1, #0ea5e9); | ||
color: white; | color: white; | ||
padding: 20px; | padding: 20px; | ||
border-radius: 12px; | border-radius: 12px; | ||
box-shadow: inset 0 0 10px rgba(255,255,255,0.2); | |||
} | } | ||
/* Cards | /* Cards (game panels) */ | ||
.card { | .card { | ||
background: var(--card-bg); | background: var(--card-bg); | ||
border-left: | border-left: 6px solid var(--secondary); | ||
padding: 15px; | padding: 15px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
border-radius: 10px; | border-radius: 10px; | ||
transition: | position: relative; | ||
overflow: hidden; | |||
} | |||
/* subtle animated shine */ | |||
.card::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; | |||
left: -75%; | |||
width: 50%; | |||
height: 100%; | |||
background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent); | |||
transform: skewX(-20deg); | |||
transition: 0.6s; | |||
} | } | ||
.card:hover { | .card:hover::before { | ||
left: 130%; | |||
} | } | ||
| Line 95: | Line 105: | ||
width: 100%; | width: 100%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border-radius: 10px; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
th { | th { | ||
background: var(--primary); | background: linear-gradient(90deg, var(--primary), var(--highlight)); | ||
color: white; | color: white; | ||
padding: 10px; | padding: 10px; | ||
| Line 111: | Line 121: | ||
tr:hover { | tr:hover { | ||
background: rgba( | background: rgba(99,102,241,0.08); | ||
} | } | ||
/* Buttons */ | /* Buttons (gaming style) */ | ||
button { | button { | ||
background: linear-gradient(135deg, var(--secondary), var(-- | background: linear-gradient(135deg, var(--secondary), var(--highlight)); | ||
border: none; | border: none; | ||
color: white; | |||
padding: 10px 20px; | padding: 10px 20px; | ||
border-radius: 8px; | |||
border-radius: | |||
cursor: pointer; | cursor: pointer; | ||
transition: | font-weight: bold; | ||
letter-spacing: 1px; | |||
box-shadow: 0 0 10px rgba(34,197,94,0.4); | |||
transition: 0.2s; | |||
} | } | ||
button:hover { | button:hover { | ||
transform: scale(1.05); | transform: translateY(-2px) scale(1.05); | ||
box-shadow: 0 0 15px rgba(14,165,233,0.6); | |||
} | |||
/* Scrollbar (gaming UI touch) */ | |||
::-webkit-scrollbar { | |||
width: 10px; | |||
} | |||
::-webkit-scrollbar-thumb { | |||
background: linear-gradient(var(--primary), var(--accent)); | |||
border-radius: 10px; | |||
} | |||
/* Animation */ | |||
@keyframes glowPulse { | |||
0% { box-shadow: 0 0 5px var(--primary); } | |||
50% { box-shadow: 0 0 15px var(--accent); } | |||
100% { box-shadow: 0 0 5px var(--primary); } | |||
} | } | ||
.glow { | |||
animation: glowPulse 2s infinite; | |||
} | } | ||
Revision as of 04:58, 24 March 2026
:root {
--bg: #f4f7ff;
--card-bg: #ffffff;
--primary: #6366f1; /* neon indigo */
--secondary: #22c55e; /* neon green */
--accent: #f43f5e; /* neon pink/red */
--highlight: #0ea5e9; /* cyan */
--text: #1f2937;
}
/* Global */
body {
margin: 0;
font-family: 'Orbitron', 'Segoe UI', sans-serif;
background: radial-gradient(circle at top, #e0e7ff, var(--bg));
color: var(--text);
}
/* Main Container */
.wiki-container {
max-width: 1100px;
margin: 30px auto;
padding: 25px;
background: var(--card-bg);
border-radius: 14px;
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
border: 2px solid rgba(99,102,241,0.2);
}
/* Headings (gaming glow effect) */
h1, h2, h3 {
color: var(--primary);
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 0 0 6px rgba(99,102,241,0.4);
}
/* Links */
a {
color: var(--highlight);
font-weight: bold;
position: relative;
}
a:hover {
color: var(--accent);
}
/* Neon underline animation */
a::after {
content: "";
position: absolute;
left: 0;
bottom: -3px;
width: 100%;
height: 2px;
background: linear-gradient(90deg, var(--secondary), var(--accent));
transform: scaleX(0);
transition: transform 0.3s ease;
}
a:hover::after {
transform: scaleX(1);
}
/* Sidebar */
.sidebar {
background: linear-gradient(180deg, #6366f1, #0ea5e9);
color: white;
padding: 20px;
border-radius: 12px;
box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
}
/* Cards (game panels) */
.card {
background: var(--card-bg);
border-left: 6px solid var(--secondary);
padding: 15px;
margin-bottom: 20px;
border-radius: 10px;
position: relative;
overflow: hidden;
}
/* subtle animated shine */
.card::before {
content: "";
position: absolute;
top: 0;
left: -75%;
width: 50%;
height: 100%;
background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
transform: skewX(-20deg);
transition: 0.6s;
}
.card:hover::before {
left: 130%;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
border-radius: 10px;
overflow: hidden;
}
th {
background: linear-gradient(90deg, var(--primary), var(--highlight));
color: white;
padding: 10px;
}
td {
padding: 10px;
border-bottom: 1px solid #ddd;
}
tr:hover {
background: rgba(99,102,241,0.08);
}
/* Buttons (gaming style) */
button {
background: linear-gradient(135deg, var(--secondary), var(--highlight));
border: none;
color: white;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
letter-spacing: 1px;
box-shadow: 0 0 10px rgba(34,197,94,0.4);
transition: 0.2s;
}
button:hover {
transform: translateY(-2px) scale(1.05);
box-shadow: 0 0 15px rgba(14,165,233,0.6);
}
/* Scrollbar (gaming UI touch) */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(var(--primary), var(--accent));
border-radius: 10px;
}
/* Animation */
@keyframes glowPulse {
0% { box-shadow: 0 0 5px var(--primary); }
50% { box-shadow: 0 0 15px var(--accent); }
100% { box-shadow: 0 0 5px var(--primary); }
}
.glow {
animation: glowPulse 2s infinite;
}