Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use svg logo and icon in header, favicon #3 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion xubuntu-eighteen/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<meta name="author" content="The Xubuntu community" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />

<link rel="icon" type="image/svg+xml" href="<?php echo get_stylesheet_directory_uri( ); ?>/images/xubuntu-icon.svg">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri( ); ?>/images/xubuntu-icon-16.png">

<?php wp_head( ); ?>
Expand All @@ -19,7 +20,7 @@
<header>
<div id="logo">
<a href="<?php echo home_url( '/' ); ?>">
<img class="light" src="<?php echo get_stylesheet_directory_uri( ); ?>/images/xubuntu-logo-45.png" alt="Xubuntu" />
<img class="light" src="<?php echo get_stylesheet_directory_uri( ); ?>/images/xubuntu-logo.svg" alt="Xubuntu" />
</a>
</div>

Expand Down
7 changes: 7 additions & 0 deletions xubuntu-eighteen/images/xubuntu-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions xubuntu-eighteen/images/xubuntu-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions xubuntu-eighteen/style-600.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ header {
}
#logo a img.light {
display: block;
width: 13.5rem;
}
#logo a::after {
display: none;
Expand Down
4 changes: 2 additions & 2 deletions xubuntu-eighteen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ header {

padding-right: 30px;

background: transparent url(images/xubuntu-icon-20.png) 100% 50% no-repeat;
background: transparent url(images/xubuntu-icon.svg) 100% 50% / 1.25rem 1.25rem no-repeat;
content: "Xubuntu";

color: #fff;
Expand Down Expand Up @@ -104,7 +104,7 @@ header {

/*
* Main content area
*
*
*/

section#middle {
Expand Down