aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/prosilver/theme/base.css')
-rw-r--r--phpBB/styles/prosilver/theme/base.css57
1 files changed, 37 insertions, 20 deletions
diff --git a/phpBB/styles/prosilver/theme/base.css b/phpBB/styles/prosilver/theme/base.css
index 98c57d9264..f4daeee1e5 100644
--- a/phpBB/styles/prosilver/theme/base.css
+++ b/phpBB/styles/prosilver/theme/base.css
@@ -1,6 +1,6 @@
-/* --------------------------------------------------------------
+/* -------------------------------------------------------------- /*
$Base
--------------------------------------------------------------- */
+/* -------------------------------------------------------------- */
/** {
-webkit-box-sizing: border-box;
@@ -12,19 +12,25 @@
-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. _NO__DOTCOMMA__AFTER__*/
+/*
+ * 1. Define your base font-size here (16px), most elements will inherit this.
+ * 2. 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.)
+*/
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__*/
+ font-size: 16px; /* [1] */
+ line-height: 1.5; /* [2] */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- color: #333333;
background-color: #ffffff;
+ color: #333333;
}
input,
@@ -36,26 +42,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 +80,10 @@ h5,
h6,
figure,
p,
-pre { margin: 0 }
+pre {
+ margin: 0;
+}
+
button {
background: transparent;
border: 0;
@@ -81,8 +95,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 +104,15 @@ fieldset {
padding: 0;
}
-iframe { border: 0 }
+iframe {
+ border: 0;
+}
+
ol,
ul {
- list-style: none;
margin: 0;
padding: 0;
+ list-style: none;
}
/**
@@ -104,7 +120,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 +130,3 @@ ul {
abbr[title] {
text-decoration: none;
}
-