Permalink
Browse files

Avoid overqualified selector combinations

  • Loading branch information...
1 parent 4746a8a commit 8cfc3e91e68f9068bf8ee19098027ec6b7ec5cd9 @niclasgelin niclasgelin committed Jan 21, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −7 public/style.css
View
@@ -32,13 +32,12 @@ ul {
height: 22px;
width: 22px; }
-input.search {
+.search {
padding: 7px 10px;
color: #444;
font-family: sans-serif;
font-size: 14px;
- line-height: 1.5;
-}
+ line-height: 1.5; }
#content {
margin: 0 auto;
@@ -50,7 +49,7 @@ input.search {
position: relative;
border-bottom: 1px solid rgba(0,0,0,.1);
padding: 10px 0 7px 0; }
- input.search {
+ .search {
position: absolute;
top: 18px;
right: 0;
@@ -61,11 +60,11 @@ input.search {
font-family: sans-serif;
font-size: 14px;
line-height: 1.5; }
- input.search:focus {
+ .search:focus {
outline: none;
border-color: rgba(82, 168, 236, 0.8);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.3); }
- input.search:-moz-placeholder { color: #a1a1a1; }
+ .search:-moz-placeholder { color: #a1a1a1; }
#description {
border-top: 1px solid #fff;
font-weight: 300;
@@ -100,7 +99,7 @@ input.search {
#share iframe { width: 50px; }
@media screen and (max-width: 640px) {
- input.search {
+ .search {
position:relative;
top: 0; }
#share {

0 comments on commit 8cfc3e9

Please sign in to comment.