humanmade / humanmade/Restsplain

Reduce reliance on theme stylesheet

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
157
Forks
18
PR merge metrics
No merged PRs in 30d

Description

This is related to #24 but perhaps much easier to implement.
It only requires css rules applied to the Restplain-specific elements.
Specifically, reduce all reliance on theme's `body` styling.

Attached screenshot of Restplain page on site with following style:
```
body{
background-color: black;
color: white;
direction: rtl;
}
```
![restplain](https://user-images.githubusercontent.com/24979061/75918333-38265c00-5e64-11ea-8300-c68e90529920.jpg)
Not a :happy-face:

IMHO Restplain page should use `user_locale()` and not `site_locale()` but either way, current page is not `i12n`-ized or `l10n`-ized. So it should set `direction: ltr` explicitly. As well as specifically style all 3 main colums.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.