-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhlf.css
More file actions
156 lines (136 loc) · 3.7 KB
/
Copy pathhlf.css
File metadata and controls
156 lines (136 loc) · 3.7 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
html[lang="ar"] {
background-color: #151515; /* يمكن تغيير هذه القيمة إلى اللون الذي ترغب فيه */
}
/* إعدادات لشريط الشعارات */
/* يجب استبدال "your-tab-bar-class" بالفئة الفعلية لشريط الشعارات في موقع الويب الخاص بك */
.your-tab-bar-class {
background-color: #151515; /* يمكن تغيير هذه القيمة إلى اللون المناسب لشريط الشعارات */
color: #FFFFF1FD; /* لون النص داخل شريط الشعارات */
}
html, body {
height: 100%;
margin: 0;
padding: 0;
direction: rtl; /* تدعم اللغة العربية */
}
body {
background: linear-gradient(to right bottom, #262626, #000000);
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
color: white;
}
div:nth-child(1) {
backgجround: linear-gradient(to right bottom, #5953FF, #5217B5);
border: none;
height: 70px;
width: 100%;
}
img {
margin: 0;
padding: 0;
height: 70px;
width: 200px;
position: relative;
left: 50%;
transform: translateX(-130%);
}
div:nth-child(2) img {
position: relative;
left: 55%;
transform: translateX(-50%);
height: 200px;
width: 300px;
}
.app-details {
background-color: #222;
color: #fff;
padding: 20px;
border-radius: 10px;
width: 80%;
max-width: 600px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin: 20px auto;
text-align: center;
}
.app-details h2 {
color: #fff;
font-size: 24px;
margin-bottom: 15px;
}
.app-details table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
direction: ltr; /* تعكيس الاتجاه */
}
.app-details th, .app-details td {
padding: 10px;
border: 1px solid #444;
text-align: right;
}
.app-details th {
background-color: #333;
}
.app-details td strong {
color: #f9ab00;
}
.course-details th {
background-color: #555;
color: #fff;
}
.course-details td {
background-color: #333;
color: #fff;
}
#downloadBtn {
background-color: green;
color: white;
padding: 20px;
border: none;
border-radius: 30px;
cursor: pointer;
margin: 20px auto;
width: 80vw;
display: block; /* إظهار الزر بشكل افتراضي */
position: fixed; /* تحديد وضعية ثابتة للزر */
bottom: 20px; /* بعيدًا قليلاً عن الأسفل لتجنب التداخل مع الحواف */
left: 50%;
transform: translateX(-50%);
transition: transform 0.3s ease; /* تأثير انتقالي عند التمرير */
opacity: 1; /* تأكد من عدم اختفاء الزر عند تطبيق التأثير */
}
body.scrolled #downloadBtn {
transform: translateY(100px); /* نقل الزر إلى الأسفل عند التمرير لأسفل */
opacity: 0; /* جعل الزر شفافًا أثناء التأثير */
}
body.scrolled #downloadBtn {
transform: translateY(100px); /* نقل الزر إلى الأسفل عند التمرير لأسفل */
opacity: 0; /* جعل الزر شفافًا أثناء التأثير */
}
/* إضافة خاصية الإخفاء */
.hide {
display: none;
}
/* ثم عند التمرير، قم بتغيير الخصائص للعرض */
body.scrolled #downloadBtn {
transform: translateY(100%);
}
@font-face {
font-family: myFont;
src: url('eerr.ttf');
}
body {
font-family: myFont, Arial, sans-serif;
}
#iioo {
background-color: green;
color: white;
padding: 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 20px auto;
width: 90vw;
}