Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #11 from todogroup/todo-styles
Browse files Browse the repository at this point in the history
Use styles from todogroup.org
  • Loading branch information
caniszczyk committed Jun 25, 2015
2 parents b117e88 + 30959ea commit 211a578
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_site
.sass-cache
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
title: Open Code of Conduct
description: An easy to reuse open source code of conduct for communities
markdown: kramdown
parent_url: http://todogroup.org/
59 changes: 50 additions & 9 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,60 @@
<meta charset="utf-8">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{{ site.description }}">
<meta name='apple-mobile-web-app-capable' content='yes'>
<meta name='apple-mobile-web-app-status-bar-style' content='black'>
<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no'>
<meta http-equiv='content-type' content='text/html; charset=utf-8'>
<meta
name='keywords'
content='open source,todo,talk openly,develop openly,code of conduct'
>
<meta
name='description'
content='TODO: talk openly, develop openly. We believe we can better improve our open source programs - and our contributions to the open source movement as a whole - by working together.'
>

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap.min.css" media="screen">
<meta property='og:type' content='website' />
<meta property='og:title' content='{{page.title}} // TODO: Talk openly, develop openly' />
<meta property='og:image' content='{{site.parent_url}}static/og.png' />
<meta
property='og:description'
content='TODO: talk openly, develop openly. We believe we can better improve our open source programs - and our contributions to the open source movement as a whole - by working together.'
/>

<link rel="shortcut icon" href="{{site.parent_url}}static/favicon.png" />
<link href='http://fonts.googleapis.com/css?family=Oswald:300,700,400|Open+Sans:400,700|Merriweather:300,400,700,900' rel='stylesheet' type='text/css'>
<link rel='stylesheet' href='{{site.parent_url}}static/style.css' type='text/css'>
<link rel='stylesheet' href='{{site.base_url}}/css/site.css' type='text/css'>


<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54779798-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="container">
<div class="page-header">
<h1>{{ site.title }}</h1>
<p class="lead">{{ site.description }}</p>
</div>
<header id='header'>
<a href='{{site.parent_url}}'>
<img src='{{site.parent_url}}static/logo.svg' class='logo' alt='TODO'>
</a>
</header>

{{ content }}
<article id='article' class='page-{{page.title|downcase}}'>
<div class="container">
<div class="page-header">
<h1>{{ site.title }}</h1>
<h2>{{ site.description }}</h2>
</div>

{{ content }}

</div>
</article>

</div>
</body>
</html>
15 changes: 15 additions & 0 deletions css/site.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# Hey Jekyll, please transform this file.
---

article.page- h1 {
font-size: 4em;
}

p#intro {
margin-left: 0;
font-size: 0.8em;
color: #777;
margin-bottom: 3em;
font-style: italic;
}
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: default
---

_The purpose of creating this effort was to promote more open source organizations and projects to adopt code of conducts. Through our experiences at the [@TODOGroup](https://twitter.com/todogroup), we strongly believe that code of conducts help set the ground rules for participation in communities and more importantly, help build a culture of respect. We hope by [sharing this with you](https://github.com/opencodeofconduct/opencodeofconduct.github.io) will enable you to easily establish a code of conduct for your respective open source community. The following is a code of conduct template. To generate your own code of conduct, change the values of COMMUNITY, CONTACT from their original values as given here, and substitute your own._
<p id="intro">Through our experiences at the <a href="http://todogroup.org">TODO Group</a>, we strongly believe that a code of conduct helps set the ground rules for participation in communities and helps build a culture of respect. We hope <a href="https://github.com/todogroup/opencodeofconduct">sharing this with you</a> will enable you to easily establish a code of conduct for your respective open source community. The following is a code of conduct template. To generate your own code of conduct, change the values of COMMUNITY, CONTACT from their original values as given here, and substitute your own.</p>

### Open Code of Conduct v1.0
## Open Code of Conduct v1.0

This code of conduct outlines our expectations for participants within the **[COMMUNITY]**, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored.

Expand Down

0 comments on commit 211a578

Please sign in to comment.