forked from JLESC/jlesc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic Scaffold with functional Travis integration
Signed-off-by: Torbjörn Klatt <[email protected]>
- Loading branch information
0 parents
commit 55d1022
Showing
184 changed files
with
11,191 additions
and
0 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,81 @@ | ||
### Travis ### | ||
travis_deploy_rsa | ||
|
||
### Jekyll ### | ||
_site/ | ||
.asset-cache/ | ||
.jekyll-metadata | ||
|
||
|
||
### Ruby ### | ||
*.gem | ||
*.rbc | ||
/.config | ||
/coverage/ | ||
/InstalledFiles | ||
/pkg/ | ||
/spec/reports/ | ||
/test/tmp/ | ||
/test/version_tmp/ | ||
/tmp/ | ||
|
||
## Specific to RubyMotion: | ||
.dat* | ||
.repl_history | ||
build/ | ||
|
||
## Documentation cache and generated files: | ||
/.yardoc/ | ||
/_yardoc/ | ||
/doc/ | ||
/rdoc/ | ||
|
||
## Environment normalisation: | ||
/.bundle/ | ||
/lib/bundler/man/ | ||
/vendor/ | ||
|
||
# for a library or gem, you might want to ignore these files since the code is | ||
# intended to run in multiple environments; otherwise, check them in: | ||
Gemfile.lock | ||
# .ruby-version | ||
# .ruby-gemset | ||
|
||
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: | ||
.rvmrc | ||
|
||
|
||
### Linux ### | ||
*~ | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
|
||
### IDEs ### | ||
.idea/ |
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 @@ | ||
Torbjörn Klatt <[email protected]> <[email protected]> |
Empty file.
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 @@ | ||
jlescorg |
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 @@ | ||
ruby-2.2.1 |
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,27 @@ | ||
language: ruby | ||
|
||
sudo: false | ||
|
||
# this is taken from .ruby-version from the repo | ||
# rvm: | ||
# - 2.2.1 | ||
|
||
cache: | ||
- bundler | ||
|
||
branches: | ||
except: | ||
- master | ||
|
||
script: | ||
- bundle exec jekyll build --trace | ||
# preparing the deployment SSH key and running the deployment script | ||
- if [[ "${TRAVIS_BRANCH}" == "source" && "${TRAVIS_PULL_REQUEST}" == "false" ]]; then | ||
openssl aes-256-cbc -K $encrypted_d352a8d3929a_key -iv $encrypted_d352a8d3929a_iv -in travis_deploy_rsa.enc -out travis_deploy_rsa -d; | ||
chmod 0600 travis_deploy_rsa; | ||
eval "$(ssh-agent -s)"; | ||
ssh-add travis_deploy_rsa; | ||
git config --global user.email "[email protected]"; | ||
git config --global user.name "Travis CI Deployment"; | ||
bundle exec jgd --branch=master [email protected]:JLESC/jlesc.github.io; | ||
fi |
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,6 @@ | ||
# Contributing | ||
|
||
Please read the wiki on GitHub for details on contributing to the website: | ||
|
||
https://github.com/JLESC/jlesc.github.io/wiki | ||
|
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 @@ | ||
Torbjörn Klatt <[email protected]> |
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,23 @@ | ||
source 'https://rubygems.org/' | ||
ruby '2.2.1' | ||
|
||
# other dependencies | ||
gem 'sass' | ||
gem 'uglifier' | ||
gem 'coffee-script' | ||
gem 'autoprefixer-rails' | ||
gem 'mini_magick' | ||
gem 'font-awesome-sass', '>=4.5.0' | ||
|
||
gem 'jekyll', '>=3.0' | ||
|
||
# Jekyll Plugins | ||
gem 'jekyll-watch' | ||
gem 'jekyll-paginate' | ||
gem 'jekyll-feed' | ||
gem 'jekyll-assets' | ||
gem 'jekyll-sitemap' | ||
gem 'jekyll-scholar' | ||
|
||
gem 'jgd' | ||
|
Empty file.
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,8 @@ | ||
$font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !default; | ||
$font-family-serif: "Roboto Slab", Georgia, "Times New Roman", Times, serif !default; | ||
$font-family-monospace: "Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace !default; | ||
|
||
$enable-rounded: false; | ||
$enable-transitions: true; | ||
|
||
@import "vendor/bootstrap/bootstrap"; |
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,7 @@ | ||
@function fa-font-path($path) { | ||
@return font_path($path); | ||
} | ||
|
||
$fa-sass-asset-helper: true; | ||
|
||
@import 'font-awesome'; |
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,160 @@ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local('Roboto'), | ||
local('Roboto-Regular'), | ||
url(font_path('Roboto-Regular.woff2')) format('woff2'), | ||
url(font_path('Roboto-Regular.ttf')) format('truetype'); | ||
} | ||
@font-face { | ||
font-family: 'Roboto Mono'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local('Roboto Mono'), | ||
local('RobotoMono-Regular'), | ||
url(font_path('RobotoMono-Regular.woff2')) format('woff2'), | ||
url(font_path('RobotoMono-Regular.ttf')) format('truetype'); | ||
} | ||
@font-face { | ||
font-family: 'Roboto Slab'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local('Roboto Slab Regular'), | ||
local('RobotoSlab-Regular'), | ||
url(font_path('RobotoSlab-Regular.woff2')) format('woff2'), | ||
url(font_path('RobotoSlab-Regular.ttf')) format('truetype'); | ||
} | ||
|
||
@import "themes/cosmo"; | ||
@import 'bootstrap'; | ||
@import 'fontawesome'; | ||
|
||
|
||
html { | ||
body { | ||
margin-top: 3.4rem; | ||
margin-bottom: 3.4rem; | ||
|
||
noscript { | ||
.card { | ||
margin-bottom: 0; | ||
} | ||
.card-block { | ||
padding: 0; | ||
} | ||
} | ||
|
||
main > .container { | ||
padding-top: 2rem; | ||
padding-bottom: 2rem; | ||
} | ||
|
||
.jumbotron { | ||
margin-bottom: 0; | ||
padding: 0; | ||
} | ||
|
||
#news-index { | ||
section { | ||
footer { | ||
padding: 0.25rem 1.25rem !important; | ||
|
||
ul { | ||
margin: 0rem !important; | ||
} | ||
} | ||
} | ||
} | ||
|
||
img.logo { | ||
@include center-block; | ||
@include img-fluid(); | ||
max-height: 7.5rem; | ||
} | ||
|
||
#institutes img.logo { | ||
@extend .p-a-1; | ||
} | ||
|
||
#recent-news.card { | ||
.list-group { | ||
label { | ||
line-height: inherit !important; | ||
} | ||
} | ||
.card-footer { | ||
padding: 0.25rem 1.25rem; | ||
} | ||
} | ||
|
||
.bibtex-entry-container { | ||
.bibtex-ref-raw { | ||
pre code { | ||
color: $text-muted !important; | ||
} | ||
} | ||
.bibtex-ref-abstract { | ||
color: $text-muted !important; | ||
} | ||
} | ||
|
||
.ref-label { | ||
width: 100%; | ||
display: block !important; | ||
font-size: 85% !important; | ||
text-overflow: clip; | ||
overflow: hidden; | ||
} | ||
|
||
.post { | ||
article { | ||
aside { | ||
ul li.list-group-item.row { | ||
margin: 0 !important; | ||
padding: 0.2rem 0 0.2rem 0; | ||
border-bottom-width: 0; | ||
|
||
label { | ||
margin-bottom: 0 !important; | ||
font-weight: bold; | ||
} | ||
} | ||
} | ||
} | ||
|
||
footer { | ||
.card-block { | ||
padding: .25rem; | ||
} | ||
} | ||
} | ||
|
||
#group-index, #project-index { | ||
section.card { | ||
img { | ||
width: 100%; | ||
} | ||
} | ||
} | ||
|
||
footer#site-footer { | ||
color: $text-muted; | ||
|
||
.navbar-nav { | ||
.nav-link + .nav-link { | ||
margin: 0 !important; | ||
} | ||
} | ||
|
||
a.nav-link { | ||
display: inline; | ||
color: $text-muted; | ||
} | ||
|
||
a.nav-link:hover { | ||
color: $link-hover-color !important; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.