Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
asmaamostafa74 committed Sep 11, 2024
1 parent 439b323 commit 5a4e95c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
4 changes: 4 additions & 0 deletions home.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
gap: 40px;
}

html[dir="html"] .grid-container {
margin-left:80px;
}

.content {
display: flex;
align-items: center;
Expand Down
34 changes: 30 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ body {
line-height: 1;
text-transform: lowercase;
/* overflow: hidden; */
margin-left:30px;
}

.deal-wheel > * {
Expand Down Expand Up @@ -90,6 +91,9 @@ body {
transform: rotate(var(--rotate));
user-select: none;
}
html[dir="rtl"] .prize {
left:-51%;
}

.cap {
--cap-size: calc(var(--size) / 4);
Expand Down Expand Up @@ -118,6 +122,10 @@ body {
transform-origin: center left;
}

html[dir="rtl"] .ticker {
left:-97%;
}

.btn-spin {
border:none;
border-radius: 1.25rem;
Expand Down Expand Up @@ -306,19 +314,27 @@ body {

.header-logo p {
position: relative;
left: 12%;
margin-left:90px;
margin-top: -36px;
}

html[dir="rtl"] .header-logo p {
margin-right:80px;
}

.logo-container img {
width:50px;
height:50px;
z-index: 2;
position: absolute;
left: 45%;
left: 46%;
top:48%;
transform:translate(-50% , -50%);
}

html[dir="rtl"] .logo-container img {
left: 40%;
}
@media (max-width: 600px) {

.logo-container img {
Expand All @@ -336,7 +352,7 @@ body {
}

.container {
height:350px;
height:480px;
}


Expand All @@ -362,7 +378,17 @@ body {
transform:rotate(90deg)
}
.logo-container img {
left: 39%;
left: 44%;
top:46%
}
}

@media (max-width: 450px) {
.container {
height:370px;
}
.logo-container img {
left: 41%;
top:46%
}
}

0 comments on commit 5a4e95c

Please sign in to comment.