generated from xkeshav/astro-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from recursivezero/feature/RZA-250029
Feature/RZA-250029: Add Alphabets of different category and merged pages to varnmala
- Loading branch information
Showing
43 changed files
with
2,968 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
display: block; | ||
padding: 1rem; | ||
|
||
> .moto { | ||
& .moto { | ||
color: #3a8657; | ||
font-size: 3rem; | ||
font-size: 2rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
.container__alphabets { | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
height: calc(100vh - 4rem); | ||
overflow-y: scroll; | ||
gap: 1rem; | ||
align-items: flex-start; | ||
justify-content: flex-start; | ||
padding: 1rem; | ||
|
||
& .head { | ||
display: flex; | ||
gap: 1rem; | ||
align-items: center; | ||
width: 100%; | ||
justify-content: space-between; | ||
padding: 1rem; | ||
border-radius: 0.5rem; | ||
font-weight: 600; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
|
||
& .back { | ||
margin-bottom: 0 !important; | ||
} | ||
} | ||
|
||
& .flip__all__button { | ||
background-color: var(--background); | ||
border: none; | ||
padding: 0.5rem 1rem; | ||
border-radius: 0.5rem; | ||
font-weight: 200; | ||
margin: 1rem 0; | ||
cursor: pointer; | ||
transition: all 0.3s ease; | ||
align-self: flex-end; | ||
} | ||
|
||
& .flip__all__button:hover { | ||
transform: translateY(-2px); | ||
} | ||
|
||
& .flip__all__button.active { | ||
transform: scale(0.95); | ||
background-color: color-mix(in srgb, var(--primary) 70%, black 30%); | ||
} | ||
|
||
& .container__alphabet { | ||
display: grid; | ||
gap: 2rem; | ||
container-type: inline-size; | ||
container-name: layout; | ||
font-family: "atkinson"; | ||
position: relative; | ||
max-width: 2000px; | ||
margin-inline: auto; | ||
width: 100%; | ||
} | ||
|
||
& .container__alphabet::before { | ||
content: ''; | ||
position: absolute; | ||
inset: 0; | ||
background: radial-gradient(circle at 50% 0%, | ||
color-mix(in srgb, var(--primary) 5%, transparent), | ||
transparent 70%); | ||
pointer-events: none; | ||
z-index: -1; | ||
} | ||
|
||
& .container__alphabet .list { | ||
display: grid; | ||
gap: 2rem; | ||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); | ||
padding: 1rem; | ||
position: relative; | ||
} | ||
|
||
/* Animation for list items */ | ||
& .container__alphabet .list>* { | ||
opacity: 0; | ||
transform: translateY(20px); | ||
animation: slideUp 0.6s ease forwards; | ||
} | ||
|
||
& .container__alphabet .list>*:nth-child(1n) { | ||
animation-delay: 0.1s; | ||
} | ||
|
||
& .container__alphabet .list>*:nth-child(2n) { | ||
animation-delay: 0.2s; | ||
} | ||
|
||
& .container__alphabet .list>*:nth-child(3n) { | ||
animation-delay: 0.3s; | ||
} | ||
|
||
& .container__alphabet .list>*:nth-child(4n) { | ||
animation-delay: 0.4s; | ||
} | ||
|
||
@keyframes slideUp { | ||
from { | ||
opacity: 0; | ||
transform: translateY(20px); | ||
} | ||
|
||
to { | ||
opacity: 1; | ||
transform: translateY(0); | ||
} | ||
} | ||
|
||
@container layout (width <=1200px) { | ||
.container__alphabet { | ||
padding: 1.5rem; | ||
} | ||
|
||
.container__alphabet .list { | ||
gap: 1.5rem; | ||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); | ||
} | ||
} | ||
|
||
@container layout (width <=768px) { | ||
.container__alphabet { | ||
padding: 1rem; | ||
} | ||
|
||
.container__alphabet .list { | ||
gap: 1rem; | ||
grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); | ||
} | ||
} | ||
} |
Oops, something went wrong.