Przeglądaj źródła

These styles didnt work in the latest version of wordpress, added #login to all selectors make the specificity stronger than the default wordpress styles

blowsie 14 lat temu
rodzic
commit
5d2ee09700
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      library/css/login.css

+ 3 - 3
library/css/login.css

@@ -25,7 +25,7 @@ This is the Wordpress logo in the admin area.
 You'll have to load your own images and mess
 You'll have to load your own images and mess
 with the width and height.
 with the width and height.
 */
 */
-h1 a {
+#login h1 a {
 	background: url(../images/login-logo.png) no-repeat top center; /* make sure to replace this! */
 	background: url(../images/login-logo.png) no-repeat top center; /* make sure to replace this! */
 	width: 326px;
 	width: 326px;
 	height: 67px;
 	height: 67px;
@@ -35,7 +35,7 @@ h1 a {
 	display: block;
 	display: block;
 }
 }
 
 
-form {
+#login form {
 	margin-left: 8px;
 	margin-left: 8px;
 	padding: 26px 24px 46px;
 	padding: 26px 24px 46px;
 	font-weight: normal;
 	font-weight: normal;
@@ -51,7 +51,7 @@ form {
 			box-shadow: none;
 			box-shadow: none;
 }
 }
 
 
-body form .input {
+body #login form .input {
 	font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
 	font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
 	font-weight: 200;
 	font-weight: 200;
 	font-size: 24px;
 	font-size: 24px;