Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

merged with Taylors CSS changes

  • Loading branch information...
commit d665909f5befc2f383a35f785e7323621496c00c 1 parent 0e3f0af
Eduardo Pelegri-Llopart authored
2  Community_Wiki.md
View
@@ -1,7 +1,7 @@
---
layout: basic
-title: BlackBerry® Community Wiki
+title: Welcome to the BlackBerry® Community Wiki
---
{% include common-defs.md %}
4 _config.yml
View
@@ -1,2 +1,2 @@
-force-prefix: "/Community"
-# force-prefix: ""
+# force-prefix: "/Community"
+force-prefix: ""
55 _includes/common-include.html
View
@@ -1,7 +1,10 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{{ page.title }}</title>
<link id="stylesheet" href="{{ base-url }}/css/github.css" rel="stylesheet" type="text/css"></link>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
function logoClick() {
@@ -27,37 +30,41 @@
<!-- End of Google Analytics code -->
</head>
<body>
- <div class="header">
- <div class="logo" onclick="logoClick()">&nbsp;</div>
- <div class="github-logo" onclick="document.location='http://github.com/blackberry'">&nbsp;</div>
+ <div id="header_wrap">
+ <div id="header">
+ <p id="blackberry-logo"><img src="{{ base-url }}/images/logo.png" alt="BlackBerry" /> Community Wiki</p>
+ <a id="github-logo" href="#"><img src="{{ base-url }}/images/github-logo.png" alt="Github" /></a>
+ </div>
</div>
- <div class="center">
- <table class="content">
- <tr>
+
+ <div id="wrapper">
+ <div id="left">
<!-- Left Column / TOC / Global Navigation -->
<!-- Possibly included, may vary between TOC and Technology?? -->
- {{ lcol }}
+ {{ lcol }}
+ </div>
+
+ <div id="content">
+ <h1>{{ page.title }}</h1>
- <!-- Center Column / Content -->
- <!-- From content provided by page -->
- <td valign="top" class="content-column">
- <div>
- {{ ccol }}
- {{ content }}
+ {% if rcol != "" %}
+ <div id="right">
+ <!-- Right Column / Menu / Entry Highlights -->
+ <!-- Probably included depending on the type of entry -->
+ {{ rcol }}
+ </div>
+ {% endif %}
- </div>
- </td>
- <!-- Right Column / Menu / Entry Highlights -->
- <!-- Probably included depending on the type of entry -->
- {{ rcol }}
+ <!-- Center Column / Content -->
+ <!-- From content provided by page -->
+ {{ ccol }}
+ {{ content }}
- <tr>
- </table>
- <div class="footer">
- <div style="border-style: none none dashed none; border-width: 1px; border-color: Silver;margin-top: 40px;"></div>
- <p style="font-size: 8.5pt;color:Gray;text-decoration:italics;text-align: center;">Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.</p>
+ <p id="copyright" style="font-size: 8.5pt; text-align: center;">Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.</p>
</div>
+
+
</div>
</body>
43 _includes/default-navigation.html
View
@@ -1,18 +1,25 @@
-<td valign="top" class="toc-column">
- <div class="toc">
- <!-- A section -->
- <div class="toc-header">Search</div>
- <div class="toc-item"><a href="{{ base-url }}/news.html">&nbsp;</a></div>
- <div class="toc-header">Quick Links</div>
- <div class="toc-item"><a href="{{ base-url }}/Community_Wiki.html">Home</a></div>
- <div class="toc-item"><a href="{{ base-url }}/BlackBerry_10.html">BlackBerry 10</a></div>
- <div class="toc-item"><a href="{{ base-url }}/Events.html">Events</a></div>
- <div class="toc-item"><a href="{{ base-url }}/Staying_Connected.html">Staying Connected</a></div>
- <div class="toc-item"><a href="{{ base-url }}/Open_Source.html">Open Source</a></div>
- <div class="toc-item"><a href="{{ base-url }}/All_Pages.html">All Pages</a></div>
- <!-- Another section -->
- <div class="toc-header">Other</div>
- <div class="toc-item"><a href="{{ base-url }}/other/Contribute.html">Contribute</a></div>
- <div class="toc-item"><a href="{{ base-url }}/other/Legal.html">Legal</a></div>
- </div>
-</td>
+<div id="toc">
+ <ul>
+ <li>Search
+ <ul>
+ <li><a href="{{ base-url }}/news.html">&nbsp;</a></li>
+ </ul>
+ </li>
+ <li>Quick Links
+ <ul>
+ <li><a href="{{ base-url }}/Community_Wiki.html">Home</a></li>
+ <li><a href="{{ base-url }}/BlackBerry_10.html">BlackBerry 10</a></li>
+ <li><a href="{{ base-url }}/Events.html">Events</a></li>
+ <li><a href="{{ base-url }}/Staying_Connected.html">Staying Connected</a></li>
+ <li><a href="{{ base-url }}/Open_Source.html">Open Source</a></li>
+ <li><a href="{{ base-url }}/All_Pages.html">All Pages</a></li>
+ </ul>
+ </li>
+ <li>Other
+ <ul>
+ <li><a href="{{ base-url }}/other/Contribute.html">Contribute</a></li>
+ <li><a href="{{ base-url }}/other/Legal.html">Legal</a></li>
+ </ul>
+ </li>
+ </ul>
+</div>
20 _includes/default-summary.html
View
@@ -1,19 +1,17 @@
<!-- Right Column / Menu / Entry Highlights -->
<!-- Probably included depending on the type of entry -->
-<td valign="top" class="menu-column">
- <div class="menu">
- <div class="menu-header">{{ page.name }}</div>
- <div class="menu-item"><em>{{ page.oneline }}</em></div>
- <div class="menu-item"><em>Status: </em>{{ page.status }}</div>
- <div class="menu-item"><em>Platform: </em>{{ page.platform }}</div>
+ <table>
+ <caption>{{ page.name }}</caption>
+ <tr><td colspan="2">{{ page.oneline }}</td></tr>
+ <tr><th scope="row">Status</th><td>{{ page.status }}</td></tr>
+ <tr><th scope="row">Platform</th><td>{{ page.platform }}</td></tr>
{% if page.license %}
- <div class="menu-item"><em>License: </em>{{ page.license }}</div>
+ <tr><th scope="row">License</th><td>{{ page.license }}</td></tr>
{% endif %}
{% if page.tags %}
- <div class="menu-item"><em>Tags: </em>{{ page.tags }}</div>
+ <tr><th scope="row">Tags</th><td>{{ page.tags }}</td></tr>
{% endif %}
{% if page.complink %}
- <div class="menu-item"><a href="{{ page.complink }}">Component Site</a></div>
+ <tr><td colspan="2"><a href="{{ page.complink }}">Component Site</a></td></tr>
{% endif %}
- </div>
-</td>
+ </table>
20 _layouts/basic.html
View
@@ -4,20 +4,18 @@
{% if page.oneline %}
{% capture rcol %}
-<td valign="top" class="menu-column">
- <div class="menu">
- <div class="menu-header">{{ page.title }}</div>
- <div class="menu-item"><em>{{ page.oneline }}</em></div>
- {% if page.tags %}
- <div class="menu-item"><em>Tags: </em>{{ page.tags }}</div>
- {% endif %}
- </div>
-</td>
+<table>
+ <caption>{{ page.title }}</caption>
+ <tr><td colspan="2">{{ page.oneline }}</td></tr>
+ {% if page.tags %}
+ <tr><th scope="row">Tags</th><td>{{ page.tags }}</td></tr>
+ {% endif %}
+</table>
{% endcapture %}
{% else %}
-{% assign rcol = "" %}
+{% capture rcol %}{% endcapture %}
{% endif %}
-{% capture ccol %}<h1>{{ page.title }}</h1>{% endcapture %}
+{% capture ccol %}{% endcapture %}
{% include common-include.html %}
2  _layouts/component.html
View
@@ -3,6 +3,6 @@
{% capture lcol %}{% include default-navigation.html %}{% endcapture %}
{% capture rcol %}{% include default-summary.html %}{% endcapture %}
-{% capture ccol %}<h1>{{ page.title }}</h1>{% endcapture %}
+{% assign ccol = "" %}
{% include common-include.html %}
4 _layouts/faq.html
View
@@ -1,9 +1,9 @@
{% assign base-url = site.force-prefix %}
{% capture lcol %}{% include default-navigation.html %}{% endcapture %}
-{% assign rcol = "" %}
+{% capture rcol %}{% endcapture %}
-{% capture ccol %}<h1>{{ page.title }}</h1>
+{% capture ccol %}
{% if page.details %}
<h3>Details</h3>
{{ page.details | markdownify }}
18 _layouts/people.html
View
@@ -3,17 +3,15 @@
{% capture lcol %}{% include default-navigation.html %}{% endcapture %}
{% capture rcol %}
-<td valign="top" class="menu-column">
- <div class="menu">
- <div class="menu-header">{{ page.title }}</div>
- <div class="menu-item"><em>{{ page.oneline }}</em></div>
- {% if page.tags %}
- <div class="menu-item"><em>Tags: </em>{{ page.tags }}</div>
- {% endif %}
- </div>
-</td>
+<table>
+ <caption>{{ page.title }}</caption>
+ <tr><td colspan="2">{{ page.oneline }}</td></tr>
+ {% if page.tags %}
+ <tr><th scope="row">Tags</th><td>{{ page.tags }}</td></tr>
+ {% endif %}
+</table>
{% endcapture %}
-{% capture ccol %}<h1>{{ page.title }}</h1>{% endcapture %}
+{% capture ccol %}{% endcapture %}
{% include common-include.html %}
33 _layouts/technology.html
View
@@ -4,26 +4,27 @@
{% if page.oneline %}
{% capture rcol %}
-<td valign="top" class="menu-column">
- <div class="menu">
- <div class="menu-header">{{ page.title }}</div>
- <div class="menu-item"><em>{{ page.oneline }}</em></div>
- {% if page.forum %}
- <div class="menu-item"><em>Forum: </em>{{ page.forum }}</div>
- {% endif %}
- {% if page.tags %}
- <div class="menu-item"><em>Tags: </em>{{ page.tags }}</div>
- {% endif %}
- {% if page.techlink %}
- <div class="menu-item"><a href="{{ page.techlink }}">website</a></div>
- {% endif %}
- </div>
+<table>
+ <caption>{{ page.title }}</caption>
+ <tr><td colspan="2">{{ page.oneline }}</td></tr>
+ {% if page.forum %}
+ <tr><th scope="row">Forum</th><td>{{ page.forum }}</td></tr>
+ {% endif %}
+ {% if page.tags %}
+ <tr><th scope="row">Tags</th><td>{{ page.tags }}</td></tr>
+ {% endif %}
+ {% if page.techlink %}
+ <tr><td colspan="2"><a href="{{ page.techlink }}">Technology Site</a></td></tr>
+ {% endif %}
</td>
+
+</table>
+
{% endcapture %}
{% else %}
-{% assign rcol = "" %}
+{% capture rcol %}{% endcapture %}
{% endif %}
-{% capture ccol %}<h1>{{ page.title }}</h1>{% endcapture %}
+{% capture ccol %}{% endcapture %}
{% include common-include.html %}
296 css/github.css
View
@@ -1,194 +1,194 @@
+@import url('normalize.css');
-body, html
-{
- margin: 0px;
- padding: 0px;
+body {
+ background-color: #E6E3DE;
+ font-size: 10pt;
+ font-family: Verdana;
+ line-height: 1.3;
+ color: #484848;
+ font-weight: normal;
}
-body, p, td, table, tr
-{
- font-size: 10pt;
- font-family: Verdana;
- line-height: 1.3;
- color: #484848;
- font-weight: normal;
-}
-
-
-table.outlined {
- border-width: 1px;
- border-spacing: 0px;
- border-style: solid;
- border-color: #DFDFDF;
- border-collapse: collapse;
-}
-table.outlined th {
- border-width: 1px;
- padding: 2px;
- border-style: inset;
- border-color: #DFDFDF;
- background-color: #DFDFDF;
- font-weight: bold;
- text-align: left;
- -moz-border-radius: ;
-}
-table.outlined td {
- border-width: 1px;
- padding: 2px;
- border-style: inset;
- border-color: rgb(223, 223, 223);
- -moz-border-radius: ;
- vertical-align: text-top;
-}
-
-h1
-{
- font-family: Verdana;
- font-size: 14pt;
- border-bottom: 1px solid #DFDFDF;
+a {
+ text-decoration: none;
+ color: #0b4892;
}
-h2
-{
- font-size: 12pt;
- font-family: Verdana;
- padding-top: 5px;
- border-top: 4px solid #DFDFDF;
- margin-top: 40px;
+a:hover {
+ text-decoration: underline;
}
-a:link
-{
- text-decoration: underline;
- color: #0b78b2;
+h1 {
+ font-size: 14pt;
+ border-bottom: 1px solid #DFDFDF;
}
-a:visited
-{
- text-decoration: underline;
- color: #0b78b2;
+h2 {
+ font-size: 12pt;
+ padding-top: 5px;
+ border-top: 4px solid #DFDFDF;
+ margin-top: 40px;
}
-a.newsPost:link
-{
- text-decoration: none;
- color: #484848;
+h3 {
+ font-size: 12pt;
+ padding-top: 5px;
+ margin-top: 20px;
}
-a.newsPost:visited
-{
- text-decoration: none;
- color: #484848;
+#header_wrap {
+ background: url('../images/title_background.png');
+ height: 130px;
+ border-bottom: 1px solid #FFF;
}
+#header {
+ width: 962px;
+ margin: 0 auto;
+ position: relative;
+ top: 15px;
+}
+
+#blackberry-logo {
+ position: absolute;
+
+ color: #FFF;
+ font-size: 160%;
+}
+
+#blackberry-logo img {
+ vertical-align: -40%;
+ margin-right: 5px;
+}
+
+#github-logo {
+ position: absolute;
+ right: 0;
+ top: 3px;
+}
+
+#wrapper {
+ width: 960px;
+ margin: 0 auto;
+ position: relative;
+ top: -50px;
+ min-height: 49px;
+
+ background-color: #E6E3DE;
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+ border: 1px solid #FFF;
+ border-bottom: none;
+}
-.header
-{
- height: 91px;
- background-color: #FAFAFA;
- border-bottom: 1px solid #DFDFDF;
+#left {
+ position: absolute;
+ left: 10px;
+ top: 10px;
+ width: 170px;
}
-.logo
-{
- position: absolute;
- top: 15px;
- height: 50px;
- width: 342px;
- background-image: url('../images/logo.png');
- background-repeat: no-repeat;
- left: 50%;
- margin-left: -482px;
- cursor: hand;
- cursor:pointer;
+#toc>ul>li {
+ border: 1px solid #BBB;
+ margin-bottom: 10px;
+ border-radius: 3px;
+ background: #FCFCFC;
+ text-indent: 5px;
+ padding-top: 3px;
}
-.github-logo
-{
- position: absolute;
- top: 15px;
- height: 50px;
- width: 111px;
- background-image: url('../images/github-logo.png');
- background-repeat: no-repeat;
- left: 50%;
- margin-left: 365px;
- cursor: hand;
+#toc li {
+ font-weight: bold;
}
-.center
-{
- position: absolute;
- top: 70px;
- width: 965px;
- background-image: url('../images/center-background.png');
- background-repeat: no-repeat;
- left: 50%;
- margin-left: -482px;
- padding-top: 20px;
+#toc li ul {
+ padding: 3px 0 5px 5px;
+ margin-top: 5px;
+ background-color: #FFF;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
+ border-top: 1px solid #BBB;
}
-.content
-{
- margin-left: 30px;
- margin-right: 30px;
- display: inline-block;
+#toc li ul li {
+ list-style-type: square;
+ list-style-position: inside;
+ font-weight: normal;
+ margin-bottom: 2px;
+}
+#content {
+ position: absolute;
+ left: 190px;
+ top: 10px;
+ width: 718px;
+ padding: 10px 20px 20px 20px;
+
+ background-color: #FFF;
+ border-radius: 3px;
+ border: 1px solid #BBB;
}
-.content-column
-{
- width: 700px;
- padding-right: 20px;
- padding-left: 20px;
+#content p {
+ margin-top: 1em;
}
-.menu-column
-{
- width: 300px;
+#content ul {
+ list-style-type: square;
+ list-style-position: inside;
+ margin: 5px 0 5px 15px;
}
-.menu
-{
- border: 1px solid #DFDFDF;
+#content ol {
+ list-style-type: decimal;
+ list-style-position: inside;
+ margin: 5px 0 5px 15px;
+}
+#content li {
+ margin-bottom: 2px;
}
-.menu-item
-{
- border-bottom: 1px solid #DFDFDF;
- padding: 5px;
+#right {
+ float: right;
+ width: 180px;
+ padding: 10px;
+ padding-bottom: 5px;
+ margin: 10px 0 10px 10px;
+
+ border-radius: 3px;
+ border: 1px solid #BBB;
}
-.menu-header
-{
- background-color:#FAFAFA;
- padding: 5px;
- border-bottom: 1px solid #DFDFDF;
- font-weight: bold;
+#right table {
+ width: 100%;
}
-.toc-column
-{
- width: 200px;
+#right caption {
+ text-align: center;
+ font-size: 12pt;
+ margin-bottom: 10px;
+ font-weight: bold;
}
-.toc
-{
- border: 1px solid #DFDFDF;
+#right tr {
+ border-top: 1px solid #BBB;
}
-.toc-item
-{
- border-bottom: 1px solid #DFDFDF;
- padding: 5px;
+#right th {
+ font-weight: bold;
+ padding-right: 3px;
+/* width: 80px; */
}
-.toc-header
-{
- background-color:#FAFAFA;
- padding: 5px;
- border-bottom: 1px solid #DFDFDF;
- font-weight: bold;
+#right td, #right th {
+ padding-bottom: 5px;
+ padding-top: 5px;
}
+
+#copyright {
+ position: absolute;
+ bottom: -3em;
+ padding-bottom: 1em;
+}
25 css/normalize.css
View
@@ -0,0 +1,25 @@
+/* Normalizes margin, padding */
+body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td, img
+{ margin : 0; padding : 0; }
+
+/* Normalizes font-size for headers */
+h1,h2,h3,h4,h5,h6 { font-size : 100%; }
+
+/* Removes list-style from lists */
+ol,ul { list-style : none; }
+
+/* Normalizes font-style and font-weight to normal */
+address, caption, cite, code, dfn, th, var
+{ font-style : normal; font-weight : normal; }
+
+/* Removes list-style from lists */
+table { border-collapse : collapse; border-spacing : 0; }
+
+/* Removes border from fieldset and img */
+fieldset,img { border : 0; }
+
+/* Left-aligns text in caption and th */
+caption,th { text-align : left; }
+
+/* Removes quotation marks from q */
+q:before, q:after { content :''; }
BIN  images/logo.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  images/title_background.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.