Skip to content

Commit e4a8b30

Browse files
committed
Revise responsive icons
1 parent d50d5c5 commit e4a8b30

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

search.html

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<meta name="viewport" content="width=640" />
1313

1414
<link rel="stylesheet" href="stylesheets/core.css" media="screen"/>
15-
<link rel="stylesheet" href="stylesheets/mobile.css" media="handheld, only screen and (max-device-width:640px)"/>
1615
<link rel="stylesheet" href="stylesheets/pygment_trac.css"/>
1716

1817
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
@@ -50,17 +49,34 @@
5049
top: 6px;
5150
}
5251

53-
.printButton{
54-
border:0;
55-
box-shadow: 0 0 0 0;
52+
.icon-group-container {
53+
position: relative;
54+
height: 52px;
55+
width: 100%;
56+
margin-bottom: 10px;
57+
}
58+
59+
.icon-group {
60+
width: 120px;
5661
}
5762

5863
.start, .end, .time {
5964
font-size: 25px;
60-
width: 65%;
6165
width: 90%;
6266
}
6367

68+
@media screen and (min-width: 900px) {
69+
.start, .end, .time {
70+
width: 65%;
71+
}
72+
73+
.icon-group {
74+
position: absolute;
75+
top: 0;
76+
right: 0;
77+
}
78+
}
79+
6480
.searchLabel {
6581
display: inline-block;
6682
width: 100px;
@@ -85,20 +101,6 @@
85101
width: 40%;
86102
}
87103

88-
.icon-group-container {
89-
height: 52px;
90-
width: 100%;
91-
margin-bottom: 10px;
92-
}
93-
94-
.icon-group {
95-
/* width: 140px;
96-
padding-left: 65%;
97-
*/
98-
padding-right: 20px;
99-
float: right;
100-
}
101-
102104
#searchResults {
103105
background-color: #FFCB05;
104106
border-radius: 6px;

0 commit comments

Comments
 (0)