Skip to content

Commit 3eab6d2

Browse files
Update arabic.html
1 parent 7e6479a commit 3eab6d2

File tree

1 file changed

+42
-23
lines changed

1 file changed

+42
-23
lines changed

arabic.html

+42-23
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,27 @@
2121
overflow: hidden;
2222
}
2323

24-
.icon img {
25-
width: 80%; /* Adjust image size */
26-
height: auto; /* Keep aspect ratio */
27-
}
24+
.icon img {
25+
width: 80%; /* Adjust image size */
26+
height: auto;
27+
}
28+
29+
#languageSelect {
30+
font-size: 16px;
31+
padding: 5px;
32+
background-color: transparent;
33+
color: white;
34+
text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
35+
border: 1px solid;
36+
border-image: linear-gradient(45deg, #d4af37, #f8f8ff, #d4af37) 1;
37+
border-radius: 5px;
38+
outline: none;
39+
appearance: none;
40+
cursor: pointer;
41+
position: relative; /* Ensure it stays in place */
42+
top: -12px; /* Adjust as needed */
43+
}
2844

29-
#languageSelect {
30-
font-size: 16px;
31-
padding: 5px;
32-
background-color: transparent; /* Transparent background */
33-
color: white; /* White text */
34-
text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Starry effect */
35-
border: 1px solid; /* Thin border */
36-
border-image: linear-gradient(45deg, #d4af37, #f8f8ff, #d4af37) 1; /* Shiny gradient border */
37-
border-radius: 5px;
38-
outline: none; /* Remove default outline */
39-
appearance: none; /* Hide default dropdown styling */
40-
cursor: pointer;
41-
}
4245

4346
#languageSelect:focus {
4447
box-shadow: 0 0 8px rgba(212, 175, 55, 0.8); /* Add glow effect when focused */
@@ -48,12 +51,15 @@
4851
background-color: transparent; /* Keep background transparent */
4952
}
5053

51-
.label-container {
52-
display: flex;
53-
flex-direction: column;
54-
gap: 10px;
55-
margin-top: 60px;
56-
}
54+
.label-container {
55+
position: relative;
56+
z-index: 1; /* Bring buttons in front of the video */
57+
display: flex;
58+
flex-direction: column;
59+
gap: 10px;
60+
margin-top: 60px;
61+
}
62+
5763

5864
.label {
5965
font-size: 24px;
@@ -92,6 +98,15 @@
9298
width: 50px;
9399
height: 50px;
94100
cursor: pointer;
101+
}
102+
#introVideo {
103+
position: absolute;
104+
top: 80px; /* Position the video just below the logo and language select */
105+
left: 0;
106+
width: 100%; /* Full width */
107+
max-height: 50vh; /* Limit the height to 50% of the viewport height */
108+
object-fit: cover; /* Scale the video proportionally */
109+
z-index: -1; /* Keep the video behind the other elements */
95110
}
96111
</style>
97112
</head>
@@ -103,6 +118,10 @@
103118
<option value="en">English</option>
104119
</select>
105120
</div>
121+
<video id="introVideo" autoplay muted playsinline>
122+
<source src="media/intro.mp4" type="video/mp4">
123+
Your browser does not support the video tag.
124+
</video>
106125
<div class="label-container">
107126
<div class="label" onclick="location.href='arabicapps.html'">التطبيقات</div>
108127
<div class="label" onclick="location.href='arabicservices.html'">خدماتنا</div>

0 commit comments

Comments
 (0)