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

Proposed Ruby-Lang Redesign #342

Closed
wants to merge 13 commits into
base: master
from

header styles

  • Loading branch information...
acacheung committed Oct 31, 2013
commit 8613db4dbbb5038db75032472b9e7c320c1faf06
Copy path View file
@@ -0,0 +1,25 @@
<div class='header-wrap l-wrap'>
<a class='logo' href='/{{ page.lang }}/' alt="{{ site.locales.slogan[page.lang] }}">Ruby</a>
<nav class='header__nav'>
{% if site.locales.sitelinks[page.lang] %}
{% assign sitelinks = site.locales.sitelinks[page.lang] %}
{% else %}
{% assign sitelinks = site.locales.sitelinks['en'] %}
{% endif %}
{% for link in sitelinks %}
<a class='header__nav__link' href="{{ link.url }}/">{{ link.text }}</a>
{% endfor %}
</nav>
<!--<nav class='header__nav'>-->
<!--<a class='header__nav__link' href='/about'>About</a>-->
<!--<a class='header__nav__link' href='#'>Reference</a>-->
<!--<a class='header__nav__link' href='#'>Tutorial</a>-->
<!--<a class='header__nav__link' href='#'>Community</a>-->
<!--<a class='header__nav__link icon' data-icon='★' href='https://github.com/ruby/www.ruby-lang.org'>-->
<!--<span class='is-hidden'>GitHub</span>-->
<!--</a>-->
<!--<a class='header__nav__link--download' href='#'>Download</a>-->
<!--</nav>-->
</div>
Copy path View file

This file was deleted.

Oops, something went wrong.
Copy path View file
@@ -27,14 +27,7 @@
<body{% if page.url == homepage_url %} id="home-page-layout"{% endif %}>
<header>
<div id="logo">
<a href="/{{ page.lang }}/">
<img src="/images/logo.gif" width="331" height="119" alt="{{ site.locales.slogan[page.lang] }}" title="">
</a>
</div>
<div class="site-links">
{% include sitelinks.html %}
</div>
{% include header.html %}
</header>
<div id="main-wrapper">
Copy path View file
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="45px" height="30px" viewBox="279.28 0 45 30" enable-background="new 279.28 0 45 30" xml:space="preserve">
<g id="Ruby">
<polygon fill="#E11E25" points="301.78,29.829 291.387,0.171 312.174,0.171 "/>
<polygon fill="#AA1217" points="301.78,29.829 279.28,9.933 291.387,0.171 "/>
<polygon fill="#F04E4C" points="301.78,29.829 324.28,9.933 312.174,0.171 "/>
</g>
</svg>
Copy path View file
@@ -515,7 +515,7 @@ header {
float: left;
height: 30px;
width: 45px;
background-image: url(/logo.svg);
background-image: url(/images/logo.svg);
content: "";
}
@media (min-width: 980px) {
ProTip! Use n and p to navigate between commits in a pull request.