diff --git a/README.md b/README.md index c1b312d..b3243f4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Wider Github -Wider Github is a Chrome extension that allows you to maximize your screen size when looking at codes on Github. This extension is not affiliated with Github. +Wider Github is a Chrome extension that allows you to maximize your screen size when looking at codes on Github. Works on commit code and READMEs. This extension is not affiliated with Github. Download this repo at https://github.com/tmlee/wider_github/archive/master.zip diff --git a/regular.css b/regular.css index 74b738f..c4715ff 100644 --- a/regular.css +++ b/regular.css @@ -1,11 +1,17 @@ /* Code View */ -#js-repo-pjax-container{ +/*#js-repo-pjax-container{ width: 920px; left: initial; margin: initial; position: initial; -} + + left: initial; + z-index: initial; + width: initial; + margin: initial; + z-index: 0; +}*/ /* Gist */ @@ -26,8 +32,24 @@ div.column{ margin: initial; } -/* Pull Request */ +/* For Reamdes */ +#readme { + position: relative; + left: 0px; + width: 100%; + z-index: 0; +} + +/* For file/commit view */ +div.file-box { + position: relative; + left: 0px; + width: 100%; + z-index: 0; +} +/* Pull Request */ +/* div.file .meta .info .css-truncate-target { max-width: 600px; } @@ -36,4 +58,5 @@ div.file .meta .info { div.site-footer, div#all_commit_comments, div.thread-subscription-status { visibility: initial; -} +}*/ + diff --git a/widen.css b/widen.css index 3f0ba69..f2c1aa6 100644 --- a/widen.css +++ b/widen.css @@ -1,11 +1,12 @@ /* Code View */ -#js-repo-pjax-container{ +/*#js-repo-pjax-container{ width: 94%; left: 0px; margin: 0px 3%; position: absolute; -} + z-index: 1; +}*/ /* Gist */ @@ -25,8 +26,24 @@ div.column{ margin: 0 1%; } -/* Pull Request */ +/* For Reamdes */ +#readme { + position: absolute; + left: 10px; + width: 99%; + z-index: 1; +} + +/* For file/commit view */ +div.file-box { + position: absolute; + left: 10px; + width: 99%; + z-index: 1; +} +/* Pull Request */ +/* div.file .meta .info .css-truncate-target { max-width: 85%; } @@ -35,4 +52,5 @@ div.file .meta .info { div.site-footer, div#all_commit_comments, div.thread-subscription-status { visibility: hidden; -} +}*/ +