Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added theme and root index page.
  • Loading branch information
mikedurbin committed Mar 27, 2015
1 parent 88f04e1 commit 5978eb8
Show file tree
Hide file tree
Showing 8 changed files with 844 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
@@ -0,0 +1,16 @@
# Modernist Theme

[Demo the Theme](http://orderedlist.github.com/modernist/)

This is the raw HTML and styles that are used for the *modernist* theme on [GitHub Pages](http://pages.github.com/).

# SCSS

This project uses SCSS for it's CSS. If you want to contribute, please make your changes to the .scss files in the /sass directory. If you're unfamiliar with SCSS, here's [an excellent article to get you started](http://www.alistapart.com/articles/getting-started-with-sass/). I recommend using [LiveReload](http://livereload.com)

Syntax highlighting is provided on GitHub Pages by [Pygments](http://pygments.org).

# License

This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).

26 changes: 26 additions & 0 deletions config.rb
@@ -0,0 +1,26 @@
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = ""
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false

# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
preferred_syntax = :scss

line_comments = false # by Compass.app
Binary file added images/checker.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions index.html
@@ -0,0 +1,37 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Fedora Commons Repository Camel Component Developer Documentation</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<h1>Fedora Commons Repository Camel Component</h1>
<p>Generated Developer Documentation</p>
<p class="view"><a href="http://github.com/fcrepo4/fcrepo-camel">View the Project on GitHub <small>fcrepo4/fcrepo-message-consumer</small></a></p>
<ul>
<li><a href="http://github.com/fcrepo4/fcrepo-camel">View On <strong>GitHub</strong></a></li>
</ul>
</header>
<section>
<h1>Production Releases</h1>
<ul>
<li><a href="site/4.1.1/index.html">4.1.1</a> - <a href="site/4.1.1/apidocs/index.html">javadocs</a></li>
<li><a href="site/4.1.0/index.html">4.1.0</a></li>
</ul>
</section>
</div>
<footer>
</footer>
<script src="javascripts/scale.fix.js"></script>
</body>
</html>
17 changes: 17 additions & 0 deletions javascripts/scale.fix.js
@@ -0,0 +1,17 @@
var metas = document.getElementsByTagName('meta');
var i;
if (navigator.userAgent.match(/iPhone/i)) {
for (i=0; i<metas.length; i++) {
if (metas[i].name == "viewport") {
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
}
}
document.addEventListener("gesturestart", gestureStart, false);
}
function gestureStart() {
for (i=0; i<metas.length; i++) {
if (metas[i].name == "viewport") {
metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
}
}
}

0 comments on commit 5978eb8

Please sign in to comment.