Skip to content

Commit

Permalink
Fix phpbb css (#25)
Browse files Browse the repository at this point in the history
* fix css warnings

* Fix css with autoprefixer

https://github.com/postcss/autoprefixer

* formatting improved
  • Loading branch information
Tealk authored Oct 25, 2022
1 parent 6709c76 commit 68d80e1
Show file tree
Hide file tree
Showing 16 changed files with 3,810 additions and 3,265 deletions.
78 changes: 44 additions & 34 deletions assets/styles/prosilver/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,46 +16,50 @@

/* 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__*/
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
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__*/
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333333;
background-color: #ffffff;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #333333;
background-color: #ffffff;
}

input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
font-family: inherit;
font-size: inherit;
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;
border: 0;
border-top: 1px solid #e5e5e5;
}

a {
color: #428bca;
text-decoration: none;
color: #428bca;
text-decoration: none;
}

a:hover,
a:focus,
a:active {
color: #2a6496;
text-decoration: underline;
color: #2a6496;
text-decoration: underline;
}

blockquote,
Expand All @@ -69,46 +73,52 @@ h5,
h6,
figure,
p,
pre { margin: 0; }
pre {
margin: 0;
}
button {
background: transparent;
border: 0;
padding: 0;
background: transparent;
border: 0;
padding: 0;
}

/**
* Work around a Firefox/IE bug where the transparent `button` background
* 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;
outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
border: 0;
margin: 0;
padding: 0;
border: 0;
margin: 0;
padding: 0;
}

iframe { border: 0; }
iframe {
border: 0;
}
ol,
ul {
list-style: none;
margin: 0;
padding: 0;
list-style: none;
margin: 0;
padding: 0;
}

/**
* Suppress the focus outline on links that cannot be accessed via keyboard.
* 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
*/
abbr[title] {
text-decoration: none;
text-decoration: none;
}
Loading

0 comments on commit 68d80e1

Please sign in to comment.