82 lines
2.5 KiB
CSS
Executable file
82 lines
2.5 KiB
CSS
Executable file
/* --------------------------------------------------------------
|
|
|
|
ie.css
|
|
|
|
Contains every hack for Internet Explorer,
|
|
so that our core files stay sweet and nimble.
|
|
|
|
-------------------------------------------------------------- */
|
|
|
|
/* Make sure the layout is centered in IE5 */
|
|
body { text-align: center; }
|
|
.container { text-align: left; }
|
|
|
|
/* Fixes IE margin bugs */
|
|
* html .column, * html div.span-1, * html div.span-2,
|
|
* html div.span-3, * html div.span-4, * html div.span-5,
|
|
* html div.span-6, * html div.span-7, * html div.span-8,
|
|
* html div.span-9, * html div.span-10, * html div.span-11,
|
|
* html div.span-12, * html div.span-13, * html div.span-14,
|
|
* html div.span-15, * html div.span-16, * html div.span-17,
|
|
* html div.span-18, * html div.span-19, * html div.span-20,
|
|
* html div.span-21, * html div.span-22, * html div.span-23,
|
|
* html div.span-24 { overflow-x: hidden; }
|
|
|
|
|
|
/* Elements
|
|
-------------------------------------------------------------- */
|
|
|
|
/* Fixes incorrect styling of legend in IE6. */
|
|
* html legend { margin:0px -8px 16px 0; padding:0; }
|
|
|
|
/* Fixes incorrect placement of ol numbers in IE6/7. */
|
|
ol { margin-left:2em; }
|
|
|
|
/* Fixes wrong line-height on sup/sub in IE. */
|
|
sup { vertical-align: text-top; }
|
|
sub { vertical-align: text-bottom; }
|
|
|
|
/* Fixes IE7 missing wrapping of code elements. */
|
|
html>body p code { *white-space: normal; }
|
|
|
|
/* IE 6&7 has problems with setting proper <hr> margins. */
|
|
hr { margin: -8px auto 11px; }
|
|
|
|
|
|
/* Clearing
|
|
-------------------------------------------------------------- */
|
|
|
|
/* Makes clearfix actually work in IE */
|
|
.clearfix, .container {display: inline-block;}
|
|
* html .clearfix,
|
|
* html .container {height: 1%;}
|
|
|
|
/* Fix for peekaboo bug in IE7 and IE6 detailed at http://www.zeldman.com/2006/10/27/ie7fixes1/ */
|
|
html #content { height: 1%; }
|
|
|
|
/* Forms
|
|
-------------------------------------------------------------- */
|
|
|
|
/* Fixes padding on fieldset */
|
|
fieldset {padding-top: 0;}
|
|
|
|
/* Fixing lack of support for :hover on plus/minus toggle controls */
|
|
* html div.navlinkblock div.extraEntities {
|
|
display: block;
|
|
}
|
|
|
|
/* Fixing incorrect negative margins for bars that contain property names */
|
|
* html .propertyName {
|
|
margin-left: -6px;
|
|
}
|
|
|
|
/* IE6 doesn't support hover, so we're forcing edit links to remain visible */
|
|
* html span.editLinks,
|
|
* html em.nonEditable {
|
|
display: inline;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
/* IE6 having trouble with the margins/padding on the admin panels */
|
|
/** html div.top { padding: 7px 0 1px 0; }*/
|
|
/** html div.bottom { padding: 1px 12px 16px 12px; }*/
|