Skip to content

Commit 1474c3e

Browse files
author
Davert
committed
redesign
1 parent 93c8680 commit 1474c3e

5 files changed

Lines changed: 59 additions & 6 deletions

File tree

_layouts/bootstrap.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{% capture reference %}{% include reference.html %}{% endcapture %}
3131

3232
<body>
33-
<div class="navbar navbar-inverse navbar-fixed">
33+
<div class="navbar navbar-inverse navbar-static-top">
3434
<div class="navbar-inner">
3535
<div class="container">
3636
<div class="navbar-content">
@@ -71,7 +71,7 @@
7171
<a class="dropdown-toggle" data-toggle="dropdown" href="/docs"> Modules
7272
<b class="caret"></b>
7373
</a>
74-
<ul class="dropdown-menu">
74+
<ul class="dropdown-menu dropdown-modules">
7575
{{ modules }}
7676
</ul>
7777
</li>

_layouts/doc.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,20 @@
2525
});
2626
});
2727
</script>
28+
29+
<div class="well">
30+
<script>
31+
(function() {
32+
var cx = '009959493015473517972:mxjflnekt-y';
33+
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
34+
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
35+
'//www.google.com/cse/cse.js?cx=' + cx;
36+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
37+
})();
38+
</script>
39+
<gcse:search></gcse:search>
40+
</div>
41+
42+
2843
</div>
2944
</div>

_layouts/page.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@
1010
</div>
1111
</div>
1212
<div class="span4">
13+
<div class="well">
14+
<script>
15+
(function() {
16+
var cx = '009959493015473517972:mxjflnekt-y';
17+
var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
18+
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
19+
'//www.google.com/cse/cse.js?cx=' + cx;
20+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
21+
})();
22+
</script>
23+
<gcse:search></gcse:search>
24+
</div>
25+
26+
1327
<div class="well">
1428
<a class="btn btn-large btn-primary btn-block" href="#"><span class="btn-label">Quick Start &rarr;</span></a>
1529
<p>Write and execute a test for an existing app

css/codeception.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ body code {
4646
body .highlight pre {
4747
background: #333;
4848
white-space: pre;
49+
overflow-x: scroll;
4950
}
5051

5152
body .page {
@@ -95,4 +96,27 @@ body b {
9596
.footer .container {
9697
padding: 100px 0px;
9798
background: url("/images/footer_c.png") no-repeat scroll left top transparent
99+
}
100+
101+
body .dropdown-modules {
102+
min-width: 300px;
103+
}
104+
105+
body .dropdown-modules li a {
106+
float: left;
107+
clear: none;
108+
width: 110px;
109+
}
110+
111+
.follow {
112+
padding: 13px 0;
113+
}
114+
115+
#gs_tti0 {
116+
padding: 0px !important;
117+
}
118+
119+
.gsc-control-cse {
120+
background: transparent !important;
121+
border: none !important;
98122
}

js/contributors.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
$(document).ready(function () {
2-
$.get('https://api.github.com/repos/Codeception/Codeception/contributors', '',function(data,jqXHR) {
2+
$.get('https://api.github.com/repos/Codeception/Codeception/contributors', '',function(data,status, jqXHR) {
33

4-
if (data === undefined) {
5-
data = $.parseJSON(jqXHR.responseText);
6-
}
4+
if (data === undefined) {
5+
data = $.parseJSON(jqXHR.responseText);
6+
}
77

88
$.each(data, function (key, contributor) {
99
var image = "<img src=\"" + contributor.avatar_url + "\" width=\"48\" height=\"48\">";

0 commit comments

Comments
 (0)