From 471f361fd79f9a350a868c77533e550bad9340af Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Fri, 28 Apr 2017 15:18:23 -0700 Subject: [PATCH] Fix site header --- docs/_includes/header.html | 7 +++++-- docs/static/images/logo.svg | 24 ++++++++++++++++++++++++ docs/stylesheets/main.scss | 9 +++++++-- docs/stylesheets/media.css | 12 ++++-------- 4 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 docs/static/images/logo.svg diff --git a/docs/_includes/header.html b/docs/_includes/header.html index c9dda15b7..e22b49e1c 100755 --- a/docs/_includes/header.html +++ b/docs/_includes/header.html @@ -46,7 +46,11 @@
-

Texture

+

+ + Texture + +

-
diff --git a/docs/static/images/logo.svg b/docs/static/images/logo.svg new file mode 100644 index 000000000..bc30fe6cd --- /dev/null +++ b/docs/static/images/logo.svg @@ -0,0 +1,24 @@ + + + + Texture Logo + Created with Sketch. + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/stylesheets/main.scss b/docs/stylesheets/main.scss index a511e3ca5..ee270fa77 100755 --- a/docs/stylesheets/main.scss +++ b/docs/stylesheets/main.scss @@ -84,10 +84,12 @@ a { width: 90%; margin: 0 auto; clear: both; + + &:after { content: ""; display: table; clear: both; } } header { - padding: 30px 0 10px 0; + padding: 30px 0 0 0; background: #f8f8f8; h1 { @@ -96,7 +98,6 @@ header { } nav { - margin-top: 10px; font-size: 18px; ul { @@ -115,6 +116,10 @@ header { } } +#logo { + margin: 0; +} + .hero { background: #0f70dd; margin-bottom: 30px; diff --git a/docs/stylesheets/media.css b/docs/stylesheets/media.css index f8dabd6f3..37235a7ce 100755 --- a/docs/stylesheets/media.css +++ b/docs/stylesheets/media.css @@ -4,6 +4,10 @@ display: block; } + header nav { + line-height: 55px; + } + header ul { } @@ -44,11 +48,3 @@ float: right; } } - -@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - #logo { - content: url(/static/images/Texturelogo@2x.png); - width: 186px; - height: 40px; - } -}