-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
186 lines (168 loc) · 5.57 KB
/
index.html
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
width: 100%;
height: 100%;
background-color: #14532d; /* green-900 */
}
main {
position: fixed;
width: 100vw;
height: 100vh;
background-color: #166534; /* green-800 */
display: flex;
justify-content: center;
align-items: center;
}
.content {
position: relative;
z-index: 10;
text-align: center;
color: #ffffff;
width:55%;
height:65%;
}
/* Sharp Colored Borders */
.border-left, .border-right {
position: fixed;
top: 0;
width: 7.5%; /* Width of the colored band */
height: 100%;
max-width:64px;
z-index: 1;
}
.border-left {
left: 0;
background: linear-gradient(to right,
#4338CA 0%, #4338CA 4%, /* Purple */
#A79529 4%, #A79529 10%, /* Tan */
#BC2A1D 10%, #BC2A1D 17%, /* Tan */
#facc15 17%, #facc15 83%, /* Yellow-400 */
#BC2A1D 83%, #BC2A1D 89%, /* Red */
#A79529 89%, #A79529 96%, /* Tan */
#4338CA 96%, #4338CA 100% /* Tan */
);
}
.border-right {
right: 0;
background: linear-gradient(to left,
#4338CA 0%, #4338CA 4%, /* Purple */
#A79529 4%, #A79529 10%, /* Tan */
#BC2A1D 10%, #BC2A1D 17%, /* Tan */
#facc15 17%, #facc15 83%, /* Yellow-400 */
#BC2A1D 83%, #BC2A1D 89%, /* Red */
#A79529 89%, #A79529 96%, /* Tan */
#4338CA 96%, #4338CA 100% /* Tan */
);
}
.border-top, .border-bottom {
position: fixed;
left: 0;
width: 100%;
height: 7.5vw; /* Height of the colored band */
max-height:64px;
z-index: 1;
}
.border-top {
top: 0;
background: linear-gradient(to bottom,
#4338CA 0%, #4338CA 4%, /* Purple */
#A79529 4%, #A79529 10%, /* Tan */
#BC2A1D 10%, #BC2A1D 17%, /* Tan */
#facc15 17%, #facc15 83%, /* Yellow-400 */
#BC2A1D 83%, #BC2A1D 89%, /* Red */
#A79529 89%, #A79529 96%, /* Tan */
#4338CA 96%, #4338CA 100% /* Tan */
);
}
.border-bottom {
bottom: 0;
background: linear-gradient(to top,
#4338CA 0%, #4338CA 4%, /* Purple */
#A79529 4%, #A79529 10%, /* Tan */
#BC2A1D 10%, #BC2A1D 17%, /* Tan */
#facc15 17%, #facc15 83%, /* Yellow-400 */
#BC2A1D 83%, #BC2A1D 89%, /* Red */
#A79529 89%, #A79529 96%, /* Tan */
#4338CA 96%, #4338CA 100% /* Tan */
);
}
.frame {
position: fixed;
width: 35vw; /* 15% of the viewport width to make it responsive */
height: 35vw; /* Keep it square and proportional to viewport width */
max-width: 300px; /* Set a maximum limit to prevent it from becoming too large */
max-height: 300px; /* Set a maximum limit to prevent it from becoming too large */
z-index: 2; /* Above the border bands */
}
/* Corner Frames with Rotation */
.frame_tl {
top: 0;
left: 0;
transform: rotate(0deg);
}
.frame_tr {
top: 0;
right: 0;
transform: rotate(90deg);
}
.frame_bl {
bottom: 0;
left: 0;
transform: rotate(270deg);
}
.frame_br {
bottom: 0;
right: 0;
transform: rotate(180deg);
}
h1 {
display: block;
font-size: 3rem;
}
nav a {
display: block;
background-color:white;
color:black;
border-radius: 4px;
padding:2px;
margin:4px auto;
text-decoration: none;
}
nav a:hover {
background: #eee;
text-decoration: underline;
}
</style>
</head>
<body>
<main>
<div class="content">
<h1>حبيبي</h1>
<nav>
<a href="https://libraries.dbs.org/PES/index.html">الكتاب المقدس</a>
<a href="https://libraries.dbs.org/PES/Audio/Bible/_/index.html">الكتب المقدسة الصوتية</a>
<a href="https://libraries.dbs.org/PES/Video/000_Movies/_/index.html">الأفلام</a>
</nav>
</div>
</main>
<div class="border-left"></div>
<div class="border-right"></div>
<div class="border-top"></div>
<div class="border-bottom"></div>
<img class="frame frame_tl" src="frame_corner.svg" alt="Top Left Corner" />
<img class="frame frame_tr" src="frame_corner.svg" alt="Top Right Corner" />
<img class="frame frame_bl" src="frame_corner.svg" alt="Bottom Left Corner" />
<img class="frame frame_br" src="frame_corner.svg" alt="Bottom Right Corner" />
</body>
</html>