Spaces:
Running
Running
add a banner as a background for that full line " AyvWvlid
Browse filesHER
الرئيسية
المنتجات
عن المتجر
اتصل بنا"
animated ring photo
- index.html +39 -4
index.html
CHANGED
|
@@ -12,7 +12,11 @@
|
|
| 12 |
box-sizing: border-box;
|
| 13 |
font-family: 'Tajawal', sans-serif;
|
| 14 |
}
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
background-color: #f8f8f8;
|
| 17 |
color: #333;
|
| 18 |
}
|
|
@@ -24,8 +28,10 @@
|
|
| 24 |
display: flex;
|
| 25 |
align-items: center;
|
| 26 |
position: relative;
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
-
|
| 29 |
font-size: 0.8rem;
|
| 30 |
margin-right: 0.5rem;
|
| 31 |
color: #666;
|
|
@@ -57,18 +63,47 @@
|
|
| 57 |
background-size: 400% 400%;
|
| 58 |
}
|
| 59 |
header {
|
| 60 |
-
background
|
|
|
|
|
|
|
|
|
|
| 61 |
padding: 1rem 2rem;
|
| 62 |
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 63 |
display: flex;
|
| 64 |
justify-content: space-between;
|
| 65 |
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
}
|
| 67 |
nav ul {
|
| 68 |
display: flex;
|
| 69 |
list-style: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
}
|
| 71 |
-
|
| 72 |
margin-right: 1.5rem;
|
| 73 |
}
|
| 74 |
nav ul li a {
|
|
|
|
| 12 |
box-sizing: border-box;
|
| 13 |
font-family: 'Tajawal', sans-serif;
|
| 14 |
}
|
| 15 |
+
@keyframes ringSpin {
|
| 16 |
+
0% { transform: rotate(0deg); }
|
| 17 |
+
100% { transform: rotate(360deg); }
|
| 18 |
+
}
|
| 19 |
+
body {
|
| 20 |
background-color: #f8f8f8;
|
| 21 |
color: #333;
|
| 22 |
}
|
|
|
|
| 28 |
display: flex;
|
| 29 |
align-items: center;
|
| 30 |
position: relative;
|
| 31 |
+
z-index: 1;
|
| 32 |
+
text-shadow: 0 0 10px rgba(255,255,255,0.8);
|
| 33 |
}
|
| 34 |
+
.logo-owner {
|
| 35 |
font-size: 0.8rem;
|
| 36 |
margin-right: 0.5rem;
|
| 37 |
color: #666;
|
|
|
|
| 63 |
background-size: 400% 400%;
|
| 64 |
}
|
| 65 |
header {
|
| 66 |
+
background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
|
| 67 |
+
url('http://static.photos/jewelry/1200x630/1');
|
| 68 |
+
background-size: cover;
|
| 69 |
+
background-position: center;
|
| 70 |
padding: 1rem 2rem;
|
| 71 |
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 72 |
display: flex;
|
| 73 |
justify-content: space-between;
|
| 74 |
align-items: center;
|
| 75 |
+
position: relative;
|
| 76 |
+
overflow: hidden;
|
| 77 |
+
}
|
| 78 |
+
header::after {
|
| 79 |
+
content: "";
|
| 80 |
+
position: absolute;
|
| 81 |
+
top: -50%;
|
| 82 |
+
right: -50%;
|
| 83 |
+
width: 200px;
|
| 84 |
+
height: 200px;
|
| 85 |
+
background-image: url('http://static.photos/jewelry/200x200/2');
|
| 86 |
+
background-size: contain;
|
| 87 |
+
background-repeat: no-repeat;
|
| 88 |
+
animation: ringSpin 20s linear infinite;
|
| 89 |
+
opacity: 0.7;
|
| 90 |
+
z-index: 0;
|
| 91 |
}
|
| 92 |
nav ul {
|
| 93 |
display: flex;
|
| 94 |
list-style: none;
|
| 95 |
+
position: relative;
|
| 96 |
+
z-index: 1;
|
| 97 |
+
}
|
| 98 |
+
nav ul li a {
|
| 99 |
+
text-shadow: 0 0 10px rgba(255,255,255,0.8);
|
| 100 |
+
transition: all 0.3s ease;
|
| 101 |
+
}
|
| 102 |
+
nav ul li a:hover {
|
| 103 |
+
color: #ff6b6b;
|
| 104 |
+
transform: scale(1.1);
|
| 105 |
}
|
| 106 |
+
nav ul li {
|
| 107 |
margin-right: 1.5rem;
|
| 108 |
}
|
| 109 |
nav ul li a {
|