Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 101 additions & 1 deletion A1.html
Original file line number Diff line number Diff line change
@@ -1 +1,101 @@
html
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>خرائط طريق مجردة</title>
<style>
/* CSS للتصميم البصري والتجريد */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
}

.map-container {
width: 80%;
max-width: 600px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 20px;
text-align: center;
}

.map {
width: 100%;
height: 300px;
position: relative;
background-color: #e0e0e0;
border-radius: 8px;
overflow: hidden;
margin-top: 20px;
}

/* تمثيل الخطوط المجردة للطرق */
.road {
position: absolute;
background-color: #555;
height: 10px;
border-radius: 5px;
}

.road.vertical { width: 10px; }
.road.horizontal { height: 10px; }

.road.main { background-color: #2c3e50; }
.road.alternative { background-color: #bdc3c7; }

/* تمثيل الأيقونات المجردة للنقاط */
.point {
position: absolute;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 14px;
font-weight: bold;
}

.point.start { background-color: #27ae60; } /* أخضر */
.point.end { background-color: #e74c3c; } /* أحمر */
.point.landmark { background-color: #f39c12; } /* برتقالي */

h1 {
color: #2c3e50;
}

p {
color: #7f8c8d;
}
</style>
</head>
<body>

<div class="map-container">
<h1>خريطة الطريق إلى العمل</h1>
<p>مسار بسيط ومجرد من المنزل إلى العمل.</p>

<div class="map">
<div class="road main horizontal" style="top: 50%; left: 10%; width: 60%;"></div>
<div class="road main vertical" style="top: 30%; left: 70%; height: 50%;"></div>

<div class="road alternative horizontal" style="top: 25%; left: 10%; width: 40%;"></div>

<div class="point start" style="top: 45%; left: 8%;">A</div>
<div class="point end" style="top: 25%; left: 68%;">B</div>
<div class="point landmark" style="top: 45%; left: 40%;">C</div>
</div>

</div>

</body>
</html>