Skip to content

Commit

Permalink
Merge pull request #76 from niclasgelin/master
Browse files Browse the repository at this point in the history
Revised selector organisation performance
  • Loading branch information
arvida committed Jan 21, 2013
2 parents 4746a8a + d414217 commit fe35d34
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions public/style.css
Expand Up @@ -32,14 +32,6 @@ ul {
height: 22px;
width: 22px; }

input.search {
padding: 7px 10px;
color: #444;
font-family: sans-serif;
font-size: 14px;
line-height: 1.5;
}

#content {
margin: 0 auto;
padding: 0 30px; }
Expand All @@ -50,22 +42,6 @@ input.search {
position: relative;
border-bottom: 1px solid rgba(0,0,0,.1);
padding: 10px 0 7px 0; }
input.search {
position: absolute;
top: 18px;
right: 0;
padding: 5px 15px;
border-radius: 20px;
border: 1px solid rgba(0,0,0,.2);
color: #444;
font-family: sans-serif;
font-size: 14px;
line-height: 1.5; }
input.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; }
#description {
border-top: 1px solid #fff;
font-weight: 300;
Expand All @@ -82,6 +58,20 @@ input.search {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd; }

.search {
position: absolute;
top: 18px;
right: 0;
padding: 5px 15px;
font: inherit;
border-radius: 20px;
border: 1px solid rgba(0,0,0,.2); }
.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); }
.search:-moz-placeholder { color: #a1a1a1; }

#share {
position: absolute;
top: 166px;
Expand All @@ -100,8 +90,8 @@ input.search {
#share iframe { width: 50px; }

@media screen and (max-width: 640px) {
input.search {
position:relative;
.search {
position: relative;
top: 0; }
#share {
position: static;
Expand Down

0 comments on commit fe35d34

Please sign in to comment.