Skip to content

Commit d51a320

Browse files
committed
تحسين على صفحة من نحن والعداد التنازلي
1 parent a22e532 commit d51a320

File tree

3 files changed

+26
-17
lines changed

3 files changed

+26
-17
lines changed

Source/Pages/AboutUs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
<section class="container content-section">
6666
<div class="card">
67-
<h2>:نبذة عن اللغة</h2>
67+
<h1>:عن لغة ألف</h1>
6868
<p dir="rtl">
6969
بدأت الفكرة في عام 2010 من قبل المطور المغربي حسن دراكة - كندا <br>
7070
ولكن دخلت الفكرة حيز التنفيذ في عام 2018 حيث بدأ بإصدار نسخ مترجمة من اللغة <br>

Source/Pages/countDown.html

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,28 @@
4040
box-shadow: 2px 2px 1px #2079FF;
4141
}
4242

43-
.space {
44-
font-size: 80px;
45-
}
46-
4743
.line {
44+
align-self: center;
4845
position: absolute;
49-
width: 100%;
50-
border: solid 1px white;
51-
right: 0;
52-
bottom: 225px;
46+
width: 16384px;
47+
border: solid 1px #bbb;
5348
}
5449

5550

5651
.button2-front {
57-
font-size: 50px;
52+
font-size: 3em;
53+
font-weight: 300;
5854
width: 700px;
5955
height: 200px;
6056
border-radius: 200px;
61-
left: 50%;
62-
transform: translate(-50%);
6357
}
6458

6559
.button2-front:hover {
6660
font-size: 45px;
6761
}
6862

6963
.button2 {
64+
justify-content: center;
7065
width: 700px;
7166
height: 200px;
7267
border-radius: 200px;
@@ -82,8 +77,9 @@
8277
<div class="button2-front">
8378
<div id="countdown" dir="rtl"></div>
8479
</div>
85-
<div class="button2"></div>
86-
<div class="line"></div>
80+
<div class="button2">
81+
<div class="line"></div>
82+
</div>
8783
</div>
8884
<div class="space"></div>
8985

@@ -94,8 +90,11 @@
9490
const now = new Date();
9591
const timeDifference = newYear - now;
9692

93+
const element = document.getElementById('countdown');
9794
if (timeDifference <= 0) {
98-
document.getElementById("countdown").innerHTML = "حان وقت اصدار اللغة (من المفترض ان يكون الان تم حذف هاذه الصفحة 😁)";
95+
element.innerHTML = "حان وقت اصدار اللغة (من المفترض ان يكون الان تم حذف هاذه الصفحة 😁)";
96+
element.style.fontSize = '20px';
97+
element.style.fontWeight = 'normal';
9998
return;
10099
}
101100

@@ -104,7 +103,7 @@
104103
const minutes = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));
105104
const seconds = Math.floor((timeDifference % (1000 * 60)) / 1000);
106105

107-
document.getElementById("countdown").innerHTML = `${seconds} : ${minutes} : ${hours} ساعة | ${days} يوم`;
106+
element.innerHTML = `${seconds} : ${minutes} : ${hours} ساعة | ${days} يوم`;
108107
}
109108

110109
setInterval(updateCountdown, 1000);

Source/Style/aboutUs-style.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
.card {
2-
padding: 10px;
2+
padding: 45px;
33
border: 2px solid #182d5555;
44
height: 100%;
55
border-radius: 30px;
66
backdrop-filter: blur(6px);
77
box-shadow: 2px 2px 1px #2079ff;
88
}
9+
10+
11+
.card p {
12+
line-height: 1.8em;
13+
}
14+
15+
.card h1 {
16+
font-size: 1.8em;
17+
line-height: 2em;
18+
}

0 commit comments

Comments
 (0)