-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from joeroe/main
Replace theme
- Loading branch information
Showing
9 changed files
with
152 additions
and
71 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 |
---|---|---|
@@ -1,26 +1,5 @@ | ||
source "https://rubygems.org" | ||
|
||
# Bootstrap Github Pages dependencies (including Jekyll) | ||
gem "github-pages", "~> 232", group: :jekyll_plugins | ||
gem "github-pages", group: :jekyll_plugins | ||
|
||
# Default Jekyll theme | ||
gem "minima", "~> 2.5" | ||
|
||
# Jekyll plugins | ||
group :jekyll_plugins do | ||
gem "jekyll-feed", "~> 0.12" | ||
end | ||
|
||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
platforms :mingw, :x64_mingw, :mswin, :jruby do | ||
gem "tzinfo", ">= 1", "< 3" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin] | ||
|
||
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem | ||
# do not have a Java counterpart. | ||
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] |
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 |
---|---|---|
|
@@ -18,17 +18,15 @@ | |
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
|
||
title: publish.open-archaeo.info | ||
title: 💎 Diamond Archaeology | ||
# email: [email protected] | ||
github_username: open-archaeo | ||
description: > | ||
Open venues for publishing, reviewing and curating archaeological research. | ||
description: Open venues for publishing, reviewing and curating archaeological research | ||
|
||
#baseurl: "" # the subpath of your site, e.g. /blog | ||
#url: "" # the base hostname & protocol for your site, e.g. http://example.com | ||
|
||
# Build settings | ||
theme: minima | ||
plugins: | ||
- jekyll-feed | ||
|
||
|
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,9 @@ | ||
{% case include.model %} | ||
{% when "diamond" %} | ||
<span role="img" class="icon" data-tooltip="Diamond open access" data-placement="left">💎</span> | ||
{% when "gold" %} | ||
<span role="img" class="icon" data-tooltip="Gold open access" data-placement="left">🪙</span> | ||
{% else %} | ||
<span role="img" class="icon" data-tooltip="Unknown open access model" data-placement="left">❓</span> | ||
{% endcase %} | ||
|
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,25 @@ | ||
.center { | ||
text-align: center; | ||
} | ||
|
||
[data-tooltip].icon { | ||
border-bottom: 0; | ||
} | ||
|
||
/* Table sorting */ | ||
button.sort, | ||
button.sort:focus { | ||
border: 0; | ||
} | ||
|
||
.sort:after { | ||
content: "\21C5"; | ||
} | ||
|
||
.sort.desc:after { | ||
content: "\2191"; | ||
} | ||
|
||
.sort.asc:after { | ||
content: "\2193"; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 @@ | ||
/* Sortable table with list.js */ | ||
var listOptions = { | ||
valueNames: [ | ||
'model', | ||
{ attr: 'data-title', name: 'title' }, | ||
'publisher' | ||
] | ||
}; | ||
|
||
var journalsList = new List('journals-list', listOptions); | ||
|
||
/* Turn on disabled controls */ | ||
searchControls = document.getElementById("journals-list").getElementsByClassName("search"); | ||
Array.from(searchControls).forEach((element) => { | ||
element.disabled = false; | ||
}); | ||
|
||
sortControls = document.getElementById("journals-list").getElementsByClassName("sort"); | ||
Array.from(sortControls).forEach((element) => { | ||
element.disabled = false; | ||
}); |