Skip to content

Commit f42d683

Browse files
committed
[RZA-2500050]: barahkhadi page order and css fixed
1 parent b4bd082 commit f42d683

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

src/assets/styles/varnmala/barahkhadi/consonant.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
display: flex;
77
align-items: center;
88
gap: 2rem;
9-
margin-bottom: 2rem;
9+
10+
& .consonant {
11+
margin: 0 auto;
12+
font-size: 2rem;
13+
color: aquamarine;
14+
}
1015
}
1116

1217
& .back__link {
@@ -31,7 +36,7 @@
3136
& .combination__card {
3237
background-color: color-mix(in srgb, var(--secondary) 15%, var(--background) 85%);
3338
border-radius: 0.5rem;
34-
padding: 2rem 1rem;
39+
padding: 1.25rem;
3540
display: grid;
3641
place-items: center;
3742
gap: 0.5rem;
@@ -45,8 +50,8 @@
4550
}
4651

4752
& .combination__result {
48-
font-size: 3rem;
49-
font-weight: bold;
53+
font-size: 7rem;
54+
font-weight: normal;
5055
}
5156

5257
@container (min-width: 768px) {
@@ -60,4 +65,4 @@
6065
grid-template-columns: 1fr;
6166
}
6267
}
63-
}
68+
}

src/assets/styles/varnmala/number.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119

120120
& .variation {
121121
font-size: 2.75rem;
122-
padding: 0.4rem;
123122
text-align: center;
124123
background: color-mix(in srgb, var(--text) 5%, var(--background) 95%);
125124
border-radius: 4px;

src/components/ui/backButton.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
border: 1px solid var(--border);
88
border-radius: 0.5rem;
99
padding: 0.5rem 1rem;
10-
margin-bottom: 1rem;
1110
cursor: pointer;
1211
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
1312
}

src/pages/varnmala/barahkhadi/[consonant].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const combinations = [consonant, ...Object.values(matras).map((matra) => consona
1919
<div class="container__consonant">
2020
<div class="consonant__header">
2121
<BackButton />
22-
<h1>{consonant}</h1>
22+
<div class="consonant">{consonant}</div>
2323
</div>
2424
<div class="combinations__grid">
2525
{

src/utils/common.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ export const matras = {
4646
ee: String.fromCharCode(2368),
4747
u: String.fromCharCode(2369),
4848
uu: String.fromCharCode(2370),
49+
ru: String.fromCharCode(2371),
4950
ae: String.fromCharCode(2375),
5051
aie: String.fromCharCode(2376),
5152
au: String.fromCharCode(2379),
5253
aau: String.fromCharCode(2380),
5354
an: String.fromCharCode(2306),
54-
ah: String.fromCharCode(2307),
55-
ru: String.fromCharCode(2371)
55+
ah: String.fromCharCode(2307)
5656
};
5757

5858
export const barahkhadi = (code: number) => {

0 commit comments

Comments
 (0)