ميدياويكي:Common.css
المظهر
ملاحظة: بعد النشر، أنت قد تحتاج إلى إفراغ الكاش الخاص بمتصفحك لرؤية التغييرات.
- فايرفوكس / سافاري: أمسك Shift أثناء ضغط Reload، أو اضغط على إما Ctrl-F5 أو Ctrl-R (⌘-R على ماك)
- جوجل كروم: اضغط Ctrl-Shift-R (⌘-Shift-R على ماك)
- إنترنت إكسبلورر/إيدج: أمسك Ctrl أثناء ضغط Refresh، أو اضغط Ctrl-F5
- أوبرا: اضغط Ctrl-F5.
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #f8f4f0 0%, #e8e4e0 100%);
color: #5a5a5a;
line-height: 1.8;
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.header {
background: linear-gradient(135deg, #d4c5b9 0%, #c8b5a6 100%);
padding: 40px 30px;
border-radius: 25px;
margin-bottom: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
}
.header h1 {
color: #6b5b73;
font-size: 2.5em;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}
.header .subtitle {
color: #8b7b8b;
font-size: 1.1em;
font-weight: 300;
}
.main-content {
display: grid;
grid-template-columns: 1fr 300px;
gap: 30px;
margin-bottom: 40px;
}
.content-area {
background: linear-gradient(135deg, #f5f1ed 0%, #ede9e5 100%);
padding: 40px;
border-radius: 20px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
border: 2px solid rgba(212, 197, 185, 0.3);
}
.sidebar {
background: linear-gradient(135deg, #e8ddd4 0%, #d9cfc6 100%);
padding: 30px;
border-radius: 20px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
border: 2px solid rgba(212, 197, 185, 0.3);
height: fit-content;
}
.imam-quote {
background: linear-gradient(135deg, #c8b5a6 0%, #b8a696 100%);
padding: 25px;
border-radius: 15px;
margin-bottom: 30px;
border-left: 5px solid #9d8b7c;
position: relative;
overflow: hidden;
}
.imam-quote::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
animation: shimmer 3s infinite;
}
@keyframes shimmer {
0%, 100% { transform: rotate(0deg); }
50% { transform: rotate(180deg); }
}
.imam-quote p {
color: #6b5b73;
font-weight: 600;
font-size: 1.1em;
position: relative;
z-index: 1;
}
.section-title {
color: #7a6a7a;
font-size: 1.8em;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 3px solid #d4c5b9;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -3px;
right: 0;
width: 50px;
height: 3px;
background: linear-gradient(90deg, #c8b5a6 0%, #b8a696 100%);
}
.hadith-text {
background: linear-gradient(135deg, #f0ebe6 0%, #e6e0db 100%);
padding: 30px;
border-radius: 15px;
margin: 20px 0;
border: 2px solid rgba(212, 197, 185, 0.5);
position: relative;
}
.hadith-text::before {
content: '"';
position: absolute;
top: -10px;
right: 20px;
font-size: 4em;
color: #d4c5b9;
opacity: 0.3;
}
.hadith-text p {
font-size: 1.3em;
color: #6b5b73;
font-weight: 500;
text-align: center;
margin-bottom: 15px;
}
.hadith-source {
color: #8b7b8b;
font-size: 0.9em;
text-align: left;
font-style: italic;
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid rgba(212, 197, 185, 0.3);
}
.sidebar-section {
margin-bottom: 30px;
}
.sidebar-title {
color: #7a6a7a;
font-size: 1.2em;
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 2px solid #c8b5a6;
}
.sidebar-content {
background: linear-gradient(135deg, #f2ebe4 0%, #e8e1da 100%);
padding: 20px;
border-radius: 12px;
border: 1px solid rgba(212, 197, 185, 0.4);
}
.sidebar-content p {
color: #6b5b73;
font-size: 0.95em;
margin-bottom: 10px;
}
.navigation {
background: linear-gradient(135deg, #d9cfc6 0%, #cfc5bc 100%);
padding: 20px;
border-radius: 15px;
margin-bottom: 20px;
}
.nav-item {
color: #7a6a7a;
text-decoration: none;
display: block;
padding: 10px 15px;
margin: 5px 0;
border-radius: 8px;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.3);
}
.nav-item:hover {
background: linear-gradient(135deg, #c8b5a6 0%, #b8a696 100%);
color: #6b5b73;
transform: translateX(-5px);
}
.footer {
background: linear-gradient(135deg, #d4c5b9 0%, #c8b5a6 100%);
padding: 30px;
border-radius: 20px;
text-align: center;
margin-top: 40px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.footer p {
color: #6b5b73;
font-size: 0.9em;
}
.decorative-element {
width: 100px;
height: 4px;
background: linear-gradient(90deg, #c8b5a6 0%, #b8a696 100%);
margin: 20px auto;
border-radius: 2px;
position: relative;
}
.decorative-element::before,
.decorative-element::after {
content: '';
position: absolute;
width: 8px;
height: 8px;
background: #b8a696;
border-radius: 50%;
top: -2px;
}
.decorative-element::before {
left: -4px;
}
.decorative-element::after {
right: -4px;
}
@media (max-width: 768px) {
.main-content {
grid-template-columns: 1fr;
}
.header h1 {
font-size: 2em;
}
.content-area,
.sidebar {
padding: 25px;
}
}
.fade-in {
animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}