Parcourir la source

only apply background gradient to <html>

Hakim El Hattab il y a 12 ans
Parent
commit
01000e1478
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      css/main.css

+ 3 - 3
css/main.css

@@ -32,14 +32,15 @@ html, body {
 	font-weight: 200;
 	letter-spacing: -0.02em;
 	
-	background: #111;
 	color: #eee;
 	
 	width: 100%;
 	height: 100%;
 
 	min-height: 600px;
+}
 
+html {
 	background: #555a5f;
 	background: -moz-radial-gradient(center, ellipse cover, #555a5f 0%, #1c1e20 100%);
 	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#555a5f), color-stop(100%,#1c1e20));
@@ -49,7 +50,6 @@ html, body {
 	background: radial-gradient(center, ellipse cover, #555a5f 0%,#1c1e20 100%);
 }
 
-
 /*********************************************
  * HEADERS
  *********************************************/
@@ -467,7 +467,7 @@ section img {
  *********************************************/
 
 .progress {
-	position: absolute;
+	position: fixed;
 	display: none;
 	height: 4px;
 	width: 100%;