Browse Source

Fixed a problem with the .no_content styling

Tobias Reich 9 years ago
parent
commit
0e70328094
1 changed files with 19 additions and 21 deletions
  1. 19 21
      src/styles/_content.scss

+ 19 - 21
src/styles/_content.scss

@@ -166,26 +166,24 @@
 		}
 	}
 
-	/* No Content ------------------------------------------------*/
-	.no_content {
-		position: absolute;
-		top: 50%;
-		left: 50%;
-		height: 160px;
-		width: 180px;
-		margin-top: -60px;
-		margin-left: -90px;
-		padding-top: 20px;
-		color: rgba(15, 15, 15, 1);
-		text-shadow: 0 1px 0 white(.01);
-		text-align: center;
-
-		.icon { font-size: 80px; }
-
-		p {
-			font-size: 18px;
-			font-weight: bold;
-		}
-	}
+}
 
+/* No Content ------------------------------------------------*/
+.no_content {
+	position: absolute;
+	top: 50%;
+	left: 50%;
+	padding-top: 20px;
+	color: rgba(10, 10, 10, 1);
+	color: black(.9);
+	text-shadow: 0 1px 0 white(.02);
+	text-align: center;
+	transform: translateX(-50%) translateY(-50%);
+
+	.icon { font-size: 80px; }
+
+	p {
+		font-size: 18px;
+		font-weight: bold;
+	}
 }