{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103/website/pulls/comments/92526796","pull_request_review_id":13040755,"id":92526796,"diff_hunk":"@@ -0,0 +1,217 @@\n+# CSS Coding Standard\n+\n+## Contents\n+ - [General](#general)\n+ - [CSS Files](#css-files)\n+ - [Sections](#sections)\n+ - [Selectors](#selectors)\n+   - [Selector Formatting](#selector-formatting)\n+   - [Use of Efficient selectors](#use-of-efficient-selectors)\n+ - [Classes](#classes)\n+   - [Naming Standards](#naming-standards)    \n+ - [Attributes](#attributes)\n+   - [Order of attributes](#order-of-attributes)\n+   - [Attribute Formatting](#attribute-formatting)\n+   - [General Details](#general-details)\n+ - [Resources](#resources)\n+   - [Highly Recommended](#highly-recommended)\n+   - [Other Readings](#other-readings)\n+\n+## General<a name=\"general\"></a>\n+ We are using the [Google CSS Style Guide](https://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml) as our primary guide and have made a few changes to suit TEAMMATES project. The Google Style Document shall be used for any topics not covered in this document.\n+\n+ We are using Bootstrap front-end framework to ease our styling efforts.\n+\n+>  Use bootstrap classes wherever possible and as much as possible. In those rare occasions that additional \n+   rules are needed, follow the standard given below. \n+\n+ We only have one CSS file for the entire website.","path":"contents/coding-standards-css.md","position":28,"original_position":28,"commit_id":"6f07f8f09d73b8072db4c2ecd073f218f60c9ece","original_commit_id":"6f07f8f09d73b8072db4c2ecd073f218f60c9ece","user":{"login":"acjh","id":14091939,"avatar_url":"https://avatars.githubusercontent.com/u/14091939?v=3","gravatar_id":"","url":"https://api.github.com/users/acjh","html_url":"https://github.com/acjh","followers_url":"https://api.github.com/users/acjh/followers","following_url":"https://api.github.com/users/acjh/following{/other_user}","gists_url":"https://api.github.com/users/acjh/gists{/gist_id}","starred_url":"https://api.github.com/users/acjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acjh/subscriptions","organizations_url":"https://api.github.com/users/acjh/orgs","repos_url":"https://api.github.com/users/acjh/repos","events_url":"https://api.github.com/users/acjh/events{/privacy}","received_events_url":"https://api.github.com/users/acjh/received_events","type":"User","site_admin":false},"body":"We have three CSS files for the entire website: `common.css`, `handbook.css` and `markdown.css`.\r\n(Any phrase that implies \"only one\" needs to be modified.)","created_at":"2016-12-15T01:18:45Z","updated_at":"2016-12-15T01:58:04Z","html_url":"https://github.com/nus-cs2103/website/pull/197#discussion_r92526796","pull_request_url":"https://api.github.com/repos/nus-cs2103/website/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/comments/92526796"},"html":{"href":"https://github.com/nus-cs2103/website/pull/197#discussion_r92526796"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103/website/pulls/197","id":96422085,"html_url":"https://github.com/nus-cs2103/website/pull/197","diff_url":"https://github.com/nus-cs2103/website/pull/197.diff","patch_url":"https://github.com/nus-cs2103/website/pull/197.patch","issue_url":"https://api.github.com/repos/nus-cs2103/website/issues/197","number":197,"state":"open","locked":false,"title":"Add a CSS coding standard #92","user":{"login":"nsaiisasidhar","id":22509968,"avatar_url":"https://avatars.githubusercontent.com/u/22509968?v=3","gravatar_id":"","url":"https://api.github.com/users/nsaiisasidhar","html_url":"https://github.com/nsaiisasidhar","followers_url":"https://api.github.com/users/nsaiisasidhar/followers","following_url":"https://api.github.com/users/nsaiisasidhar/following{/other_user}","gists_url":"https://api.github.com/users/nsaiisasidhar/gists{/gist_id}","starred_url":"https://api.github.com/users/nsaiisasidhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsaiisasidhar/subscriptions","organizations_url":"https://api.github.com/users/nsaiisasidhar/orgs","repos_url":"https://api.github.com/users/nsaiisasidhar/repos","events_url":"https://api.github.com/users/nsaiisasidhar/events{/privacy}","received_events_url":"https://api.github.com/users/nsaiisasidhar/received_events","type":"User","site_admin":false},"body":"Fixes #92 \r\n\r\nPlease let me know in case any more improvements have to be made.","created_at":"2016-12-04T05:25:38Z","updated_at":"2016-12-15T01:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"427ec0d288b1e60fe1143ccd8e1e64f12c8f174c","assignee":{"login":"acjh","id":14091939,"avatar_url":"https://avatars.githubusercontent.com/u/14091939?v=3","gravatar_id":"","url":"https://api.github.com/users/acjh","html_url":"https://github.com/acjh","followers_url":"https://api.github.com/users/acjh/followers","following_url":"https://api.github.com/users/acjh/following{/other_user}","gists_url":"https://api.github.com/users/acjh/gists{/gist_id}","starred_url":"https://api.github.com/users/acjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acjh/subscriptions","organizations_url":"https://api.github.com/users/acjh/orgs","repos_url":"https://api.github.com/users/acjh/repos","events_url":"https://api.github.com/users/acjh/events{/privacy}","received_events_url":"https://api.github.com/users/acjh/received_events","type":"User","site_admin":false},"assignees":[{"login":"acjh","id":14091939,"avatar_url":"https://avatars.githubusercontent.com/u/14091939?v=3","gravatar_id":"","url":"https://api.github.com/users/acjh","html_url":"https://github.com/acjh","followers_url":"https://api.github.com/users/acjh/followers","following_url":"https://api.github.com/users/acjh/following{/other_user}","gists_url":"https://api.github.com/users/acjh/gists{/gist_id}","starred_url":"https://api.github.com/users/acjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acjh/subscriptions","organizations_url":"https://api.github.com/users/acjh/orgs","repos_url":"https://api.github.com/users/acjh/repos","events_url":"https://api.github.com/users/acjh/events{/privacy}","received_events_url":"https://api.github.com/users/acjh/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103/website/pulls/197/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103/website/pulls/197/comments","review_comment_url":"https://api.github.com/repos/nus-cs2103/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-cs2103/website/issues/197/comments","statuses_url":"https://api.github.com/repos/nus-cs2103/website/statuses/6f07f8f09d73b8072db4c2ecd073f218f60c9ece","head":{"label":"nsaiisasidhar:92-add-a-CSS-coding-standard","ref":"92-add-a-CSS-coding-standard","sha":"6f07f8f09d73b8072db4c2ecd073f218f60c9ece","user":{"login":"nsaiisasidhar","id":22509968,"avatar_url":"https://avatars.githubusercontent.com/u/22509968?v=3","gravatar_id":"","url":"https://api.github.com/users/nsaiisasidhar","html_url":"https://github.com/nsaiisasidhar","followers_url":"https://api.github.com/users/nsaiisasidhar/followers","following_url":"https://api.github.com/users/nsaiisasidhar/following{/other_user}","gists_url":"https://api.github.com/users/nsaiisasidhar/gists{/gist_id}","starred_url":"https://api.github.com/users/nsaiisasidhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsaiisasidhar/subscriptions","organizations_url":"https://api.github.com/users/nsaiisasidhar/orgs","repos_url":"https://api.github.com/users/nsaiisasidhar/repos","events_url":"https://api.github.com/users/nsaiisasidhar/events{/privacy}","received_events_url":"https://api.github.com/users/nsaiisasidhar/received_events","type":"User","site_admin":false},"repo":{"id":73568068,"name":"website","full_name":"nsaiisasidhar/website","owner":{"login":"nsaiisasidhar","id":22509968,"avatar_url":"https://avatars.githubusercontent.com/u/22509968?v=3","gravatar_id":"","url":"https://api.github.com/users/nsaiisasidhar","html_url":"https://github.com/nsaiisasidhar","followers_url":"https://api.github.com/users/nsaiisasidhar/followers","following_url":"https://api.github.com/users/nsaiisasidhar/following{/other_user}","gists_url":"https://api.github.com/users/nsaiisasidhar/gists{/gist_id}","starred_url":"https://api.github.com/users/nsaiisasidhar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsaiisasidhar/subscriptions","organizations_url":"https://api.github.com/users/nsaiisasidhar/orgs","repos_url":"https://api.github.com/users/nsaiisasidhar/repos","events_url":"https://api.github.com/users/nsaiisasidhar/events{/privacy}","received_events_url":"https://api.github.com/users/nsaiisasidhar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nsaiisasidhar/website","description":"CS2103 website","fork":true,"url":"https://api.github.com/repos/nsaiisasidhar/website","forks_url":"https://api.github.com/repos/nsaiisasidhar/website/forks","keys_url":"https://api.github.com/repos/nsaiisasidhar/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsaiisasidhar/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsaiisasidhar/website/teams","hooks_url":"https://api.github.com/repos/nsaiisasidhar/website/hooks","issue_events_url":"https://api.github.com/repos/nsaiisasidhar/website/issues/events{/number}","events_url":"https://api.github.com/repos/nsaiisasidhar/website/events","assignees_url":"https://api.github.com/repos/nsaiisasidhar/website/assignees{/user}","branches_url":"https://api.github.com/repos/nsaiisasidhar/website/branches{/branch}","tags_url":"https://api.github.com/repos/nsaiisasidhar/website/tags","blobs_url":"https://api.github.com/repos/nsaiisasidhar/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsaiisasidhar/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsaiisasidhar/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsaiisasidhar/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsaiisasidhar/website/statuses/{sha}","languages_url":"https://api.github.com/repos/nsaiisasidhar/website/languages","stargazers_url":"https://api.github.com/repos/nsaiisasidhar/website/stargazers","contributors_url":"https://api.github.com/repos/nsaiisasidhar/website/contributors","subscribers_url":"https://api.github.com/repos/nsaiisasidhar/website/subscribers","subscription_url":"https://api.github.com/repos/nsaiisasidhar/website/subscription","commits_url":"https://api.github.com/repos/nsaiisasidhar/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsaiisasidhar/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsaiisasidhar/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsaiisasidhar/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsaiisasidhar/website/contents/{+path}","compare_url":"https://api.github.com/repos/nsaiisasidhar/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsaiisasidhar/website/merges","archive_url":"https://api.github.com/repos/nsaiisasidhar/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsaiisasidhar/website/downloads","issues_url":"https://api.github.com/repos/nsaiisasidhar/website/issues{/number}","pulls_url":"https://api.github.com/repos/nsaiisasidhar/website/pulls{/number}","milestones_url":"https://api.github.com/repos/nsaiisasidhar/website/milestones{/number}","notifications_url":"https://api.github.com/repos/nsaiisasidhar/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsaiisasidhar/website/labels{/name}","releases_url":"https://api.github.com/repos/nsaiisasidhar/website/releases{/id}","deployments_url":"https://api.github.com/repos/nsaiisasidhar/website/deployments","created_at":"2016-11-12T17:37:27Z","updated_at":"2016-11-12T17:37:28Z","pushed_at":"2016-12-14T21:25:19Z","git_url":"git://github.com/nsaiisasidhar/website.git","ssh_url":"git@github.com:nsaiisasidhar/website.git","clone_url":"https://github.com/nsaiisasidhar/website.git","svn_url":"https://github.com/nsaiisasidhar/website","homepage":null,"size":20656,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nus-cs2103:master","ref":"master","sha":"c6f8f1d375de732c48aafffe56b73d881e9d712d","user":{"login":"nus-cs2103","id":13566008,"avatar_url":"https://avatars.githubusercontent.com/u/13566008?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103","html_url":"https://github.com/nus-cs2103","followers_url":"https://api.github.com/users/nus-cs2103/followers","following_url":"https://api.github.com/users/nus-cs2103/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103/orgs","repos_url":"https://api.github.com/users/nus-cs2103/repos","events_url":"https://api.github.com/users/nus-cs2103/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103/received_events","type":"Organization","site_admin":false},"repo":{"id":41247270,"name":"website","full_name":"nus-cs2103/website","owner":{"login":"nus-cs2103","id":13566008,"avatar_url":"https://avatars.githubusercontent.com/u/13566008?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103","html_url":"https://github.com/nus-cs2103","followers_url":"https://api.github.com/users/nus-cs2103/followers","following_url":"https://api.github.com/users/nus-cs2103/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103/orgs","repos_url":"https://api.github.com/users/nus-cs2103/repos","events_url":"https://api.github.com/users/nus-cs2103/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-cs2103/website","description":"CS2103 website","fork":false,"url":"https://api.github.com/repos/nus-cs2103/website","forks_url":"https://api.github.com/repos/nus-cs2103/website/forks","keys_url":"https://api.github.com/repos/nus-cs2103/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-cs2103/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-cs2103/website/teams","hooks_url":"https://api.github.com/repos/nus-cs2103/website/hooks","issue_events_url":"https://api.github.com/repos/nus-cs2103/website/issues/events{/number}","events_url":"https://api.github.com/repos/nus-cs2103/website/events","assignees_url":"https://api.github.com/repos/nus-cs2103/website/assignees{/user}","branches_url":"https://api.github.com/repos/nus-cs2103/website/branches{/branch}","tags_url":"https://api.github.com/repos/nus-cs2103/website/tags","blobs_url":"https://api.github.com/repos/nus-cs2103/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-cs2103/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-cs2103/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-cs2103/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-cs2103/website/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-cs2103/website/languages","stargazers_url":"https://api.github.com/repos/nus-cs2103/website/stargazers","contributors_url":"https://api.github.com/repos/nus-cs2103/website/contributors","subscribers_url":"https://api.github.com/repos/nus-cs2103/website/subscribers","subscription_url":"https://api.github.com/repos/nus-cs2103/website/subscription","commits_url":"https://api.github.com/repos/nus-cs2103/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-cs2103/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-cs2103/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-cs2103/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-cs2103/website/contents/{+path}","compare_url":"https://api.github.com/repos/nus-cs2103/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-cs2103/website/merges","archive_url":"https://api.github.com/repos/nus-cs2103/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-cs2103/website/downloads","issues_url":"https://api.github.com/repos/nus-cs2103/website/issues{/number}","pulls_url":"https://api.github.com/repos/nus-cs2103/website/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-cs2103/website/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-cs2103/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-cs2103/website/labels{/name}","releases_url":"https://api.github.com/repos/nus-cs2103/website/releases{/id}","deployments_url":"https://api.github.com/repos/nus-cs2103/website/deployments","created_at":"2015-08-23T11:37:17Z","updated_at":"2016-12-07T13:21:35Z","pushed_at":"2016-12-14T21:25:20Z","git_url":"git://github.com/nus-cs2103/website.git","ssh_url":"git@github.com:nus-cs2103/website.git","clone_url":"https://github.com/nus-cs2103/website.git","svn_url":"https://github.com/nus-cs2103/website","homepage":null,"size":20675,"stargazers_count":13,"watchers_count":13,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":72,"mirror_url":null,"open_issues_count":23,"forks":72,"open_issues":23,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/197"},"html":{"href":"https://github.com/nus-cs2103/website/pull/197"},"issue":{"href":"https://api.github.com/repos/nus-cs2103/website/issues/197"},"comments":{"href":"https://api.github.com/repos/nus-cs2103/website/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-cs2103/website/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103/website/statuses/6f07f8f09d73b8072db4c2ecd073f218f60c9ece"}}}}
{"actor":{"display_login":"acjh"}}