Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[theme][m]: implement basic theme for the site.
- Loading branch information
1 parent
a58fa64
commit a6e0d49
Showing
7 changed files
with
264 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
permalink: /:year/:month/:day/:title/ | ||
title: Open Definition | ||
markdown: kramdown | ||
googleanalytics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<a href="/od/albanian/">Shqip</a> | | ||
<a href="/od/arabic/">العربية</a> | | ||
<a href="/od/bielaruskaja/">Беларуская</a> | | ||
<a href="/od/bulgarian/">Български</a> | | ||
<a href="/od/catala">Català</a> | | ||
<a href="/od/chinese">中文</a> | | ||
<a href="/od/croatian">Croatian</a> | | ||
<a href="/od/czech/">Czech</a> | | ||
<a href="/od/dansk">Dansk</a> | | ||
<a href="/od/deutsch">Deutsch</a> | | ||
<a href="/od/ellinika">Ελληνικά</a> | | ||
<a href="/od/">English</a> | | ||
<a href="/od/espanol">Español</a> | | ||
<a href="/od/euskara">Euskara</a> | | ||
<a href="/od/francais">Français</a> | | ||
<a href="/od/galego">Galego</a> | | ||
<a href="/od/hebrew">עברית</a> | | ||
<a href="/od/indonesian">Indonesian</a> | | ||
<a href="/od/islenska">Íslenska</a> | | ||
<a href="/od/italiano">Italiano</a> | | ||
<a href="/od/japanese">Japanese</a> | | ||
<a href="/od/korean">한국어</a> | | ||
<a href="/od/kannada">ಕನ್ನಡ</a> | | ||
<a href="/od/magyar">Magyar</a> | | ||
<a href="/od/makedonski_jazik">македонски јазик</a> | | ||
<a href="/od/norsk_bokmaal/">Norsk (bokmål)</a> | | ||
<a href="/od/polszczyzna">Polszczyzna</a> | | ||
<a href="/od/portugues">Português</a> | | ||
<a href="/od/portugues-brasileiro">Português Brasileiro </a> | | ||
<a href="/od/russkiy">Русский</a> | | ||
<a href="/od/simplified-chinese">简化中国</a> | | ||
<a href="/od/srpski">Srpski</a> | | ||
<a href="/od/suomi">Suomi</a> | | ||
<a href="/od/svenska">Svenska</a> | | ||
<a href="/od/telugu">తెలుగు</a> | | ||
<a href="/od/tr">Türkçe</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title> | ||
{{page.title}} - {{site.title}} - Defining Open in Open Data, Open Content and Open Knowledge | ||
</title> | ||
<meta name="author" content="Open Knowledge Open Definition Group" /> | ||
<meta name="description" content="{{page.title}} - {{site.title}} - Defining Open in Open Data, Open Content and Open Knowledge" /> | ||
|
||
<!-- okf ribbon --> | ||
<link rel="stylesheet" href="http://assets.okfn.org/themes/okfn/okf-panel.css"/> | ||
|
||
<link href="//netdna.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet" /> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="http://dataprotocols.org/css/style.css" /> | ||
<link rel="stylesheet" href="/css/style.css" /> | ||
</head> | ||
<body class="{{page.bodyclass}}"> | ||
<!-- OKF Panel --> | ||
<div class="absolute-okf-panel"> | ||
<div id="okf-panel" class="collapse"> | ||
<iframe src="http://assets.okfn.org/themes/okfn/okf-panel.html" scrolling="no"></iframe> | ||
</div> | ||
<div class="container"> | ||
<div class="okfn-ribbon"> | ||
<a href="http://okfn.org/" data-toggle="collapse" data-target="#okf-panel" title="Part of the Open Knowledge Foundation Network">An Open Knowledge Foundation Site</a> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- End OKF Panel --> | ||
<div class="navbar navbar-static-top"> | ||
<div class="navbar-inner"> | ||
<div class="container"> | ||
<a class="brand" href="{{site.baseurl}}"> | ||
{{site.title}} | ||
</a> | ||
<ul class="nav pull-right"> | ||
<li class="divider-vertical"></li> | ||
<li> | ||
<a href="/od/">The Definition</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
<li> | ||
<a href="/licenses/">Conformant Licenses</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
<li> | ||
<a href="/guide/">Guide</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
<li> | ||
<a href="/about/">About</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
<li> | ||
<a href="/news/">News</a> | ||
</li> | ||
<li class="divider-vertical"></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="content"> | ||
<div class="row"> | ||
<div class="span7 main offset1"> | ||
{% if page.notitle != true %} | ||
<div class="page-header"> | ||
<h1> | ||
{{page.title}} | ||
{% if page.subtitle %} | ||
<br /> | ||
<small>{{page.subtitle}}</small> | ||
{% endif %} | ||
</h1> | ||
</div> | ||
{% endif %} | ||
|
||
{{content}} | ||
</div> | ||
<div class="span3 sidebar"> | ||
<div class="widget"> | ||
<h3>The Open Definition in Your Language</h3> | ||
<div> | ||
<p class="od-languages"> | ||
{% include translations.md %} | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div><!-- /container --> | ||
|
||
<footer> | ||
<div class="container"> | ||
<p> | ||
Open Definition is a project of <a href="http://okfn.org">Open | ||
Knowledge</a> | ||
– | ||
<a href="{{site.github}}">Source Code</a> | ||
</p> | ||
<p> | ||
<a href="http://opendefinition.org/ossd/" title="Open Online Software Service"> | ||
<img src="http://assets.okfn.org/images/ok_buttons/os_80x15_orange_grey.png" alt="" border="" /> | ||
</a> | ||
<a href="http://opendefinition.org/" title="Open Content"> | ||
<img src="http://assets.okfn.org/images/ok_buttons/oc_80x15_blue.png" alt="" border="" /> | ||
</a> | ||
– | ||
<a href="http://creativecommons.org/licenses/by/3.0/">Content Licensed under a CC Attribution</a> | ||
</p> | ||
<p> | ||
<a href="http://okfn.org/terms-of-use/">Terms of use</a> | ||
| | ||
<a href="http://okfn.org/privacy-policy/">Privacy policy</a> | ||
| | ||
<a href="http://okfn.org/ip-policy/">IP Policy</a> | ||
</p> | ||
</div> | ||
</footer> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> | ||
<script src="http://assets.okfn.org/themes/okfn/collapse.min.js" type="text/javascript"></script> | ||
<script src="http://assets.okfn.org/themes/okfn/okf-panel.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', '{{site.googleanalytics}}']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
</script> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{{content}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
@import url(http://fonts.googleapis.com/css?family=OpenSans:400,700); | ||
|
||
body { | ||
background-color: white; | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6, .navbar, form, .btn, input, button, select, textarea { | ||
font-family: OpenSans,"Helvetica Neue",Helvetica,Arial,sans-serif; | ||
} | ||
|
||
.navbar-inner .brand { | ||
padding-top: 10px; | ||
} | ||
|
||
.navbar ul.nav.pull-right { | ||
margin-right: 42px; | ||
} | ||
|
||
.page-header { | ||
margin-top: 0; | ||
} | ||
|
||
.page-header h1 { | ||
text-align: left; | ||
color: #333; | ||
font-size: 40px; | ||
margin-top: 0; | ||
} | ||
|
||
.sidebar .widget { | ||
border: 1px solid #e9eaea; | ||
margin-left: 15px; | ||
margin-bottom: 10px; | ||
padding: 0 10px; | ||
} | ||
|
||
.sidebar .widget h3 { | ||
line-height: 125%; | ||
border-bottom: solid 1px #22998b; | ||
margin-left: 10px; | ||
margin-right: 10px; | ||
margin-top: 10px; | ||
padding-left: 0; | ||
padding-right: 0; | ||
padding-bottom: 5px; | ||
text-transform: uppercase; | ||
font-size: 16px; | ||
font-weight: normal; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.sidebar .widget > div { | ||
padding: 0 10px 10px 10px; | ||
} | ||
|
||
.sidebar .widget p { | ||
font-size: 12px; | ||
line-height: 16px; | ||
} | ||
|
||
.sidebar .od-languages { | ||
text-align: center; | ||
} | ||
|
||
|
||
/** Front page **/ | ||
|
||
.frontpage .main p { | ||
font-size: 20px; | ||
line-height: 24px; | ||
margin-bottom: 20px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters