From ea92d97c53c6612220b6f8ad4147d1604d0c996d Mon Sep 17 00:00:00 2001 From: PeterTheOne Date: Thu, 21 May 2020 20:21:42 +0200 Subject: [PATCH] use svg logo and icon in header, favicon #3 svg images from xubuntu-website-assets are cropped and optimized with svgomg. --- xubuntu-eighteen/header.php | 3 ++- xubuntu-eighteen/images/xubuntu-icon.svg | 7 +++++++ xubuntu-eighteen/images/xubuntu-logo.svg | 10 ++++++++++ xubuntu-eighteen/style-600.css | 1 + xubuntu-eighteen/style.css | 4 ++-- 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 xubuntu-eighteen/images/xubuntu-icon.svg create mode 100644 xubuntu-eighteen/images/xubuntu-logo.svg diff --git a/xubuntu-eighteen/header.php b/xubuntu-eighteen/header.php index 82e433a..58d24ab 100644 --- a/xubuntu-eighteen/header.php +++ b/xubuntu-eighteen/header.php @@ -9,6 +9,7 @@ + @@ -19,7 +20,7 @@
diff --git a/xubuntu-eighteen/images/xubuntu-icon.svg b/xubuntu-eighteen/images/xubuntu-icon.svg new file mode 100644 index 0000000..cc3cf5b --- /dev/null +++ b/xubuntu-eighteen/images/xubuntu-icon.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/xubuntu-eighteen/images/xubuntu-logo.svg b/xubuntu-eighteen/images/xubuntu-logo.svg new file mode 100644 index 0000000..40680c8 --- /dev/null +++ b/xubuntu-eighteen/images/xubuntu-logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/xubuntu-eighteen/style-600.css b/xubuntu-eighteen/style-600.css index 7856717..a714852 100644 --- a/xubuntu-eighteen/style-600.css +++ b/xubuntu-eighteen/style-600.css @@ -27,6 +27,7 @@ header { } #logo a img.light { display: block; + width: 13.5rem; } #logo a::after { display: none; diff --git a/xubuntu-eighteen/style.css b/xubuntu-eighteen/style.css index faefa48..ff6bd41 100644 --- a/xubuntu-eighteen/style.css +++ b/xubuntu-eighteen/style.css @@ -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; @@ -104,7 +104,7 @@ header { /* * Main content area - * + * */ section#middle {