Browse Source

logo :honeybee:

windhamdavid 4 years ago
parent
commit
44f12b28cc
2 changed files with 17 additions and 8 deletions
  1. 2 2
      header.php
  2. 15 6
      style.css

+ 2 - 2
header.php

@@ -34,8 +34,8 @@
       </button>
       </button>
       <div class="navbar-brand mx-auto">
       <div class="navbar-brand mx-auto">
       <a class="site-title" href="<?php echo esc_url( home_url( '/' )); ?>">
       <a class="site-title" href="<?php echo esc_url( home_url( '/' )); ?>">
-        <span class="logo-firstline">Hospice &amp; Palliative</span>
-        <span class="logo-img"><img src="<?php echo get_template_directory_uri(); ?>/img/dove-white.png"/></span>
+        <span class="logo-firstline">Hospice <span class="logo-ampersand">&amp;</span> Palliative</span>
+        <span class="logo-img"><img src="<?php echo get_template_directory_uri(); ?>/img/dove.svg"/></span>
         <span class="logo-secondline">Care</span>
         <span class="logo-secondline">Care</span>
         <span class="logo-byline">of the Peidmont</span>
         <span class="logo-byline">of the Peidmont</span>
       </a>
       </a>

+ 15 - 6
style.css

@@ -24,6 +24,11 @@ https://github.com/Automattic/_s
 --------------------------------------------------------------*/
 --------------------------------------------------------------*/
 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');
 
 
+@font-face {
+font-family: "Avenir";
+src: url("fonts/AvenirLTStd-Book.otf") format("opentype");
+}
+
 h1, h2, h3, h4, h5, h6 {
 h1, h2, h3, h4, h5, h6 {
   clear: both;
   clear: both;
   color: #24292e;
   color: #24292e;
@@ -142,7 +147,7 @@ table {
     opacity: 0;
     opacity: 0;
 }
 }
 .navbar-brand > a {
 .navbar-brand > a {
-  font-family: 'Lato', sans-serif;
+  font-family: 'Avenir', sans-serif;
   color: rgba(0, 0, 0, 0.9);
   color: rgba(0, 0, 0, 0.9);
   font-size: 23px;
   font-size: 23px;
   outline: medium none;
   outline: medium none;
@@ -161,6 +166,10 @@ table {
   font-variant:small-caps;
   font-variant:small-caps;
   font-weight: 300;
   font-weight: 300;
 }
 }
+.logo-ampersand {
+  text-transform:lowercase;
+  font-size:19px;
+}
 .logo-img img {
 .logo-img img {
   margin:-12px 0 0 -3px;
   margin:-12px 0 0 -3px;
 }
 }
@@ -173,9 +182,9 @@ table {
   display:block;
   display:block;
   font-weight: 300;
   font-weight: 300;
   margin:-5px 0 0;
   margin:-5px 0 0;
-  padding-left:163px;
-  letter-spacing: .08rem;
-  font-size:14px;
+  padding-left:155px;
+  letter-spacing:.06rem;
+  font-size:15px;
 }
 }
 @media (min-width: 768px) and (max-width: 992px) {
 @media (min-width: 768px) and (max-width: 992px) {
   .navbar-brand > a {
   .navbar-brand > a {
@@ -191,7 +200,7 @@ table {
   .logo-byline {
   .logo-byline {
     display:block;
     display:block;
     margin:-5px 0 0;
     margin:-5px 0 0;
-    padding-left:122px;
+    padding-left:123px;
     font-size:12px;
     font-size:12px;
   }
   }
 }
 }
@@ -209,7 +218,7 @@ table {
   .logo-byline {
   .logo-byline {
     display:block;
     display:block;
     margin:-8px 0 0;
     margin:-8px 0 0;
-    padding-left:95px;
+    padding-left:100px;
     font-size:10px;
     font-size:10px;
   }
   }
 }
 }