Initial site layout. Lets check this works on github etc.

gh-pages
Richard Meadows 2015-04-14 18:39:21 +01:00
rodzic 5bfa59d1a8
commit fff15cda5c
13 zmienionych plików z 106 dodań i 151 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
bristol-seds.github.io
bristol-seds.github.io/pico-tracker
======================
Available at http://bristol-seds.github.io/.
Available at http://bristol-seds.github.io/pico-tracker.
## Running the server for local testing
@ -14,6 +14,9 @@ Start Jekyll:
Note that changes to `_config.yml` may require restarting the server.
#Items from the main site, may not work here:
## Adding photo carousels
First put all photos in the `asset_path` directory for a post. Then list all in the front-matter like so:

Wyświetl plik

@ -16,18 +16,10 @@
</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="{{ "/projects.html" | prepend: site.baseurl }}">Projects</a>
</li>
<li>
<a href="{{ "/committee.html" | prepend: site.baseurl }}">Committee</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://bris.ac.uk">
University of Bristol
University of Bristol
<img style="margin-left:5px;" width="20" height="20" src="{{ "/assets/logos/bristol_university_logo.png" | prepend: site.baseurl }}">
</a>
</li>

Wyświetl plik

@ -10,6 +10,9 @@
<!-- ============================================================== -->
{{ content }}
<br/>
{% include footer.html %}
{% include scripts.html %}

Wyświetl plik

@ -1,15 +0,0 @@
---
layout: default
---
<div class="container">
<div class="post">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%B %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
<article class="post-content">
{{ content }}
</article>
</div>
</div>

Wyświetl plik

@ -0,0 +1,34 @@
---
title: ARM Cortex M0+
tagline: Low power and things
---
Youll find this post in your `_posts` directory. Go ahead and edit it
and re-build the site to see your changes. You can rebuild the site in
many different ways, but the most common way is to run `jekyll serve
--watch`, which launches a web server and auto-regenerates your site
when a file is updated.
To add new posts, simply add a file in the `_posts` directory that
follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the
necessary front matter. Take a look at the source for this post to get
an idea about how it works.
Jekyll also offers powerful support for code snippets:
{% highlight ruby linenos %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}
Check out the [Jekyll docs][jekyll] for more info on how to get the
most out of Jekyll. File all bugs/feature requests at
[Jekylls GitHub repo][jekyll-gh]. If you have questions, you can ask
them on [Jekylls dedicated Help repository][jekyll-help].
[jekyll]: http://jekyllrb.com
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-help]: https://github.com/jekyll/jekyll-help

Wyświetl plik

@ -0,0 +1,34 @@
---
title: Global Positioning System Receiver
tagline: from ublox ag.
---
Youll find this post in your `_posts` directory. Go ahead and edit it
and re-build the site to see your changes. You can rebuild the site in
many different ways, but the most common way is to run `jekyll serve
--watch`, which launches a web server and auto-regenerates your site
when a file is updated.
To add new posts, simply add a file in the `_posts` directory that
follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the
necessary front matter. Take a look at the source for this post to get
an idea about how it works.
Jekyll also offers powerful support for code snippets:
{% highlight ruby linenos %}
def print_hi(name)
puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.
{% endhighlight %}
Check out the [Jekyll docs][jekyll] for more info on how to get the
most out of Jekyll. File all bugs/feature requests at
[Jekylls GitHub repo][jekyll-gh]. If you have questions, you can ask
them on [Jekylls dedicated Help repository][jekyll-help].
[jekyll]: http://jekyllrb.com
[jekyll-gh]: https://github.com/jekyll/jekyll
[jekyll-help]: https://github.com/jekyll/jekyll-help

Wyświetl plik

@ -49,7 +49,7 @@ a:hover, a:focus {
}
/**
* Maps
* Maps
*/
.map-canvas {
height: 400px;
@ -59,7 +59,7 @@ a:hover, a:focus {
}
/**
* Charts
* Charts
*/
.nvd3 text {
@ -91,68 +91,19 @@ pre {
}
}
/**
* Committee Page
*/
#committee-gallery img {
max-width:18rem;
}
#committee-gallery li {
border: solid white;
margin: 20px
}
#committee-gallery a {
padding-right: 1em;
white-space: nowrap
}
/**
* Posts
*/
.post-list {
margin-left: 0;
list-style: none;
> li {
margin-bottom: $spacing-unit;
}
}
.post-meta {
font-size: 16px * 0.875;
color: gray;
}
.post-link {
.fill-page > img {
display: block;
font-size: 24px;
}
.post-header {
margin-bottom: $spacing-unit;
}
.post-title {
font-size: 42px;
letter-spacing: -1px;
line-height: 1;
}
.post-content {
margin-bottom: $spacing-unit;
max-width: 100%;
height: auto;
border: 0px none;
h2 {
font-size: 32px;
}
h3 {
font-size: 26px;
}
h4 {
font-size: 20px;
}
img {
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
}
/**
* Old Notice
*/
.glyphicon-warning-sign {
font-size: 4em;
color: #f77;

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 25 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 973 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 302 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 29 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 42 KiB

Wyświetl plik

@ -1,76 +1,29 @@
---
layout: default
asset_path: /assets/
stories:
- id: /balloon/2014/06/15/hab-launch
image: hab.jpg
- id: /pico-tracker/balloon/2014/08/01/pico-tracker
image: pico-tracker.jpg
- id: /rockoon/2012/01/01/bristol-rockoon
image: rocketlaunch.jpg
---
<div id="image-carousel" class="carousel slide carousel-max-width-1920" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#image-carousel" data-slide-to="0" class="active"></li>
<li data-target="#image-carousel" data-slide-to="1"></li>
<li data-target="#image-carousel" data-slide-to="2"></li>
<li data-target="#image-carousel" data-slide-to="3"></li>
</ol>
<div class="carousel-inner">
<div class="item active">
<img src="{{ "slide1.jpg" | prepend: page.asset_path }}">
</div>
<div class="item">
<img src="{{ "slide2.jpg" | prepend: page.asset_path }}">
</div>
<div class="item">
<img src="{{ "slide3.jpg" | prepend: page.asset_path }}">
</div>
<div class="item">
<img src="{{ "slide4.jpg" | prepend: page.asset_path }}">
</div>
</div>
<a class="left carousel-control" href="#image-carousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#image-carousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
<div id="image-cover" class="fill-page">
<img src="{{ "pico-tracker-apr-2015.jpg" | prepend: page.asset_path }}">
</div>
<div class="container">
<h1>We send stuff into the stratosphere <small>and sometimes get it back again</small></h1>
<p class="lead">We are the Bristol branch of UKSEDS (UK Students for the Exploration and
Development of Space). Here are some projects that we've done.</p>
{% for story in page.stories %}
{% capture image %}{% cycle 'odd', 'even' %}{% endcapture %}
<div class="row">
<div class="col-md-4 {% if image == 'even' %}col-md-push-8{% endif %}">
<img src="{{ story.image | prepend: page.asset_path }}"
class="img-responsive img-rounded">
</div>
<div class="col-md-8 {% if image == 'even' %}col-md-pull-4{% endif %}">
{% for post in site.posts %}
{% if post.id == story.id %}
<h2>{{ post.title }}</h2>
<p class="lead">{{ post.excerpt | remove: '<p>' | remove: '</p>' }}</p>
<p><a class="btn btn-default btn-primary" href="{{ post.url }}">Read more...</a></p>
{% endif %}
{% endfor %}
</div>
</div>
<hr>
{% endfor %}
<h1>High Altitude Balloon tracking <small>in minature</small></h1>
<p class="lead">We are the Bristol branch of UKSEDS (UK Students for
the Exploration and Development of Space). Here's how we track our
high altitude balloons.</p>
<h1>Join us!</h1>
<p class="lead">Details of the next meeting will be posted on the <a href="https://www.facebook.com/groups/bristolseds/">facebook group</a>!</p>
<p>To officially join the society you'll need to sign in to the <a href="https://www.ubu.org.uk/login/">union website</a> and hit the join button on <a href="https://www.ubu.org.uk/activities/societies/9490/">our page</a>. But don't worry - You're more than welcome to come along to the first few meetings without doing this.</p>
<article class="post-content">
{% for post in site.posts %}
<hr/>
<h2>{{ post.title }} <small>{{post.tagline}}</small></h2>
<p class="">{{ post.excerpt }}</p>
{% endfor %}
</article>
</div>