Skip to content

Commit 2912906

Browse files
riccardobevilacquacsainty
authored andcommittedMay 16, 2012
Added CSS.
1 parent 5adec4e commit 2912906

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed
 

‎public/stylesheets/app/main.css

+17-12
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,22 @@ div.search input[type=text], div.useInSentence input[type=text], div.countryOfOr
3838
}
3939

4040
div.useInSentence input[type=text], div.countryOfOrigin input[type=text] {
41-
font-size: 18px;
42-
height: 24px;
41+
font-size: 0.6em;
42+
height: 1.2em;
4343
width: 100%;
4444
margin-bottom: 5px;
4545
display: block;
4646
padding: 4px;
4747
border: solid 2px black;
48-
-webkit-border-radius: 0px;
49-
border-radius: 0px;
48+
-webkit-border-radius: 1em;
49+
border-radius: 1em;
5050
}
5151

5252
div.search input[type=text]{
53-
font-size: 3em;
54-
height: 36px;
53+
font-size: 2em;
54+
height: 1.6em;
55+
-webkit-border-radius: 1em;
56+
border-radius: 1em;
5557
}
5658

5759
div.search input[type="text"]:focus, div.useInSentence input[type="text"]:focus, div.countryOfOrigin input[type="text"]:focus {
@@ -65,22 +67,22 @@ div.search input[type=submit], div.go input[type=submit] {
6567
width: auto;
6668
font-family: 'Cabin Condensed', sans-serif;
6769
border: solid 2px black;
68-
-webkit-border-radius: 0px;
69-
border-radius: 0px;
70+
-webkit-border-radius: 1em;
71+
border-radius: 1em;
7072
}
7173

7274
div.go input[type=submit] {
7375
margin-right: -30px;
74-
width: 200px;
76+
width: 5em;
7577
float: right;
7678
}
7779

7880
div.search input[type="submit"]:focus, div.go input[type="submit"]:focus {
7981
background-image: none;
8082
background-color: white;
8183
border: solid 2px black;
82-
-webkit-border-radius: 0px;
83-
border-radius: 0px;
84+
-webkit-border-radius: 1em;
85+
border-radius: 1em;
8486
}
8587

8688
div.useInSentence, div.countryOfOrigin {
@@ -97,6 +99,10 @@ div.useInSentence, div.countryOfOrigin {
9799
}
98100

99101
/* ================================== */
102+
.search .searchbutton input[type=submit] {
103+
margin-left: -1em;
104+
}
105+
100106
h2 {padding-bottom: 0.5em;}
101107

102108
.span12 .answertitle {
@@ -109,7 +115,6 @@ h2 {padding-bottom: 0.5em;}
109115
}
110116
.portrait {
111117
border: #000000 0.2em dashed;
112-
/* margin: 1em 0.5em 0 0.5em; */
113118
margin: -1em 0.5em 0 -1em;
114119
border-radius: 0.5em;
115120
}

0 commit comments

Comments
 (0)
Please sign in to comment.