Skip to content

Commit

Permalink
CSS Coding Standards style.css file
Browse files Browse the repository at this point in the history
According to http://make.wordpress.org/core/handbook/coding-standards/css/ 
Each selector should be on its own line

One example:
```
ol, ul {
list-style: none;
}
```
Should be:
```
ol, 
ul {
list-style: none;
}


Automattic#503
  • Loading branch information
mkrdip committed May 29, 2014
1 parent 91d2514 commit 6ff57eb
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,28 @@ nav,
section {
display: block;
}
ol, ul {
ol,
ul {
list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
}
caption, th, td {
caption,
th,
td {
font-weight: normal;
text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
}
blockquote, q {
blockquote,
q {
quotes: "" "";
}
a:focus {
Expand Down Expand Up @@ -138,16 +144,25 @@ textarea {
font-size: 1.6rem;
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
}
p {
margin-bottom: 1.5em;
}
b, strong {
b,
strong {
font-weight: bold;
}
dfn, cite, em, i {
dfn,
cite,
em,
i {
font-style: italic;
}
blockquote {
Expand All @@ -167,14 +182,19 @@ pre {
overflow: auto;
padding: 1.6em;
}
code, kbd, tt, var {
code,
kbd,
tt,
var {
font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
mark, ins {
mark,
ins {
background: #fff9c0;
text-decoration: none;
}
Expand Down Expand Up @@ -208,7 +228,8 @@ hr {
height: 1px;
margin-bottom: 1.5em;
}
ul, ol {
ul,
ol {
margin: 0 0 1.5em 3em;
}
ul {
Expand Down

0 comments on commit 6ff57eb

Please sign in to comment.