ملف العمل الأصلي
worked-solution/style.css
تحتفظ الشيفرة وصفحات الأمثلة القابلة للتشغيل بمعرّفاتها ونصوصها التجريبية الأصلية. يشرحها الدرس وإرشادات الملفات بلغتك.
:root {
color-scheme: light;
}
* {
box-sizing: border-box;
}
body {
font: 18px/1.65 system-ui;
margin: 40px auto;
max-width: 680px;
padding: 0 24px;
color: #173b3b;
background: #f5f1e6;
}
h1 {
line-height: 1.15;
}
label {
display: block;
margin: 20px 0 6px;
}
input,
textarea,
select {
font: inherit;
width: 100%;
padding: 12px;
border: 1px solid #6a8981;
border-radius: 5px;
}
button,
.button {
display: inline-block;
font: 600 18px system-ui;
padding: 14px 22px;
margin-top: 20px;
color: white;
background: #22665b;
border: 0;
border-radius: 5px;
cursor: pointer;
}
a {
color: #22665b;
}
button:focus-visible,
a:focus-visible {
outline: 3px solid #a45e22;
outline-offset: 4px;
}