Improving readability of documentation tables
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- css
- 領域
- design, documentation
調査の方向性
まず、issue で言及されている .py.method セレクターと .describe セレクターを使って、ドキュメントテーマの CSS とマークアップを見つけます。現在のテーブルのスタイルを提供された例と比較し、交互の背景と調整した間隔によって、意図しない要素を強調せずに読みやすさが向上することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Documentation
I was reading through the documentation and I thought of a way you could make it read better.
You could do the thing thats done with tables where you alternate the background color to make the elements easier to distinguish at a glance.
I made a quick example using inspect element to color every other method in the documentation.
vs what it looks like currently.
My quick test was done by adding
.py.method:nth-child(odd) {
background-color: #2d2d2d;
}
And replacing the margin on the dl elements with padding so the background color would fill it.
I originally used dl:nth-child(odd) but .py.method:nth-child(odd) worked better, but it would probably be better to add a new class to the elements you want highlight instead, because dl:nth-child(odd) highlights too much and .py.method:nth-child(odd) doesnt highlight all of the elements you would probably want highlighted.
*:is(.py.method, .describe):nth-child(odd of *:is(.py.method, .describe)) {
background-color: #2b2b2b;
}
Should work but adding a new class is probably easier to maintain and you could reuse it in more places.
- 主要言語
- CSS
- スター
- 90
- フォーク
- 78
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/python-docs-theme のほかの issue
-
bug help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
python/python-docs-theme#289 · コメント 7 件 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
python/python-docs-theme#217 · コメント 7 件 · リアクション 1 件 ·
-
enhancement github_actions
python/python-docs-theme#260 · コメント 6 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python/python-docs-theme#245 · コメント 3 件 ·
-
enhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
python/python-docs-theme#192 · コメント 9 件 ·
python/python-docs-theme の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lobehub/lobe-icons#422 · コメント 1 件 ·
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
henit-chobisa/deck#20 ·
-
2-medium bug UI Editor ui/ux
難易度 2/5 半日 初心者へのやさしさ 72/100
decentraland/creator-hub#1628 ·
-
Request: Lean オープンnew icon permissions in review
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
simple-icons/simple-icons#15031 ·