Skip to content

Commit f9a4e06

Browse files
committed
Playing with a new design. Anything is better than what's there now.
1 parent eaa9ef4 commit f9a4e06

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+16363
-845
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
_site
22
*.lock
3+
node_modules
4+
bower_components
5+
.tmp
6+
.sass-cache

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
source 'https://rubygems.org'
1+
source 'http://rubygems.org'
2+
23
gem 'github-pages'
4+
gem 'jemoji'
5+
gem 'jekyll-mentions'
6+
gem 'jekyll-redirect-from'
7+
gem 'jekyll-sitemap'

_config.yml

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,56 @@
11
# Set by github - do not change.
22
safe: true
33
lsi: false
4-
pygments: true
4+
highlighter: pygments
5+
6+
exclude:
7+
- bower.json
8+
- bower_components
9+
- Gemfile
10+
- Gemfile.lock
11+
12+
title: xenia
13+
description: >
14+
xenia is a BSD licensed open source research project for emulating Xbox 360
15+
games on modern PCs.
16+
baseurl: /xenia
17+
url: "http://xenia.jp"
18+
twitter_username: xeniaproject
19+
github_username: xenia-project
20+
21+
markdown: kramdown
522

623
gems:
724
- jemoji
8-
- jeykll-mentions
9-
- jeykll-redirect-from
25+
- jekyll-mentions
26+
- jekyll-redirect-from
27+
- jekyll-sitemap
28+
29+
navigation:
30+
- pages:
31+
- title: Home
32+
path: index.html
33+
- path: about.md
34+
- path: faq.md
35+
- path: roadmap.md
36+
- path: compatibility.html
37+
- path: gallery.html
38+
- title: Community
39+
pages:
40+
- title: /r/xenia
41+
url: https://www.reddit.com/r/xenia
42+
icon: communication:forum
43+
- title: YouTube
44+
url: https://www.youtube.com/channel/UC6bJhkUUHE18HVG2mpbygSQ
45+
icon: av:videocam
46+
- title: Development
47+
pages:
48+
- path: development/quickstart.md
49+
- path: development/debugging.md
50+
- title: Source Code
51+
url: https://github.com/benvanik/xenia
52+
icon: code
53+
- title: Issues
54+
url: https://github.com/benvanik/xenia/issues
55+
icon: bug-report
56+
- path: development/irc.md

_includes/head.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta name="viewport" content="width=device-width initial-scale=1" />
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
6+
<title>xenia - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{{ site.description }}">
8+
9+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
10+
11+
<link rel="stylesheet" href="{{ site.baseurl }}/styles/main.css">
12+
13+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
14+
<script src="{{ site.baseurl }}/scripts/webcomponents-lite.min.js"></script>
15+
<link rel="import" href="{{ site.baseurl }}/polymer-vulcanized.html">
16+
17+
<!-- Add to homescreen for Chrome on Android -->
18+
<meta name="mobile-web-app-capable" content="yes">
19+
<meta name="application-name" content="xenia">
20+
21+
<!-- Add to homescreen for Safari on iOS -->
22+
<meta name="apple-mobile-web-app-capable" content="yes">
23+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
24+
<meta name="apple-mobile-web-app-title" content="xenia">
25+
26+
<link rel="manifest" href="{{ site.baseurl }}/images/icons/manifest.json">
27+
<meta name="theme-color" content="#303F9F">
28+
<meta name="msapplication-TileColor" content="#3372DF">
29+
<meta name="msapplication-TileImage" content="{{ site.baseurl }}/images/icons/ms-icon-144x144.png">
30+
<link rel="apple-touch-icon" sizes="57x57" href="{{ site.baseurl }}/images/icons/apple-icon-57x57.png">
31+
<link rel="apple-touch-icon" sizes="60x60" href="{{ site.baseurl }}/images/icons/apple-icon-60x60.png">
32+
<link rel="apple-touch-icon" sizes="72x72" href="{{ site.baseurl }}/images/icons/apple-icon-72x72.png">
33+
<link rel="apple-touch-icon" sizes="76x76" href="{{ site.baseurl }}/images/icons/apple-icon-76x76.png">
34+
<link rel="apple-touch-icon" sizes="114x114" href="{{ site.baseurl }}/images/icons/apple-icon-114x114.png">
35+
<link rel="apple-touch-icon" sizes="120x120" href="{{ site.baseurl }}/images/icons/apple-icon-120x120.png">
36+
<link rel="apple-touch-icon" sizes="144x144" href="{{ site.baseurl }}/images/icons/apple-icon-144x144.png">
37+
<link rel="apple-touch-icon" sizes="152x152" href="{{ site.baseurl }}/images/icons/apple-icon-152x152.png">
38+
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/images/icons/apple-icon-180x180.png">
39+
<link rel="icon" type="image/png" sizes="192x192" href="{{ site.baseurl }}/images/icons/android-icon-192x192.png">
40+
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/images/icons/favicon-32x32.png">
41+
<link rel="icon" type="image/png" sizes="96x96" href="{{ site.baseurl }}/images/icons/favicon-96x96.png">
42+
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/images/icons/favicon-16x16.png">
43+
</head>

_includes/page-footer.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<footer class="site-footer">
2+
<div class="wrapper">
3+
4+
<div class="footer-col-wrapper">
5+
<div class="footer-col footer-col-1">
6+
<ul class="contact-list">
7+
<li></li>
8+
</ul>
9+
</div>
10+
11+
<div class="footer-col footer-col-2">
12+
<ul class="social-media-list">
13+
{% if site.github_username %}
14+
<li>
15+
<a href="https://github.com/{{ site.github_username }}">
16+
<span class="icon icon--github">
17+
<svg viewBox="0 0 16 16">
18+
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
19+
</svg>
20+
</span>
21+
22+
<span class="username">{{ site.github_username }}</span>
23+
</a>
24+
</li>
25+
{% endif %}
26+
27+
{% if site.twitter_username %}
28+
<li>
29+
<a href="https://twitter.com/{{ site.twitter_username }}">
30+
<span class="icon icon--twitter">
31+
<svg viewBox="0 0 16 16">
32+
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
33+
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
34+
</svg>
35+
</span>
36+
37+
<span class="username">{{ site.twitter_username }}</span>
38+
</a>
39+
</li>
40+
{% endif %}
41+
42+
<li>
43+
<p class="rss-subscribe">Subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
44+
</li>
45+
</ul>
46+
</div>
47+
48+
<div class="footer-col footer-col-3">
49+
<p class="text">
50+
xenia is an open source research project for emulating Xbox 360 games on
51+
modern PCs. Code and content are covered under a <a href="https://github.com/benvanik/xenia/blob/master/LICENSE" target="_top">BSD license</a>.
52+
We build this for fun.
53+
</p>
54+
</div>
55+
</div>
56+
57+
</div>
58+
</footer>

_includes/page-header.html

Whitespace-only changes.

_layouts/default.html

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!DOCTYPE html>
2+
<html>
3+
{% include head.html %}
4+
<body class="fullbleed layout vertical">
5+
<paper-drawer-panel id="paperDrawerPanel">
6+
<div drawer>
7+
<!-- Drawer Toolbar -->
8+
<paper-toolbar id="drawerToolbar">
9+
<img src="{{ site.baseurl }}/images/logo-256x256.png">
10+
<span class="paper-font-title">xenia</span>
11+
</paper-toolbar>
12+
13+
<!-- Drawer Content -->
14+
{% for category in site.navigation %}
15+
{% if category.title %}
16+
<div class="menu-subheader">{{ category.title }}</div>
17+
{% endif %}
18+
<paper-menu>
19+
{% for page_entry in category.pages %}
20+
{% if page_entry.url %}
21+
<a href="{{ page_entry.url }}">
22+
<iron-icon icon="{{ page_entry.icon }}"></iron-icon>
23+
<span>{{ page_entry.title }}</span>
24+
<paper-ripple fit/>
25+
</a>
26+
{% else %}
27+
{% for page_item in site.pages %}
28+
{% if page_item.path == page_entry.path %}
29+
{% assign nav_page = page_item %}
30+
<a href="{{ nav_page.url | prepend: site.baseurl }}"
31+
{% if nav_page.url == page.url %}class="iron-selected"{% endif %}>
32+
<iron-icon icon="{{ nav_page.icon }}"></iron-icon>
33+
<span>{% if page_entry.title %}{{ page_entry.title }}{% else %}{{ nav_page.title }}{% endif %}</span>
34+
<paper-ripple fit/>
35+
</a>
36+
{% endif %}
37+
{% endfor %}
38+
{% endif %}
39+
{% endfor %}
40+
</paper-menu>
41+
{% endfor %}
42+
</div>
43+
<paper-header-panel main
44+
{% if page.tall_header == true %}mode="waterfall-tall"{% else %}mode="waterfall"{% endif %}>
45+
<paper-toolbar>
46+
<paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
47+
<div><h3>{{ page.title }}</h3></div>
48+
</paper-toolbar>
49+
50+
<div class="content fit page-content">
51+
{% include page-header.html %}
52+
53+
<div class="wrapper">
54+
{{ content }}
55+
</div>
56+
57+
{% include page-footer.html %}
58+
</div>
59+
</paper-header-panel>
60+
</paper-drawer-panel>
61+
62+
<script type="text/javascript">
63+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
64+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
65+
</script>
66+
<script type="text/javascript">
67+
try {
68+
var pageTracker = _gat._getTracker("UA-541992-12");
69+
pageTracker._trackPageview();
70+
} catch(err) {}
71+
</script>
72+
</body>
73+
</html>

_layouts/page.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
---
4+
<div class="post">
5+
6+
<article class="post-content">
7+
{{ content }}
8+
</article>
9+
10+
</div>

_layouts/post.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: default
3+
---
4+
<div class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
9+
</header>
10+
11+
<article class="post-content">
12+
{{ content }}
13+
</article>
14+
15+
</div>

_posts/2015-06-13-hello-world.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: post
3+
title: "Hello World!"
4+
date: 2015-06-13
5+
categories: site
6+
---
7+
8+
New site! Needs some style love.

_prepare.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vulcanize --inline-css --inline-scripts --strip-comments polymer.html > polymer-vulcanized.html

_readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
* [Install Ruby 2.2+ and DevKit](http://rubyinstaller.org/downloads).
2+
* `gem update --system`
3+
* Extract DevKit
4+
* `ruby dk.rb init`
5+
* `ruby dk.rb install`
6+
* `gem install bundler`
7+
* `npm install -g bower vulcanize`
8+
9+
From the repository root:
10+
11+
```
12+
bundle install
13+
bower install
14+
bundle exec jekyll serve
15+
```
16+
17+
If changing anything in `polymer.html`, run `_prepare.bat`.
18+
19+
Icons from: https://www.google.com/design/icons/

0 commit comments

Comments
 (0)