Skip to content

Commit 90f53bc

Browse files
thehydroimpulseadrientetar
authored andcommitted
---
yaml --- r: 112110 b: refs/heads/try c: 2d0962a h: refs/heads/master v: v3
1 parent 4597c58 commit 90f53bc

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: a692e9b1234ff6573b0cfbc39394d9222eb38f81
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b5dd3f05fe95168b5569d0f519636149479eb6ac
5-
refs/heads/try: fbdde0e7ba4edecd3411e6e7ec22324aed027a4e
5+
refs/heads/try: 2d0962ad62ccc7d8fc51bbb3b017e470b96df70c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustdoc/html/static/main.css

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ nav.sub {
130130
font-size: 14px;
131131

132132
transition: border 500ms ease-out;
133-
-webkit-transition: border 500ms ease-out;
134-
-moz-transition: border 500ms ease-out;
135-
-o-transition: border 500ms ease-out;
136133
}
137134

138135
body p {
@@ -285,16 +282,18 @@ a {
285282
.content .fnname { color: #8c6067; }
286283

287284
.search-container {
288-
padding-right: 10px;
285+
width: 60%;
286+
margin-left: 50px;
289287
}
288+
290289
.search-input {
291290
border: 2px solid #e9e9e9;
292291
border-radius: 2px;
293-
width: 85%;
292+
width: 95%;
294293
box-sizing: content-box;
295294
outline: none;
296295
border: none;
297-
background: none;
296+
background-color: white;
298297
font-family: "Helvetica Neue";
299298
color: #000;
300299
margin-top: 5px;
@@ -306,17 +305,10 @@ a {
306305
padding: 10px 16px;
307306
line-height: 1.4;
308307
font-size: 17px;
309-
background-color: white;
310-
-webkit-transition: background-color 50ms linear;
308+
311309
transition: background-color 50ms linear;
312310
transition: border 500ms ease-out;
313-
-webkit-transition: border 500ms ease-out;
314-
-moz-transition: border 500ms ease-out;
315-
-o-transition: border 500ms ease-out;
316311
transition: box-shadow 500ms ease-out;
317-
-webkit-transition: box-shadow 500ms ease-out;
318-
-moz-transition: box-shadow 500ms ease-out;
319-
-o-transition: box-shadow 500ms ease-out;
320312
}
321313

322314
.search-input:focus {
@@ -327,7 +319,7 @@ a {
327319
}
328320

329321
.do-search {
330-
float: right;
322+
display: none;
331323
outline: none;
332324
border: none;
333325
font-family: Helvetica Neue;
@@ -336,10 +328,11 @@ a {
336328
padding: 14px 25px;
337329
margin-top: 3px;
338330
font-size: 16px;
339-
margin-right: 15px;
340331
text-align: center;
341-
background: #6F5E59;
332+
background: #5B6672;
333+
margin-left: 10px;
342334
}
335+
343336
.search-results .desc {
344337
white-space: nowrap;
345338
text-overflow: ellipsis;
@@ -422,3 +415,28 @@ h5.section-link:hover a:after,
422415
h6.section-link:hover a:after {
423416
content: ' § ';
424417
}
418+
419+
/** Media Queries **/
420+
421+
@media (max-width: 620px) {
422+
.search-container {
423+
display: block;
424+
width: 100%;
425+
margin-left: 0px;
426+
}
427+
}
428+
429+
@media (max-width: 700px) {
430+
.sidebar {
431+
display: none;
432+
}
433+
434+
.content {
435+
margin-left: 0px;
436+
}
437+
438+
nav.sub {
439+
width: 80%;
440+
margin: 0 auto;
441+
}
442+
}

0 commit comments

Comments
 (0)