Update style.css
هذا الالتزام موجود في:
93
style.css
93
style.css
@@ -1,80 +1,13 @@
|
|||||||
/* Arabic UI Kit - RTL Styles */
|
:root{--p:#238636;--bg:#0d1117;--t:#c9d1d9;--cb:#161b22;--br:#30363d;--r:8px}
|
||||||
:root {
|
*{margin:0;padding:0;box-sizing:border-box}
|
||||||
--primary: #238636;
|
body{font-family:system-ui,sans-serif;background:var(--bg);color:var(--t);direction:rtl;line-height:1.6}
|
||||||
--secondary: #3fb950;
|
.hdr{background:var(--cb);padding:1rem 2rem;border-bottom:1px solid var(--br);display:flex;justify-content:space-between;align-items:center}
|
||||||
--bg: #0d1117;
|
.hdr nav a{color:#3fb950;text-decoration:none;margin-right:1rem;padding:.5rem 1rem;border-radius:var(--r)}
|
||||||
--text: #c9d1d9;
|
.hdr nav a:hover{background:var(--br)}
|
||||||
--card-bg: #161b22;
|
main{padding:2rem;max-width:800px;margin:0 auto}
|
||||||
--border: #30363d;
|
section{margin-bottom:2rem}h2{margin-bottom:1rem;color:#3fb950}
|
||||||
--radius: 8px;
|
.btn{padding:.5rem 1rem;border:none;border-radius:var(--r);cursor:pointer;font-size:1rem;margin:.25rem;color:#fff}
|
||||||
}
|
.btn:hover{opacity:.85}.btn-primary{background:#1f6feb}.btn-success{background:var(--p)}.btn-danger{background:#da3633}
|
||||||
|
.card{background:var(--cb);border:1px solid var(--br);border-radius:var(--r);padding:1.5rem;max-width:400px}
|
||||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
.card h3{color:#3fb950;margin-bottom:.5rem}
|
||||||
|
footer{text-align:center;padding:1rem;border-top:1px solid var(--br);margin-top:2rem}
|
||||||
body {
|
|
||||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
||||||
background: var(--bg);
|
|
||||||
color: var(--text);
|
|
||||||
direction: rtl;
|
|
||||||
line-height: 1.6;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
|
||||||
background: var(--card-bg);
|
|
||||||
padding: 1rem 2rem;
|
|
||||||
border-bottom: 1px solid var(--border);
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header nav a {
|
|
||||||
color: var(--secondary);
|
|
||||||
text-decoration: none;
|
|
||||||
margin-right: 1rem;
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
border-radius: var(--radius);
|
|
||||||
transition: background 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header nav a:hover { background: var(--border); }
|
|
||||||
|
|
||||||
main { padding: 2rem; max-width: 800px; margin: 0 auto; }
|
|
||||||
|
|
||||||
section { margin-bottom: 2rem; }
|
|
||||||
|
|
||||||
h2 { margin-bottom: 1rem; color: var(--secondary); }
|
|
||||||
|
|
||||||
.btn {
|
|
||||||
padding: 0.5rem 1rem;
|
|
||||||
border: none;
|
|
||||||
border-radius: var(--radius);
|
|
||||||
cursor: pointer;
|
|
||||||
font-size: 1rem;
|
|
||||||
margin: 0.25rem;
|
|
||||||
color: white;
|
|
||||||
transition: opacity 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn:hover { opacity: 0.85; }
|
|
||||||
.btn-primary { background: #1f6feb; }
|
|
||||||
.btn-secondary { background: var(--border); }
|
|
||||||
.btn-success { background: var(--primary); }
|
|
||||||
.btn-danger { background: #da3633; }
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background: var(--card-bg);
|
|
||||||
border: 1px solid var(--border);
|
|
||||||
border-radius: var(--radius);
|
|
||||||
padding: 1.5rem;
|
|
||||||
max-width: 400px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card h3 { color: var(--secondary); margin-bottom: 0.5rem; }
|
|
||||||
|
|
||||||
footer {
|
|
||||||
text-align: center;
|
|
||||||
padding: 1rem;
|
|
||||||
border-top: 1px solid var(--border);
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم