Choosing between a reset / normalize is something that should be done when the theme is starting to be developed—if there were going to be a complete rewrite of the style from scratch, it would be worth considering, but it isn't worth changing from one to the other when the style has already been developed.keith10456 wrote:I'm pretty ignorant to css so have patience with me.
Is this something that should/could be considered for 3.2?
[RFC] Replace CSS Reset to normalize.css in prosilver
- callumacrae
- Former Team Member
- Posts: 1046
- Joined: Tue Apr 27, 2010 9:37 am
- Location: England
- Contact:
Re: [RFC] Replace CSS Reset to normalize.css in prosilver
Re: [RFC] Replace CSS Reset to normalize.css in prosilver
+1callumacrae wrote:Choosing between a reset / normalize is something that should be done when the theme is starting to be developed—if there were going to be a complete rewrite of the style from scratch, it would be worth considering, but it isn't worth changing from one to the other when the style has already been developed.
Changing from reset to normalize would mean going over many margins, paddings, borders, etc. again. IMHO, there is absolutely no advantage in this change once a style is finished.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.
Re: [RFC] Replace CSS Reset to normalize.css in prosilver
To implement normalize we need to make sure that all the html tags used in the script are styling in our css file, with reservation that not all html elements must be set styling. Most of the work makes up normalize.
For example, a div element no requires styling at all because all browsers are set on the div element margin and padding 0.
It is different from the element dl in any browser margin is set differently in this case, we need to apply the margin to the page is not spoiled when the browser engine will meet this element.
In my opinion you need to do sitemap html elements used in the script and see which elements need to be stylish by us and which do not.
Introduction normalize not only purifies the css, but also keep pace with new browsers - mobile and desktop.
or
For example, to discover it would have to test phpbb on all browsers and follow the default behavior of each of them. Already someone to do it for you.
For example, a div element no requires styling at all because all browsers are set on the div element margin and padding 0.
It is different from the element dl in any browser margin is set differently in this case, we need to apply the margin to the page is not spoiled when the browser engine will meet this element.
In my opinion you need to do sitemap html elements used in the script and see which elements need to be stylish by us and which do not.
Introduction normalize not only purifies the css, but also keep pace with new browsers - mobile and desktop.
Code: Select all
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
Code: Select all
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
Re: [RFC] Replace CSS Reset to normalize.css in prosilver
-1
This is something that will be in a new theme, but is not something that is anyway beneficial to prosilver as its a completed "decaying" style. Their is so much that needs to be addressed within a new theme already that this alone would have little improvement.
This is something that will be in a new theme, but is not something that is anyway beneficial to prosilver as its a completed "decaying" style. Their is so much that needs to be addressed within a new theme already that this alone would have little improvement.