-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss-practical-v1.26.html
More file actions
79 lines (70 loc) · 1.85 KB
/
Copy pathcss-practical-v1.26.html
File metadata and controls
79 lines (70 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!doctype html>
<html dir="rtl" lang="ar">
<head>
<title>لوحة عملية</title>
<style>
@font-palette-values واجهة {
font-family: "Noto Kufi Arabic";
base-palette: light;
override-colors: b;
}
:root {
color-scheme: light dark;
--مسافة: round(nearest, abs(1.2rem), 1px);
}
body {
margin: 0;
font-family: system-ui;
color: light-dark(#172033, #f6f7fb);
background: light-dark(#f8fafc, #111827);
}
main {
width: clamp(20rem, 92vw, 72rem);
margin-inline: auto;
padding: 2rem;
}
section.بطاقات {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
gap: hypot(1rem, 0.5rem);
}
article {
content-visibility: auto;
contain-intrinsic-size: 18rem;
scrollbar-gutter: stable both-edges;
overflow-clip-margin: 1rem;
box-shadow: 0 1rem 2rem #0002;
border-radius: 0.5rem;
padding: 1rem;
}
article h2 {
text-box-trim: trim-start;
text-box-edge: alphabetic text;
line-clamp: 2;
}
article p {
hyphenate-character: "-";
hyphenate-limit-chars: 6 3 2;
font-variant-emoji: emoji;
}
button:popover-open,
input:autofill {
accent-color: blue;
}
@media (prefers-contrast: more) and (prefers-reduced-transparency: reduce) {
article { box-shadow: none; }
}
</style>
</head>
<body>
<main>
<h1>لوحة عملية</h1>
<section class="بطاقات">
<article>
<h2>بطاقة تشغيل</h2>
<p>هذا نص عربي محفوظ كما هو داخل الصفحة الناتجة.</p>
</article>
</section>
</main>
</body>
</html>