Explorar o código

add IE hacks

woo! IE5+ is now supported.
Owen Versteeg %!s(int64=12) %!d(string=hai) anos
pai
achega
71ba1b21bf
Modificáronse 3 ficheiros con 14 adicións e 6 borrados
  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>
-<html>
+<!--[if !IE]><html><![endif]--><!--[if lte IE 7]><html class="ie"><![endif]-->
 	<head>
 		<meta charset="UTF-8">
 		<title>min</title>

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
index.html


+ 13 - 5
min.less

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

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio