Skip to content

Commit 93ba1a6

Browse files
committed
place org name instead of jshttp logo
ref repo-utils#18
1 parent 59e0464 commit 93ba1a6

File tree

4 files changed

+26
-198
lines changed

4 files changed

+26
-198
lines changed

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: jshttp
66
badge_style: flat-square
77

88
# meta headers in html
9-
title: badgeboard
9+
title: BadgeBoard
1010
description: project status at a glance
1111
keywords: badgeboard, repo-utils
1212

jshttp.svg

-187
This file was deleted.

templates/layout.jade

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ html.no-js
66
if (typeof(title) !== 'undefined')
77
title= title
88
else
9-
title= name || 'badgeboard'
9+
title= name
1010
meta(name='description', content=description || '')
1111
meta(name='keywords', content=keywords || '')
1212
meta(name='viewport', content='width=device-width, initial-scale=1')
@@ -16,10 +16,9 @@ html.no-js
1616
body
1717
.navbar(role='navigation')
1818
.navbar-header
19-
a.navbar-brand.logo(href='https://github.com/jshttp/jshttp.github.io')
20-
img(src='jshttp.svg', alt='jshttp', title='jshttp', height='40px')
19+
a.navbar-brand.logo(href='https://github.com/' + name)= title
2120
.navbar-brand.manifesto
22-
span Low-Level JavaScript HTTP-related Modules
21+
span= description
2322

2423
block body
2524

templates/style.css

+22-6
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,32 @@ footer {
4646
border-bottom: 1px solid #ddd;
4747
}
4848

49-
.navbar-brand.logo {
50-
padding: 7px;
51-
padding-left: 20px;
52-
}
53-
5449
.manifesto {
55-
padding: 25px 5px 15px;
50+
padding: 25px 0px 15px;
5651
font-size: 14px;
5752
}
5853

5954
.navbar-header {
6055
width: 100%;
6156
}
6257

58+
.navbar {
59+
min-height: 40px;
60+
}
61+
62+
.navbar-brand {
63+
height: 40px;
64+
padding: 10px;
65+
}
66+
67+
a.navbar-brand {
68+
color: #333;
69+
}
70+
71+
a.navbar-brand:hover, a.navbar-brand:focus {
72+
color: #2a6496;
73+
}
74+
6375
@media (max-width: 480px) {
6476
.manifesto {
6577
clear: left;
@@ -74,4 +86,8 @@ footer {
7486
content: "\2014";
7587
padding-right: 10px;
7688
}
89+
90+
.manifesto {
91+
padding-left: 0;
92+
}
7793
}

0 commit comments

Comments
 (0)