Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Upgrade HTML 4 Tripoli CSS reset to something more like the html5 doctor one: http://html5doctor.com/html-5-reset-stylesheet/
- Remove html5.css
Add IE conditional classes to either the body tag or the html tag instead of IE conditional style sheets.
- Less load time. Less hacks.
- Update ie css fixes to use new descendant selectors instead of conditional stylesheets and hack selectors.
Provide a default handheld.css file
- Could be commented out by default like all.css
Add class="no-js" to html tag
Remove clearblock from css documents as it is now legacy in D7
Comments
Comment #1
sherakama CreditAttribution: sherakama commentedModified the Tripoli CSS reset to maintain a bunch of the styling and include the new HTML5 elements reset
removed html5.css patch file
Added IE conditional fields to the body tag so there is no reason to include IE conditional stylesheets.
removed ie conditional css files
Added in a .less file and tested less module. Not working as expected. Will leave it for the themer to preprocess his/her own files
Added in a mobile.css file with some predefined media queries
added the no-js tag to the html element for non-javascript enabled browsers
removed legacy clearblock classes
Updated on github: https://github.com/sherakama/layoutstudio7
Comment #2
rhache CreditAttribution: rhache commentedFew notes here:
Comment #3
sherakama CreditAttribution: sherakama commentedI have removed the IE conditional tags in the development branch on github and will leave them to be added by the browserclass module.
the no-js class that is on the body tag is hard coded. Do we really need to do this at the template.php level? For those browsers that have js enabled it is removed and a longer list of classes is added with modernizr.
Comment #4
sherakama CreditAttribution: sherakama commentedsorry dev branch is here: https://github.com/rhache/layoutstudio7/tree/shea
Comment #5
rhache CreditAttribution: rhache commented