浏览代码

add IE hacks

woo! IE5+ is now supported.
Owen Versteeg 12 年之前
父节点
当前提交
71ba1b21bf
共有 3 个文件被更改,包括 14 次插入6 次删除
  1. 1 1
      beta.html
  2. 0 0
      index.html
  3. 13 5
      min.less

+ 1 - 1
beta.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
 <!DOCTYPE html>
-<html>
+<!--[if !IE]><html><![endif]--><!--[if lte IE 7]><html class="ie"><![endif]-->
 	<head>
 	<head>
 		<meta charset="UTF-8">
 		<meta charset="UTF-8">
 		<title>min</title>
 		<title>min</title>

文件差异内容过多而无法显示
+ 0 - 0
index.html


+ 13 - 5
min.less

@@ -16,11 +16,6 @@ a {
 	text-decoration: none;
 	text-decoration: none;
 }
 }
 
 
-.mediumwidth {
-	width: 40%;
-	margin-left: 30%
-}
-
 @media (max-width:870px) {
 @media (max-width:870px) {
 	.mediumwidth {
 	.mediumwidth {
 		width: 70%;
 		width: 70%;
@@ -38,6 +33,11 @@ a {
 	}
 	}
 }
 }
 
 
+.mediumwidth {
+	width: 40%;
+	margin-left: 30%
+}
+
 .thin {
 .thin {
 	font-weight: 100;
 	font-weight: 100;
 }
 }
@@ -224,4 +224,12 @@ message {
 	&.great {
 	&.great {
 		background: #A7E4AE;
 		background: #A7E4AE;
 	}
 	}
+}
+
+/*
+	IE hacks
+*/
+
+.ie .mediumwidth hr {
+	margin:100px auto; padding-left: 200px;
 }
 }

部分文件因为文件数量过多而无法显示