From f1ae1b2d6672bdca8cfb18fa5bb7574056dacf5f Mon Sep 17 00:00:00 2001 From: Maledong Date: Sat, 14 Aug 2021 10:23:17 +0800 Subject: [PATCH 1/3] f --- CONTRIBUTING.md | 4 ++ .../css/page-modules/_contributor-card.scss | 32 ---------------- layouts/css/page-modules/_footer.scss | 2 +- layouts/css/page-modules/_jsfoundation.scss | 12 +++++- layouts/css/styles.scss | 1 - layouts/partials/footer.hbs | 38 +++++++++++-------- locale/en/site.json | 1 + locale/zh-cn/site.json | 1 + 8 files changed, 40 insertions(+), 51 deletions(-) delete mode 100644 layouts/css/page-modules/_contributor-card.scss diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cd76eeb948d3f..7f7344eb07e80 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -58,3 +58,7 @@ resolution mechanism. Individuals with non-trivial contributions may be added as Collaborators. Collaborators are expected to follow this policy and continue to send pull requests and go through proper review. + +## How to contribute + +Please read more at [How to contribute](/README.md) diff --git a/layouts/css/page-modules/_contributor-card.scss b/layouts/css/page-modules/_contributor-card.scss deleted file mode 100644 index 699608986bed2..0000000000000 --- a/layouts/css/page-modules/_contributor-card.scss +++ /dev/null @@ -1,32 +0,0 @@ -.contributor-card { - display: flex; - align-items: center; - min-height: 42px; - width: 300px; - padding: 1.5em 1em; - margin: 1em auto; - border: 1px solid $white; - border-radius: 3px; - - > a { - height: 40px; - width: 40px; - flex: 0 0 auto; - } - - p { - padding-left: 1em; - margin: 0; - flex: 1 1 1px; - } - - .spinner-border { - margin: 5px; - } -} - -@media (max-width: 350px) { - .contributor-card { - width: auto; - } -} diff --git a/layouts/css/page-modules/_footer.scss b/layouts/css/page-modules/_footer.scss index 7e8b89a4bdaa3..4bbe4566a12db 100644 --- a/layouts/css/page-modules/_footer.scss +++ b/layouts/css/page-modules/_footer.scss @@ -6,7 +6,7 @@ footer { a, a:link, a:active { - color: $light-gray2; + color: rgb(173, 216, 230); } a:hover { diff --git a/layouts/css/page-modules/_jsfoundation.scss b/layouts/css/page-modules/_jsfoundation.scss index 588c3efb4115e..89fa866f3c3f3 100644 --- a/layouts/css/page-modules/_jsfoundation.scss +++ b/layouts/css/page-modules/_jsfoundation.scss @@ -4,6 +4,8 @@ color: $white; background: $node-gray; direction: ltr; + width: 60%; + float: left; p + p { margin-top: 0; @@ -17,7 +19,7 @@ } .issue-link { - text-align: right; + text-align: left; min-width: 330px; margin-left: auto; } @@ -37,6 +39,14 @@ } } +.help { + margin-top: 3em; + width: 40%; + margin-left: 50em; + font-size: 14px; + color: $white; +} + @media screen and (max-width: 700px) { .issue-link-container { flex-wrap: wrap; diff --git a/layouts/css/styles.scss b/layouts/css/styles.scss index e52775a0c5ae0..80d15119cc624 100644 --- a/layouts/css/styles.scss +++ b/layouts/css/styles.scss @@ -21,7 +21,6 @@ @import "page-modules/prev-next-navigation"; @import "page-modules/release-schedule"; @import "page-modules/resources"; -@import "page-modules/contributor-card"; @import "page-modules/spinner"; @import "vendor/prism-tomorrow"; diff --git a/layouts/partials/footer.hbs b/layouts/partials/footer.hbs index 6b7e62120ed5e..2ebd37ad22a48 100644 --- a/layouts/partials/footer.hbs +++ b/layouts/partials/footer.hbs @@ -1,6 +1,6 @@ {{site.scrollToTop}} - - \ No newline at end of file + From a040e446b6d6587921433bb020f163c339498fce Mon Sep 17 00:00:00 2001 From: Maledong Date: Sat, 14 Aug 2021 11:07:55 +0800 Subject: [PATCH 3/3] Update CONTRIBUTING.md Co-authored-by: Rich Trott --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f7344eb07e80..77b0fe19ef337 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,4 +61,4 @@ requests and go through proper review. ## How to contribute -Please read more at [How to contribute](/README.md) +Please read more at [How to contribute](/README.md#contributing)