Reduce default width
This commit is contained in:
parent
900547c44e
commit
156a34dc9a
4 changed files with 7 additions and 18 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
* vNEXT
|
* vNEXT
|
||||||
|
|
||||||
|
** Reduce default width
|
||||||
|
The look and feel of the website has changed to be more like
|
||||||
|
a book that could fit in the palm of your hand
|
||||||
|
|
||||||
** Add src/images/albumcover-600x600.jpg
|
** Add src/images/albumcover-600x600.jpg
|
||||||
A copy of the album art that has been embedded as metadata
|
A copy of the album art that has been embedded as metadata
|
||||||
in the MP3 files served from audio.al-quran.reflectslight.io
|
in the MP3 files served from audio.al-quran.reflectslight.io
|
||||||
|
@ -12,10 +16,6 @@ of a surah. With this change the distinction is more so between a
|
||||||
RTL language vs a LTR language rather than between Arabic vs English
|
RTL language vs a LTR language rather than between Arabic vs English
|
||||||
vs Farsi
|
vs Farsi
|
||||||
|
|
||||||
** Center-align ~ul.body.stream~
|
|
||||||
For RTL languages we will show the content of a surah centered,
|
|
||||||
and within a max width of 470px
|
|
||||||
|
|
||||||
** Render ~LanguageSelect.tsx~ items in an optimal font
|
** Render ~LanguageSelect.tsx~ items in an optimal font
|
||||||
RTL languages have ~Cairo Regular~ applied.
|
RTL languages have ~Cairo Regular~ applied.
|
||||||
LTR languages have ~Kanit Regular~ applied
|
LTR languages have ~Kanit Regular~ applied
|
||||||
|
|
|
@ -51,8 +51,8 @@ html {
|
||||||
|
|
||||||
body .root .content.theme {
|
body .root .content.theme {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: $breakpoint-md;
|
max-width: $breakpoint-sm;
|
||||||
width: 85%;
|
width: 100%;
|
||||||
color: var(--color-accent);
|
color: var(--color-accent);
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
|
|
@ -25,15 +25,4 @@ body .root .content.theme.rtl {
|
||||||
@extend .font-amiri;
|
@extend .font-amiri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* >= $breakpoint-sm */
|
|
||||||
@media (min-width: $breakpoint-sm) {
|
|
||||||
ul.body.stream {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
min-width: 470px;
|
|
||||||
max-width: 470px;
|
|
||||||
align-self: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ export function SurahIndex({ locale, surahs, t }: Props) {
|
||||||
<li
|
<li
|
||||||
className={classNames("flex justify-center surah", {
|
className={classNames("flex justify-center surah", {
|
||||||
"w-full": locale.direction === "ltr",
|
"w-full": locale.direction === "ltr",
|
||||||
"w-1/3": locale.direction === "rtl",
|
"w-1/2": locale.direction === "rtl",
|
||||||
})}
|
})}
|
||||||
key={key}
|
key={key}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue