Commit graph

29 commits

Author SHA1 Message Date
0158b89f42 Add src/css/webpackage.scss 2023-03-06 17:31:36 -03:00
0073c76fbb Add TheSurahIndex.tsx
TheSurahIndex.tsx provides a list of surahs (aka chapters) from
The Quran. Fix #2.
2023-03-06 17:30:38 -03:00
51b7a523ce s/theme-and-language/dropdown-row/g 2023-02-28 05:03:09 -03:00
95be842bc4 Add src/css/layout.scss 2023-02-28 05:03:09 -03:00
78a0146cf9 Generalize the CSS 2023-02-28 05:03:09 -03:00
278292dc89 src/css/components/TheQuran/ -> src/css/components/TheSurahPage/ 2023-02-28 05:03:09 -03:00
13234d34d1 Set background color of .box-shape to $gold
This was overlooked when renaming .container.shape to .box-shape
2023-01-13 12:37:55 -03:00
c911322429 Change base width to 470px
And when the vertical scroll bar is present, reduce the width
of a paragraph to 98% of 470px.
2023-01-12 21:51:52 -03:00
13789768a1 Add ability to pause, and resume the stream
This change allows the stream to be paused, and
resumed on-demand.
2023-01-12 21:51:52 -03:00
de538b2a00 Maintain rtl direction on .surah-row.surah-details 2022-12-30 08:58:43 -03:00
8626dad6d9 Revise HTML markup, and stylesheets
* Remove the 'AboutSurah' component:
  It is too simple to be worth being a component.

* Prefer long-form CSS syntax over SCSS indentation:
  I think it is easier to read, although there's probably
  still a soft spot to find between the two.

* Rename root class from 'surah' to 'root-box'.

* Rename / revise other CSS class names.
2022-12-30 08:39:59 -03:00
431bde851c Add Select component
The Select component renders a list, and provides more flexibility
in how the element is styled (compared to a regular "<select>").
2022-12-28 04:01:23 -03:00
5a7f49c2c2 add LanguageSelect.tsx 2022-12-27 03:42:20 -03:00
7d68da0293 Fix CSS precendence of media rules
Adjust <=595px rule to a height of 330px.
Ref #53
2022-12-24 14:22:01 -03:00
0cf6089fb7 Fit content on 1378x768 device (follow up)
The previous commits broke support on Chrome / Safari on iOS.
`HTMLElement.scroll` does not seem to work when the height is set
as a percentage. This commit also uses `HTMLElement#scrollHeight`
instead of "offsetHeight".
2022-12-24 14:13:22 -03:00
c928f56601 Fit content on 1368x768 device (follow up)
Follow up to 80881311badb47133cbcdf440ee0cf470efae6ae
2022-12-24 13:01:53 -03:00
8d076fc5d6 Fit content (vertically) on 1368x768 device
I bought a new laptop recently, and I discovered that I couldn't view
a surah without a vertical scroll bar. The timer for an ayah wasn't
visible without scrolling. This change will hopefully address that.
2022-12-24 11:50:06 -03:00
b7d6c9262e Rules: add a more precise compilation rule 2022-11-28 00:33:23 -03:00
aca7450b81 src/css: remove unneccessary styles. 2022-11-28 00:33:23 -03:00
45a39b6d25 src/css: assign meaningful class names to "span:first-child" 2022-11-20 06:31:00 -03:00
eadc482e07 swap css variable with scss variable. 2022-11-20 06:31:00 -03:00
dfd6d2bdb4 src/css/: add improvements 2022-11-20 06:31:00 -03:00
94ec17940b src/css/: 'ltr' on select
we only have english theme names (for now) - rtl doesn't make sense.
2022-11-06 07:16:52 -03:00
92ad7af99b src/: s/leaf/moon/ 2022-11-06 07:13:00 -03:00
0254d444e9 src/: allow locale-specific styles 2022-11-06 07:11:27 -03:00
bc6f6f4617 improve layout on mobile 2022-11-02 07:26:58 -03:00
c28e7497d4 fix a couple of 404s, and 'rake deploy:local' 2022-11-02 06:23:24 -03:00
93c8b110b8 themes/leaf.scss: bold, green font 2022-10-31 15:39:30 -03:00
8c4646ca5b src/: add src/css 2022-10-31 15:36:12 -03:00