Ver código fonte

Move styles on element to class

Alasdair Smith 8 anos atrás
pai
commit
ed7c5f32b0
1 arquivos alterados com 9 adições e 12 exclusões
  1. 9 12
      services/web/public/stylesheets/app/templates-v2.less

+ 9 - 12
services/web/public/stylesheets/app/templates-v2.less

@@ -34,6 +34,15 @@
 		-webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);
 		height: 465px;
 		margin: 5% 0;
+		padding:0px;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+
+		h3 {
+			color:@link-color;
+			margin: 10px 0px 10px 20px;
+		}
 
 		&.thumbnail-tag {
 			height: 100px;
@@ -45,18 +54,6 @@
 		}
 	}
 
-	a {
-		padding:0px;
-		h3 {
-			color:@link-color;
-			margin: 10px 0px 10px 20px;
-		}
-
-		display: flex;
-		justify-content: center;
-		align-items: center;
-	}
-
 	.caption {
 		// Override ShareLatex template styles
 		background: none;