1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-23 08:43:02 +02:00

[ticket/14865] Fix all fixable linting issues

PHPBB3-14865
This commit is contained in:
hanakin
2016-11-24 12:26:45 +01:00
parent 39572a3aa0
commit 452261e806
17 changed files with 2237 additions and 1552 deletions

View File

@@ -12,19 +12,21 @@
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}*/
}
*/
/* Define your base font-size here; most elements will inherit this. */
/* Define your base font-size here; most elements will inherit this. _NO__DOTCOMMA__AFTER__*/
html {
font-size: 1em; /* Assuming 16px... */
line-height: 1.5; /* 24px (This is now our magic number; all subsequent margin-bottoms and line-heights want to be a multiple of this number in order to maintain vertical rhythm.) _NO__DOTCOMMA__AFTER__*/
line-height: 1.5; /* 24px (This is now our magic number; all subsequent margin-bottoms and line-heights want to be a multiple of this number in order to maintain vertical rhythm.) */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333333;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #ffffff;
color: #333333;
}
input,
@@ -36,26 +38,31 @@ textarea {
line-height: inherit;
}
figure { margin: 0 }
img { vertical-align: middle }
figure {
margin: 0;
}
img {
vertical-align: middle;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #e5e5e5;
margin-top: 20px;
margin-bottom: 20px;
}
a {
color: #428bca;
text-decoration: none;
color: #428bca;
}
a:hover,
a:focus,
a:active {
color: #2a6496;
text-decoration: underline;
color: #2a6496;
}
blockquote,
@@ -69,7 +76,10 @@ h5,
h6,
figure,
p,
pre { margin: 0 }
pre {
margin: 0;
}
button {
background: transparent;
border: 0;
@@ -81,8 +91,7 @@ button {
* results in a loss of the default `button` focus styles.
*/
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
outline: 1px dotted 5px auto -webkit-focus-ring-color;
}
fieldset {
@@ -91,12 +100,15 @@ fieldset {
padding: 0;
}
iframe { border: 0 }
iframe {
border: 0;
}
ol,
ul {
list-style: none;
margin: 0;
padding: 0;
list-style: none;
}
/**
@@ -104,7 +116,9 @@ ul {
* This prevents an unwanted focus outline from appearing around elements that
* might still respond to pointer events.
*/
[tabindex="-1"]:focus { outline: none !important }
[tabindex='-1']:focus {
outline: none !important;
}
/**
* Remove double underline from recent version of firefox
@@ -112,4 +126,3 @@ ul {
abbr[title] {
text-decoration: none;
}