Change position of article carousel title

This commit is contained in:
2019-09-01 20:19:30 +01:00
parent 88e927b116
commit 0bcf74c6e7
21 changed files with 84 additions and 74 deletions

View File

@@ -1,12 +1,12 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.10)
activesupport (4.2.11.1)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.2)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
coffee-script (2.4.1)
coffee-script-source
@@ -15,8 +15,8 @@ GEM
colorator (1.1.0)
commonmarker (0.17.13)
ruby-enum (~> 0.5)
concurrent-ruby (1.1.4)
dnsruby (1.61.2)
concurrent-ruby (1.1.5)
dnsruby (1.61.3)
addressable (~> 2.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
@@ -27,26 +27,26 @@ GEM
execjs (2.7.0)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.10.0)
ffi (1.11.1)
forwardable-extended (2.6.0)
gemoji (3.0.0)
github-pages (193)
activesupport (= 4.2.10)
github-pages-health-check (= 1.8.1)
jekyll (= 3.7.4)
gemoji (3.0.1)
github-pages (198)
activesupport (= 4.2.11.1)
github-pages-health-check (= 1.16.1)
jekyll (= 3.8.5)
jekyll-avatar (= 0.6.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.1.5)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.11.0)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.9.4)
jekyll-github-metadata (= 2.12.1)
jekyll-mentions (= 1.4.1)
jekyll-optional-front-matter (= 0.3.0)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.2.0)
jekyll-redirect-from (= 0.14.0)
jekyll-relative-links (= 0.5.3)
jekyll-relative-links (= 0.6.0)
jekyll-remote-theme (= 0.3.1)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.5.0)
@@ -66,28 +66,28 @@ GEM
jekyll-theme-tactile (= 0.1.1)
jekyll-theme-time-machine (= 0.1.1)
jekyll-titles-from-headings (= 0.5.1)
jemoji (= 0.10.1)
jemoji (= 0.10.2)
kramdown (= 1.17.0)
liquid (= 4.0.0)
listen (= 3.1.5)
mercenary (~> 0.3)
minima (= 2.5.0)
nokogiri (>= 1.8.2, < 2.0)
nokogiri (>= 1.8.5, < 2.0)
rouge (= 2.2.1)
terminal-table (~> 1.4)
github-pages-health-check (1.8.1)
github-pages-health-check (1.16.1)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (~> 2.0)
public_suffix (~> 3.0)
typhoeus (~> 1.3)
html-pipeline (2.10.0)
html-pipeline (2.12.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.7.4)
jekyll (3.8.5)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
@@ -105,9 +105,9 @@ GEM
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-commonmark (1.2.0)
jekyll-commonmark (1.3.1)
commonmarker (~> 0.14)
jekyll (>= 3.0, < 4.0)
jekyll (>= 3.7, < 5.0)
jekyll-commonmark-ghpages (0.1.5)
commonmarker (~> 0.17.6)
jekyll-commonmark (~> 1)
@@ -118,8 +118,8 @@ GEM
jekyll (~> 3.3)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.9.4)
jekyll (~> 3.1)
jekyll-github-metadata (2.12.1)
jekyll (~> 3.4)
octokit (~> 4.0, != 4.4.0)
jekyll-mentions (1.4.1)
html-pipeline (~> 2.3)
@@ -131,7 +131,7 @@ GEM
jekyll (~> 3.0)
jekyll-redirect-from (0.14.0)
jekyll (~> 3.3)
jekyll-relative-links (0.5.3)
jekyll-relative-links (0.6.0)
jekyll (~> 3.3)
jekyll-remote-theme (0.3.1)
jekyll (~> 3.5)
@@ -185,9 +185,9 @@ GEM
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.1)
jekyll (~> 3.3)
jekyll-watch (2.1.2)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.10.1)
jemoji (0.10.2)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (~> 3.0)
@@ -204,14 +204,14 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.11.3)
multipart-post (2.0.0)
nokogiri (1.10.1)
multipart-post (2.1.1)
nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
octokit (4.13.0)
octokit (4.14.0)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
public_suffix (3.1.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
@@ -219,16 +219,16 @@ GEM
ruby-enum (0.7.2)
i18n
ruby_dep (1.5.0)
rubyzip (1.2.2)
safe_yaml (1.0.4)
sass (3.7.3)
rubyzip (1.2.3)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
@@ -236,7 +236,7 @@ GEM
ethon (>= 0.9.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unicode-display_width (1.4.1)
unicode-display_width (1.6.0)
PLATFORMS
ruby
@@ -245,4 +245,4 @@ DEPENDENCIES
github-pages
BUNDLED WITH
2.0.1
2.0.2

View File

@@ -12,7 +12,7 @@
{% assign break = false %}
{% if author == current_author %}
{% if article_list_displayed == false %}
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
{% if current_authors.size > 1 %}
Other Articles By These Authors
{% else %}

View File

@@ -216,7 +216,7 @@ Click <a href="/">here</a> to see the articles Reading Schools year 8 student
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -1 +1 @@
youngreporter.matthew-grove.ml
youngreporter.mgrove.uk

View File

@@ -1,2 +1,2 @@
# BBC School Report | Reading School
This is Reading School's BBC School Report website. If you have any problems with this website, please [email me at matthew@grove.gq](mailto:matthew@grove.gq), or [create an issue on GitHub](https://github.com/reading-school-code/bbc-school-report/issues/new).
This is Reading School's BBC School Report website. If you have any problems with this website, please [email me at me@mgrove.uk](mailto:me@mgrove.uk), or [create an issue on GitHub](https://github.com/reading-school-code/bbc-school-report/issues/new).

View File

@@ -467,7 +467,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -510,7 +510,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -451,7 +451,7 @@
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By These Authors
@@ -562,7 +562,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -479,7 +479,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -442,7 +442,7 @@
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By This Author
@@ -492,7 +492,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -455,7 +455,7 @@
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By These Authors
@@ -524,7 +524,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -493,7 +493,7 @@ Others objected to the planning application by expressing fears of the damaging
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -495,7 +495,7 @@ Well of course the most effective and most common method experienced by Reading
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -363,7 +363,7 @@ It is standard protocol in the NHS that doctors must consult with the patient an
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By This Author
@@ -522,7 +522,7 @@ It is standard protocol in the NHS that doctors must consult with the patient an
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -339,7 +339,7 @@ Under the plan, the main theatre would operate on a commercial basis with the re
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By These Authors
@@ -552,7 +552,7 @@ Under the plan, the main theatre would operate on a commercial basis with the re
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -244,7 +244,7 @@
<h2 class="mdc-typography--headline5">
<h2 class="mdc-typography--headline5 article-carousel-title">
Other Articles By This Author
@@ -495,7 +495,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -92,3 +92,8 @@ iframe {
.slick-dotted.slick-slider {
margin-bottom: 13px;
}
/* align article carousel title with carousel items */
.article-carousel-title {
text-align: center;
}

View File

@@ -457,7 +457,7 @@
</main>
<footer>
<img>
<span >&copy; Reading School 2019 | Made by <a href="https://matthew-grove.ml">Matthew G</a></span>
<span >&copy; Reading School 2019 | Made by <a href="https://mgrove.uk">Matthew G</a></span>
</footer>
<a href="javascript:scrollUp()" class="top-scroll-button">

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="/vle/bbcnews/assets/cookies.js"></script>
<script src="/js/cookies.js"></script>
<script>
Cookies.remove("reading-school-bbc-young-reporter-cookies-accepted");
</script>

View File

@@ -5,7 +5,7 @@
<url>
<loc>/404.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
@@ -16,7 +16,7 @@
<url>
<loc>/auto-refresh.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
@@ -27,7 +27,7 @@
<url>
<loc>/</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
@@ -42,77 +42,77 @@
<url>
<loc>/articles/2019/03/06/finished-product.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/are-the-roads-around-your-home-and-school-safe.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/student-survey-shows-rosa-parks-is-most-inspirational-woman-ever.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/book-week-real-life-issues-inspire-sarah-govett.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/a-possible-autism-anorexia-link-has-been-found-so-what-are-we-doing-about-it.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/could-sky-high-aims-bring-reading-down.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/tennis-club-needs-to-relocate-as-redevelopment-plans-are-called-out.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/video-games-virtual-fantasy-or-a-virtual-prison.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/what-is-in-the-patients-best-interest.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/whats-next-for-reading-prison.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/articles/2019/03/06/young-reporter-team-ready-to-go.html</loc>
<lastmod>2019-03-06</lastmod>
<lastmod>2019-09-01</lastmod>
<changefreq>hourly</changefreq>
<priority>0.5</priority>
</url>

View File

@@ -92,3 +92,8 @@ iframe {
.slick-dotted.slick-slider {
margin-bottom: 13px;
}
/* align article carousel title with carousel items */
.article-carousel-title {
text-align: center;
}