wp/wp-content/themes/twentytwelve/css/ie.css
changeset 5 5e2f62d02dcd
parent 0 d970ebf37754
equal deleted inserted replaced
4:346c88efed21 5:5e2f62d02dcd
    15 	margin-top: 0;
    15 	margin-top: 0;
    16 	padding: 0;
    16 	padding: 0;
    17 }
    17 }
    18 .assistive-text,
    18 .assistive-text,
    19 .site .screen-reader-text {
    19 .site .screen-reader-text {
    20 	clip: rect(1px 1px 1px 1px); /* IE7 */
    20 	clip: rect(1px 1px 1px 1px);
    21 }
    21 }
    22 .full-width .site-content {
    22 .full-width .site-content {
    23 	float: none;
    23 	float: none;
    24 	width: 100%;
    24 	width: 100%;
    25 }
    25 }
   102 .main-navigation li {
   102 .main-navigation li {
   103 	margin: 0 40px 0 0;
   103 	margin: 0 40px 0 0;
   104 	position: relative;
   104 	position: relative;
   105 }
   105 }
   106 .main-navigation li ul {
   106 .main-navigation li ul {
   107 	display: none;
       
   108 	margin: 0;
   107 	margin: 0;
   109 	padding: 0;
   108 	padding: 0;
   110 	position: absolute;
   109 	position: absolute;
   111 	top: 100%;
   110 	top: 100%;
   112 	z-index: 1;
   111 	z-index: 1;
       
   112 	height: 1px;
       
   113 	width: 1px;
       
   114 	overflow: hidden;
       
   115 	clip: rect(1px, 1px, 1px, 1px);
   113 }
   116 }
   114 .ie7 .main-navigation li ul {
   117 .ie7 .main-navigation li ul {
       
   118 	clip: inherit;
       
   119 	display: none;
   115 	left: 0;
   120 	left: 0;
       
   121 	overflow: visible;
   116 }
   122 }
   117 .main-navigation li ul ul,
   123 .main-navigation li ul ul,
   118 .ie7 .main-navigation li ul ul {
   124 .ie7 .main-navigation li ul ul {
   119 	top: 0;
   125 	top: 0;
   120 	left: 100%;
   126 	left: 100%;
   121 }
   127 }
   122 .main-navigation ul li:hover > ul {
   128 .main-navigation ul li:hover > ul,
       
   129 .main-navigation ul li:focus > ul,
       
   130 .main-navigation .focus > ul {
   123 	border-left: 0;
   131 	border-left: 0;
       
   132 	clip: inherit;
       
   133 	overflow: inherit;
       
   134 	height: inherit;
       
   135 	width: inherit;
       
   136 }
       
   137 .ie7 .main-navigation ul li:hover > ul,
       
   138 .ie7 .main-navigation ul li:focus > ul {
   124 	display: block;
   139 	display: block;
   125 }
   140 }
   126 .main-navigation li ul li a {
   141 .main-navigation li ul li a {
   127 	background: #efefef;
   142 	background: #efefef;
   128 	border-bottom: 1px solid #ededed;
   143 	border-bottom: 1px solid #ededed;
   141 .main-navigation .current_page_item > a,
   156 .main-navigation .current_page_item > a,
   142 .main-navigation .current_page_ancestor > a {
   157 .main-navigation .current_page_ancestor > a {
   143 	color: #636363;
   158 	color: #636363;
   144 	font-weight: bold;
   159 	font-weight: bold;
   145 }
   160 }
   146 .menu-toggle {
   161 .main-navigation .menu-toggle {
   147 	display: none;
   162 	display: none;
   148 }
   163 }
   149 .entry-header .entry-title {
   164 .entry-header .entry-title {
   150 	font-size: 22px;
   165 	font-size: 22px;
   151 }
   166 }
   166 .entry-page-image {
   181 .entry-page-image {
   167 	float: right;
   182 	float: right;
   168 	margin-bottom: 0;
   183 	margin-bottom: 0;
   169 	width: 47.916666667%;
   184 	width: 47.916666667%;
   170 }
   185 }
       
   186 /* IE Front Page Template Widget fix */
       
   187 .template-front-page .widget-area {
       
   188 	clear: both;
       
   189 }
       
   190 .template-front-page .widget {
       
   191 	width: 100% !important;
       
   192 	border: none;
       
   193 }
   171 .template-front-page .widget-area .widget,
   194 .template-front-page .widget-area .widget,
       
   195 .template-front-page .first.front-widgets,
   172 .template-front-page.two-sidebars .widget-area .front-widgets {
   196 .template-front-page.two-sidebars .widget-area .front-widgets {
   173 	float: left;
   197 	float: left;
   174 	margin-bottom: 24px;
   198 	margin-bottom: 24px;
   175 	width: 51.875%;
   199 	width: 51.875%;
   176 }
   200 }
       
   201 .template-front-page .second.front-widgets,
   177 .template-front-page .widget-area .widget:nth-child(odd) {
   202 .template-front-page .widget-area .widget:nth-child(odd) {
   178 	clear: right;
   203 	clear: right;
   179 }
   204 }
   180 .template-front-page .widget-area .widget:nth-child(even),
   205 .template-front-page .first.front-widgets,
       
   206 .template-front-page .second.front-widgets,
   181 .template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
   207 .template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets {
   182 	float: right;
   208 	float: right;
   183 	margin: 0 0 24px;
   209 	margin: 0 0 24px;
   184 	width: 39.0625%;
   210 	width: 39.0625%;
   185 }
   211 }
   186 .template-front-page.two-sidebars .widget,
   212 .template-front-page.two-sidebars .widget,
   187 .template-front-page.two-sidebars .widget:nth-child(even) {
   213 .template-front-page.two-sidebars .widget:nth-child(even) {
   188 	float: none;
   214 	float: none;
   189 	width: auto;
   215 	width: auto;
   190 }
   216 }
       
   217 /* add input font for <IE9 Password Box to make the bullets show up */
       
   218 input[type="password"] {
       
   219 	font-family: Helvetica, Arial, sans-serif;
       
   220 }
   191 
   221 
   192 /* =RTL overrides for IE7 and IE8
   222 /* RTL overrides for IE7 and IE8
   193 -------------------------------------------------------------- */
   223 -------------------------------------------------------------- */
   194 .rtl .site-header h1,
   224 .rtl .site-header h1,
   195 .rtl .site-header h2 {
   225 .rtl .site-header h2 {
   196 	text-align: right;
   226 	text-align: right;
   197 }
   227 }