Skip to content

Commit 0cbe602

Browse files
Add styling around the new logo in header
1 parent ca9ba08 commit 0cbe602

File tree

2 files changed

+7
-29
lines changed

2 files changed

+7
-29
lines changed

_includes/header.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic' rel='stylesheet' type='text/css'>
8-
<link rel="stylesheet" type="text/css" href="/assets/css/stylesheet.css?v=3" media="screen" />
8+
<link rel="stylesheet" type="text/css" href="/assets/css/stylesheet.css?v=4" media="screen" />
99
<link rel="stylesheet" type="text/css" href="/assets/css/fa.css" media="screen" />
1010

1111
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico" />
@@ -26,13 +26,7 @@
2626
{% endif %}
2727
<header class="cf">
2828
<div class="container">
29-
<h1><a href="/"><img alt="WP-CLI" src="/assets/img/wp-cli-logo.png" height="40px"></a></h1>
30-
{% capture page_url %}{{ page.url | remove:'index.html' }}{% endcapture %}
31-
{% if page_url == '/restful/' %}
32-
<h2>The <em>RESTful</em> command line interface for WordPress</h2>
33-
{% else %}
34-
<h2>The command line interface for WordPress</h2>
35-
{% endif %}
29+
<h1><a href="/"><img alt="WP-CLI" src="/assets/img/wp-cli-logo.png" height="40px"></a> <span>The command line interface for WordPress</span></h1>
3630

3731
{% include navigation.html %}
3832
{% include languages.html %}

assets/css/stylesheet.css

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -274,40 +274,24 @@ img {
274274
*/
275275

276276
header {
277-
background: #292929;
277+
background: #000;
278278
width: 100%;
279279
padding: 20px 0 10px 0;
280280
margin: 0 0 30px 0;
281281
}
282282

283283
header h1 {
284-
font-size: 30px;
285-
color: #fff;
286-
line-height: 1.5;
287-
margin: 0 0 0 0;
288-
letter-spacing: 5px;
289-
text-transform: uppercase;
290-
font-weight: 300;
291-
}
292-
293-
header h1 a {
294-
color: #fff;
295-
text-decoration: none
296-
}
297-
298-
header h1 a:hover,
299-
header h1 a:active {
300-
color: #F7F7F7;
301-
}
302-
303-
header h2 {
304284
font-size: 17px;
305285
font-weight: 300;
306286
color: #f5f5f5;
307287
margin-top: 10px;
308288
margin-bottom: 20px;
309289
}
310290

291+
header h1 span {
292+
margin-left: 3px;
293+
}
294+
311295
footer {
312296
clear: both;
313297
display: block;

0 commit comments

Comments
 (0)