Removing skeleventy sources.
6208
package-lock.json
generated
19
package.json
|
|
@ -1,19 +0,0 @@
|
||||||
{
|
|
||||||
"name": "sundays",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://git.destrealm.org/zancarius/sundays.git"
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": "Benjamin A. Shelton <[email protected]>",
|
|
||||||
"license": "proprietary",
|
|
||||||
"devDependencies": {
|
|
||||||
"@11ty/eleventy": "^1.0.2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
8
sources/.gitignore
vendored
|
|
@ -1,8 +0,0 @@
|
||||||
node_modules/
|
|
||||||
css/
|
|
||||||
dist/
|
|
||||||
js/
|
|
||||||
papers/
|
|
||||||
public/
|
|
||||||
mix-manifest.json
|
|
||||||
package-lock.json
|
|
||||||
|
|
@ -1,96 +0,0 @@
|
||||||
const navigation = require('@11ty/eleventy-navigation')
|
|
||||||
const dates = require('./utilities/filters/dates')
|
|
||||||
const helpers = require('./utilities/filters/helpers')
|
|
||||||
const path = require('path')
|
|
||||||
|
|
||||||
module.exports = config => {
|
|
||||||
|
|
||||||
// navigation plugin
|
|
||||||
config.addPlugin(navigation)
|
|
||||||
|
|
||||||
// Human readable date for posts
|
|
||||||
config.addFilter('dateDisplay', dates.friendly)
|
|
||||||
|
|
||||||
// Timestamp for datetime element
|
|
||||||
config.addFilter('timestamp', dates.timestamp)
|
|
||||||
|
|
||||||
config.addFilter('ts_suffix', (s) => {
|
|
||||||
return s + "?" + Date.now()
|
|
||||||
})
|
|
||||||
|
|
||||||
// Remove whitespace from a string
|
|
||||||
config.addNunjucksFilter('spaceless', helpers.spaceless)
|
|
||||||
|
|
||||||
config.addNunjucksFilter('titleCase', helpers.titleCase)
|
|
||||||
|
|
||||||
// Minify our HTML
|
|
||||||
config.addTransform('htmlminify', require('./utilities/transforms/htmlminify'))
|
|
||||||
|
|
||||||
// Collections
|
|
||||||
config.addCollection('notes', collection => {
|
|
||||||
|
|
||||||
const blogs = collection.getFilteredByTag('notes')
|
|
||||||
|
|
||||||
for ( let i = 0; i < blogs.length; i++ ) {
|
|
||||||
|
|
||||||
const previous_post = blogs[i - 1]
|
|
||||||
const next_post = blogs[i + 1]
|
|
||||||
|
|
||||||
blogs[i].data['previous_post'] = previous_post
|
|
||||||
blogs[i].data['next_post'] = next_post
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
return blogs.reverse()
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
// Categories collection
|
|
||||||
config.addCollection('categories', collection => {
|
|
||||||
|
|
||||||
const list = new Set()
|
|
||||||
|
|
||||||
collection.getAll().forEach(item => {
|
|
||||||
|
|
||||||
if (!item.data.tags) return
|
|
||||||
|
|
||||||
item.data.tags
|
|
||||||
.filter(category => !['notes', 'all'].includes(category))
|
|
||||||
.forEach(category => list.add(category))
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
return Array.from(list).sort()
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
// Layout aliases
|
|
||||||
config.addLayoutAlias('base', 'layouts/base.njk')
|
|
||||||
config.addLayoutAlias('home', 'layouts/home.njk')
|
|
||||||
config.addLayoutAlias('page', 'layouts/page.njk')
|
|
||||||
config.addLayoutAlias('notes', 'layouts/notes.njk')
|
|
||||||
config.addLayoutAlias('notes-home', 'layouts/notes-home.njk')
|
|
||||||
config.addLayoutAlias('post', 'layouts/post.njk')
|
|
||||||
config.addLayoutAlias('contact', 'layouts/contact.njk')
|
|
||||||
config.addLayoutAlias('category', 'layouts/category.njk')
|
|
||||||
|
|
||||||
// Include our static assets
|
|
||||||
config.addPassthroughCopy('css')
|
|
||||||
config.addPassthroughCopy('js')
|
|
||||||
config.addPassthroughCopy('images')
|
|
||||||
config.addPassthroughCopy('favicon.png')
|
|
||||||
config.addPassthroughCopy('favicon.svg')
|
|
||||||
config.addPassthroughCopy('papers')
|
|
||||||
|
|
||||||
return {
|
|
||||||
markdownTemplateEngine: 'njk',
|
|
||||||
dir: {
|
|
||||||
input: 'site',
|
|
||||||
output: 'public',
|
|
||||||
includes: 'includes',
|
|
||||||
data: 'globals'
|
|
||||||
},
|
|
||||||
pathPrefix: "/sundays/"
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 4.9 KiB |
|
|
@ -1,49 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
width="83.649155mm"
|
|
||||||
height="111.79879mm"
|
|
||||||
viewBox="0 0 83.649155 111.79879"
|
|
||||||
version="1.1"
|
|
||||||
id="svg5"
|
|
||||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14, custom)"
|
|
||||||
sodipodi:docname="cross.svg"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview7"
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:showpageshadow="2"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pagecheckerboard="0"
|
|
||||||
inkscape:deskcolor="#d1d1d1"
|
|
||||||
inkscape:document-units="mm"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="0.75366162"
|
|
||||||
inkscape:cx="-98.187301"
|
|
||||||
inkscape:cy="272.00536"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="1024"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="layer1" />
|
|
||||||
<defs
|
|
||||||
id="defs2" />
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(-65.882284,-39.479829)">
|
|
||||||
<path
|
|
||||||
id="rect111"
|
|
||||||
style="opacity:0.98;fill:#49b8c0;fill-opacity:1;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers"
|
|
||||||
d="m 96.349158,39.479829 v 29.21882 H 65.882284 v 18.642273 h 30.466874 v 63.937698 h 0.671277 21.372855 0.67128 V 87.340922 h 30.46687 V 68.698649 h -30.46687 v -29.21882 h -0.67128 -21.372855 z"
|
|
||||||
sodipodi:nodetypes="ccccccccccccccccc" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 317 KiB |
|
Before Width: | Height: | Size: 263 KiB |
|
Before Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 363 KiB |
|
Before Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 168 KiB |
|
Before Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 355 KiB |
|
Before Width: | Height: | Size: 382 KiB |
|
Before Width: | Height: | Size: 478 KiB |
|
Before Width: | Height: | Size: 544 KiB |
|
Before Width: | Height: | Size: 186 KiB |
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 161 KiB |
|
Before Width: | Height: | Size: 317 KiB |
|
Before Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 361 KiB |
|
Before Width: | Height: | Size: 183 KiB |
|
Before Width: | Height: | Size: 187 KiB |
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 372 KiB |
|
Before Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 213 KiB |
|
Before Width: | Height: | Size: 173 KiB |
|
Before Width: | Height: | Size: 221 KiB |
|
Before Width: | Height: | Size: 133 KiB |
|
Before Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 409 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 328 KiB |
|
Before Width: | Height: | Size: 457 KiB |
|
Before Width: | Height: | Size: 326 KiB |
|
Before Width: | Height: | Size: 273 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 297 KiB |
|
Before Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 310 KiB |
|
Before Width: | Height: | Size: 248 KiB |
|
Before Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 455 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
"name": "skeleventy",
|
|
||||||
"version": "3.0.0",
|
|
||||||
"description": "Skeleventy gives you a rock solid foundation to build fast and accessible static websites",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "ELEVENTY_ENV=development npx @11ty/eleventy --config=eleventy.config.js --serve --quiet & mix watch",
|
|
||||||
"production": "mix --production & npx @11ty/eleventy --config=eleventy.config.js"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/josephdyer/skeleventy.git"
|
|
||||||
},
|
|
||||||
"author": "Joe Dyer",
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {
|
|
||||||
"@11ty/eleventy": "^0.11.1",
|
|
||||||
"@11ty/eleventy-navigation": "^0.1.6",
|
|
||||||
"gorko": "^0.2.3",
|
|
||||||
"html-minifier": "^4.0.0",
|
|
||||||
"laravel-mix": "^6.0.11",
|
|
||||||
"laravel-mix-purgecss": "^6.0.0",
|
|
||||||
"postcss": "^8.2.6",
|
|
||||||
"resolve-url-loader": "^3.1.2",
|
|
||||||
"sass-loader": "^11.0.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
// Import local modules
|
|
||||||
import '@modules/mobile-nav'
|
|
||||||
import '@modules/lazyload'
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
import $$ from '@utilities/selectors'
|
|
||||||
import { exists } from '@utilities/helpers'
|
|
||||||
|
|
||||||
const Lazyload = function Lazyload()
|
|
||||||
{
|
|
||||||
|
|
||||||
// lazyload our images
|
|
||||||
const images = $$.wrapper.querySelectorAll('[data-src]')
|
|
||||||
|
|
||||||
if ( exists(images) )
|
|
||||||
{
|
|
||||||
|
|
||||||
// options
|
|
||||||
const options = {
|
|
||||||
threshold: 0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
const preloadImage = (img) => {
|
|
||||||
|
|
||||||
// find and store the image's data-load attribute
|
|
||||||
const src = img.dataset.src
|
|
||||||
|
|
||||||
img.src = src
|
|
||||||
|
|
||||||
// add a class of loaded
|
|
||||||
// we can then use this as a hook for fade-in animations etc
|
|
||||||
img.classList.add('loaded')
|
|
||||||
img.removeAttribute('data-src')
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
const lazyLoad = new IntersectionObserver((entries, lazyLoad) => {
|
|
||||||
|
|
||||||
entries.forEach(entry => {
|
|
||||||
|
|
||||||
if (entry.isIntersecting) {
|
|
||||||
|
|
||||||
preloadImage(entry.target)
|
|
||||||
lazyLoad.unobserve(entry.target)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
}, options)
|
|
||||||
|
|
||||||
images.forEach(image => {
|
|
||||||
lazyLoad.observe(image)
|
|
||||||
})
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}()
|
|
||||||
|
|
||||||
export default Lazyload
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
import $$ from '@utilities/selectors'
|
|
||||||
|
|
||||||
const MobileNav = function MobileNav()
|
|
||||||
{
|
|
||||||
|
|
||||||
$$.mobileNavToggle.addEventListener('click', function() {
|
|
||||||
|
|
||||||
this.classList.toggle('expanded')
|
|
||||||
$$.mobileNav.classList.toggle('menu-visible')
|
|
||||||
|
|
||||||
// set aria-expanded attribute on menu toggle button
|
|
||||||
if ( this.getAttribute('aria-expanded') === 'false' )
|
|
||||||
{
|
|
||||||
|
|
||||||
this.setAttribute('aria-expanded', 'true')
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
this.setAttribute('aria-expanded', 'false')
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
}()
|
|
||||||
|
|
||||||
export default MobileNav
|
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
import $$ from '@utilities/selectors'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @description Test if the body id is something
|
|
||||||
* @param {string}
|
|
||||||
* @return {bool}
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
const page = function(name) {
|
|
||||||
|
|
||||||
if (!name) {
|
|
||||||
return $$.body.getAttribute('id')
|
|
||||||
}
|
|
||||||
|
|
||||||
return ($$.body.getAttribute('id') == name)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @description Check if element exists the page
|
|
||||||
* @param {string} Element selector
|
|
||||||
* @param {string} Minimum number of elements
|
|
||||||
* @return {bool}
|
|
||||||
*/
|
|
||||||
|
|
||||||
const exists = function(el, limit) {
|
|
||||||
|
|
||||||
return (el.length > 0)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
export {
|
|
||||||
page,
|
|
||||||
exists
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
|
|
||||||
const $$ = {
|
|
||||||
|
|
||||||
body : document.querySelector('body'),
|
|
||||||
|
|
||||||
wrapper : document.getElementById('wrapper'),
|
|
||||||
|
|
||||||
header : document.getElementById('header'),
|
|
||||||
|
|
||||||
nav : document.getElementById('nav'),
|
|
||||||
|
|
||||||
hero : document.getElementById('hero'),
|
|
||||||
|
|
||||||
main : document.getElementById('main'),
|
|
||||||
|
|
||||||
containerCentre : document.getElementById('container-centre'),
|
|
||||||
|
|
||||||
containerRight : document.getElementById('container-right'),
|
|
||||||
|
|
||||||
preFooter : document.getElementById('pre-footer'),
|
|
||||||
|
|
||||||
footer : document.getElementById('footer'),
|
|
||||||
|
|
||||||
mobileNav : document.getElementById('mobile-nav'),
|
|
||||||
|
|
||||||
mobileNavToggle : document.getElementById('mobile-nav-toggle')
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
export default $$
|
|
||||||
|
|
@ -1,200 +0,0 @@
|
||||||
|
|
||||||
//========== Gorko CSS Config ==========//
|
|
||||||
|
|
||||||
/**
|
|
||||||
* BASE SIZE
|
|
||||||
* All calculations are based on this. It’s recommended that
|
|
||||||
* you keep it at 1rem because that is the root font size. You
|
|
||||||
* can set it to whatever you like and whatever unit you like.
|
|
||||||
*/
|
|
||||||
$gorko-base-size: 1rem;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* SIZE SCALE
|
|
||||||
* This is a Major Third scale that powers all the utilities that
|
|
||||||
* it is relevant for (font-size, margin, padding). All items are
|
|
||||||
* calcuated off the base size, so change that and cascade across
|
|
||||||
* your whole project.
|
|
||||||
*/
|
|
||||||
$gorko-size-scale: (
|
|
||||||
'300': $gorko-base-size * 0.8,
|
|
||||||
'400': $gorko-base-size,
|
|
||||||
'500': $gorko-base-size * 1.25,
|
|
||||||
'600': $gorko-base-size * 1.56,
|
|
||||||
'700': $gorko-base-size * 1.95,
|
|
||||||
'800': $gorko-base-size * 2.44,
|
|
||||||
'900': $gorko-base-size * 3.05,
|
|
||||||
'1000': $gorko-base-size * 3.81,
|
|
||||||
'1100': $gorko-base-size * 4.76
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* COLORS
|
|
||||||
* Colors are shared between backgrounds and text by default.
|
|
||||||
* You can also use them to power borders, fills or shadows, for example.
|
|
||||||
*/
|
|
||||||
$gorko-colors: (
|
|
||||||
'base': #1c1c1c,
|
|
||||||
'primary': #01093c,
|
|
||||||
'secondary': #24e0d0,
|
|
||||||
'tertiary': #7cdce9,
|
|
||||||
'highlighter': #f1f0a1,
|
|
||||||
'grey': #4e5b71,
|
|
||||||
'light-grey': #b8c9d6,
|
|
||||||
'white': #fff,
|
|
||||||
|
|
||||||
'orange': #db7500,
|
|
||||||
'purple': #770cb1,
|
|
||||||
'red': #7c0808,
|
|
||||||
'blue': #183dd3,
|
|
||||||
'green': #328b23
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* CORE CONFIG
|
|
||||||
* This powers everything from utility class generation to breakpoints
|
|
||||||
* to enabling/disabling pre-built components/utilities.
|
|
||||||
*/
|
|
||||||
$gorko-config: (
|
|
||||||
'bg': (
|
|
||||||
'items': $gorko-colors,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'background'
|
|
||||||
),
|
|
||||||
'color': (
|
|
||||||
'items': $gorko-colors,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'color'
|
|
||||||
),
|
|
||||||
'font': (
|
|
||||||
'items': (
|
|
||||||
'base': 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif',
|
|
||||||
'heading': 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif'
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'font-family'
|
|
||||||
),
|
|
||||||
'box': (
|
|
||||||
'items': (
|
|
||||||
'block': 'block',
|
|
||||||
'inline-block': 'inline-block',
|
|
||||||
'flex': 'flex',
|
|
||||||
'grid': 'grid',
|
|
||||||
'hidden': 'none'
|
|
||||||
),
|
|
||||||
'output': 'responsive',
|
|
||||||
'property': 'display'
|
|
||||||
),
|
|
||||||
'mt': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'margin-top'
|
|
||||||
),
|
|
||||||
'mb': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'margin-bottom'
|
|
||||||
),
|
|
||||||
'ml': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'margin-left'
|
|
||||||
),
|
|
||||||
'mr': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'margin-right'
|
|
||||||
),
|
|
||||||
'pt': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'padding-top'
|
|
||||||
),
|
|
||||||
'pb': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'padding-bottom'
|
|
||||||
),
|
|
||||||
'pl': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'padding-left'
|
|
||||||
),
|
|
||||||
'pr': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'padding-right'
|
|
||||||
),
|
|
||||||
'text': (
|
|
||||||
'items': $gorko-size-scale,
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'font-size'
|
|
||||||
),
|
|
||||||
'leading': (
|
|
||||||
'items': (
|
|
||||||
'tight': '1.1',
|
|
||||||
'normal': '1.6',
|
|
||||||
'loose': '2'
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'line-height'
|
|
||||||
),
|
|
||||||
'weight': (
|
|
||||||
'items': (
|
|
||||||
'thin': '300',
|
|
||||||
'regular': '400',
|
|
||||||
'bold': '700'
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'font-weight'
|
|
||||||
),
|
|
||||||
'width': (
|
|
||||||
'items': (
|
|
||||||
'full': '100%',
|
|
||||||
'screen': '100vw',
|
|
||||||
'half': percentage(1/2),
|
|
||||||
'quarter': percentage(1/4),
|
|
||||||
'third': percentage(1/3)
|
|
||||||
),
|
|
||||||
'output': 'responsive',
|
|
||||||
'property': 'width'
|
|
||||||
),
|
|
||||||
'height': (
|
|
||||||
'items': (
|
|
||||||
'full': '100%',
|
|
||||||
'screen': '100vh'
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'height'
|
|
||||||
),
|
|
||||||
'length': (
|
|
||||||
'items': (
|
|
||||||
'compact': 25ch,
|
|
||||||
'optimal': 75ch
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'max-width'
|
|
||||||
),
|
|
||||||
'z': (
|
|
||||||
'items': (
|
|
||||||
'-1': -1,
|
|
||||||
'1': 1,
|
|
||||||
'2': 2,
|
|
||||||
'10': 10,
|
|
||||||
'20': 20
|
|
||||||
),
|
|
||||||
'output': 'standard',
|
|
||||||
'property': 'z-index'
|
|
||||||
),
|
|
||||||
'breakpoints': (
|
|
||||||
'mobileL' : '(min-width : 22.5em)', // 360px
|
|
||||||
'mobileXL' : '(min-width : 40em)', // 640px
|
|
||||||
'tablet' : '(min-width : 48em)', // 768px
|
|
||||||
'laptop' : '(min-width : 64em)', // 1024px
|
|
||||||
'desktop' : '(min-width : 80em)', // 1280px
|
|
||||||
'desktopL' : '(min-width : 90em)', // 1440px
|
|
||||||
'desktopXL' : '(min-width : 120em)' // 1920px
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
|
|
||||||
@import 'config';
|
|
||||||
@import '../../../node_modules/gorko/gorko.scss';
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
|
|
||||||
//========== Functions ==========//
|
|
||||||
|
|
||||||
// declare CSS variables quicker in SCSS
|
|
||||||
// SCSS: v(bg-color);
|
|
||||||
// output CSS: var(--bg-color);
|
|
||||||
// also accepts fallbacks
|
|
||||||
@function v($var, $fallback: null) {
|
|
||||||
|
|
||||||
@if($fallback) {
|
|
||||||
@return var(--#{$var}, #{$fallback});
|
|
||||||
}
|
|
||||||
|
|
||||||
@else {
|
|
||||||
@return var(--#{$var});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
|
|
||||||
@import 'variables';
|
|
||||||
@import 'functions';
|
|
||||||
@import 'mixins';
|
|
||||||
@import 'utilities';
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
|
|
||||||
//========== Mixins ==========//
|
|
||||||
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
|
|
||||||
//========== Utilities ==========//
|
|
||||||
|
|
||||||
// container
|
|
||||||
.inner {
|
|
||||||
@include apply-utility('width', 'full');
|
|
||||||
margin: 0 auto;
|
|
||||||
max-width: v(max-width);
|
|
||||||
@include apply-utility('pl', '600');
|
|
||||||
@include apply-utility('pr', '600');
|
|
||||||
}
|
|
||||||
|
|
||||||
// better vertical rhythm
|
|
||||||
.flow > * + * {
|
|
||||||
margin-top: v(gap);
|
|
||||||
|
|
||||||
@include media-query('tablet') {
|
|
||||||
--gap: #{get-size('700')};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// subtle fade in to lazyloaded images
|
|
||||||
[data-src] {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.loaded {
|
|
||||||
opacity: 1;
|
|
||||||
transition: opacity v(transition-duration) v(transition-timing);
|
|
||||||
}
|
|
||||||
|
|
||||||
// content only for screen readers
|
|
||||||
.sr-only {
|
|
||||||
position: absolute;
|
|
||||||
width: 1px;
|
|
||||||
height: 1px;
|
|
||||||
padding: 0;
|
|
||||||
margin: -1px;
|
|
||||||
overflow: hidden;
|
|
||||||
clip: rect(0, 0, 0, 0);
|
|
||||||
white-space: nowrap;
|
|
||||||
border-width: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
|
|
||||||
//========== Variables ==========//
|
|
||||||
|
|
||||||
:root {
|
|
||||||
|
|
||||||
// site
|
|
||||||
--max-width: 80rem;
|
|
||||||
|
|
||||||
// spacing
|
|
||||||
--gap: #{get-size('600')};
|
|
||||||
|
|
||||||
// typography
|
|
||||||
--base-font-size: #{$gorko-base-size};
|
|
||||||
--ratio: 1.1;
|
|
||||||
--text-300: calc((var(--base-font-size) / var(--ratio)) / var(--ratio));
|
|
||||||
--text-400: calc(var(--text-300) * var(--ratio));
|
|
||||||
--text-500: calc(var(--text-400) * var(--ratio) * var(--ratio));
|
|
||||||
--text-600: calc(var(--text-500) * var(--ratio));
|
|
||||||
--text-700: calc(var(--text-600) * var(--ratio));
|
|
||||||
--text-800: calc(var(--text-700) * var(--ratio));
|
|
||||||
--text-900: calc(var(--text-800) * var(--ratio));
|
|
||||||
--text-1000: calc(var(--text-900) * var(--ratio));
|
|
||||||
--text-1100: calc(var(--text-1000) * var(--ratio));
|
|
||||||
|
|
||||||
// borders
|
|
||||||
--border-radius: .25rem;
|
|
||||||
--border-size: .15rem;
|
|
||||||
--border-size-thick: .3rem;
|
|
||||||
|
|
||||||
// transitions
|
|
||||||
--transition-duration: .25s;
|
|
||||||
--transition-timing: ease-out;
|
|
||||||
|
|
||||||
@include media-query('tablet') {
|
|
||||||
--ratio: 1.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('laptop') {
|
|
||||||
--ratio: 1.25;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
@import 'reset';
|
|
||||||
@import 'typography';
|
|
||||||
@import 'links';
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
|
|
||||||
//========== Links ==========//
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
transition: color v(transition-duration) v(transition-timing);
|
|
||||||
|
|
||||||
&:not([class]) {
|
|
||||||
color: currentColor;
|
|
||||||
border-bottom: v(border-size-thick) solid get-color('tertiary');
|
|
||||||
padding-bottom: .1rem;
|
|
||||||
text-decoration-skip-ink: auto;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('color', 'tertiary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
:focus {
|
|
||||||
outline: 1px solid get-color('tertiary');
|
|
||||||
outline-offset: .25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
||||||
|
|
||||||
//========== Modern CSS reset inspired by https://github.com/hankchizljaw/modern-css-reset ==========//
|
|
||||||
|
|
||||||
/* Box sizing rules */
|
|
||||||
*,
|
|
||||||
*::before,
|
|
||||||
*::after {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set core root defaults */
|
|
||||||
html {
|
|
||||||
min-height: 100%;
|
|
||||||
scroll-behavior: smooth;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set core body defaults */
|
|
||||||
body {
|
|
||||||
overflow-x: hidden;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove default margin */
|
|
||||||
body,
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
p,
|
|
||||||
ul,
|
|
||||||
ol,
|
|
||||||
figure,
|
|
||||||
blockquote,
|
|
||||||
dl,
|
|
||||||
dd {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Make images easier to work with */
|
|
||||||
img {
|
|
||||||
display: block;
|
|
||||||
max-width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Inherit fonts for inputs and buttons */
|
|
||||||
input,
|
|
||||||
button,
|
|
||||||
textarea,
|
|
||||||
select {
|
|
||||||
font: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove all animations and transitions for people that prefer not to see them */
|
|
||||||
@media (prefers-reduced-motion: reduce) {
|
|
||||||
* {
|
|
||||||
animation-duration: 0.01ms !important;
|
|
||||||
animation-iteration-count: 1 !important;
|
|
||||||
transition-duration: 0.01ms !important;
|
|
||||||
scroll-behavior: auto !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Remove default padding and list styles on ul, ol elements with a class attribute */
|
|
||||||
ul[class],
|
|
||||||
ol[class] {
|
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
|
|
||||||
//========== Typography ==========//
|
|
||||||
|
|
||||||
// set base font size
|
|
||||||
body {
|
|
||||||
font-size: v(text-500);
|
|
||||||
}
|
|
||||||
|
|
||||||
// headings
|
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
@include apply-utility('leading', 'tight');
|
|
||||||
letter-spacing: -.01rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
--gap: #{get-size('700')};
|
|
||||||
font-size: v(text-900);
|
|
||||||
margin: 0 0 v(gap);
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: v(text-800);
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: v(text-700);
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
// sub-heading
|
|
||||||
.sub-heading {
|
|
||||||
font-size: v(text-700);
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
// lists
|
|
||||||
ol,
|
|
||||||
ul {
|
|
||||||
padding: 0 0 0 get-size('500');
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight {
|
|
||||||
background-color: get-color('highlighter');
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
border-left: 3px solid #eee;
|
|
||||||
color: #555;
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
|
|
||||||
//========== Footer ==========//
|
|
||||||
|
|
||||||
.footer-inner {
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
|
|
||||||
//========== Header ==========//
|
|
||||||
|
|
||||||
// logo
|
|
||||||
.logo {
|
|
||||||
--logo-size: #{get-size('500')};
|
|
||||||
font-size: v(logo-size);
|
|
||||||
margin: 0 auto;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('color', 'secondary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('mobileXL') {
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
--logo-size: #{get-size('600')};
|
|
||||||
margin: 0 auto 0 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('mobileXL') {
|
|
||||||
|
|
||||||
.header-inner {
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
//========== Hero ==========//
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
@import 'site';
|
|
||||||
@import 'header';
|
|
||||||
@import 'nav';
|
|
||||||
@import 'mobile-nav';
|
|
||||||
@import 'hero';
|
|
||||||
@import 'main';
|
|
||||||
@import 'footer';
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
//========== Main ==========//
|
|
||||||
|
|
||||||
.main {
|
|
||||||
flex-direction: column;
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// page header
|
|
||||||
.page-header {
|
|
||||||
--gap: #{get-size('800')};
|
|
||||||
margin-bottom: v(gap);
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('tablet') {
|
|
||||||
|
|
||||||
.page-header {
|
|
||||||
--gap: #{get-size('900')};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,78 +0,0 @@
|
||||||
|
|
||||||
//========== Mobile Nav ==========//
|
|
||||||
|
|
||||||
.mobile-nav {
|
|
||||||
--transition-duration: .3s;
|
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
overflow-y: auto;
|
|
||||||
transform: translate3d(-100%, 0, 0);
|
|
||||||
transition: transform v(transition-duration) cubic-bezier(.77, 0, .175, 1);
|
|
||||||
transition-delay: .1s;
|
|
||||||
will-change: transform;
|
|
||||||
|
|
||||||
// when menu is visible
|
|
||||||
&.menu-visible {
|
|
||||||
transform: translate3d(0, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.link {
|
|
||||||
--gap: .25rem;
|
|
||||||
padding: v(gap) 0;
|
|
||||||
|
|
||||||
&.active,
|
|
||||||
&:hover {
|
|
||||||
color: get-color('secondary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Mobile menu
|
|
||||||
.mobile-nav-toggle {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0;
|
|
||||||
height: get-size('900');
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
border: 0;
|
|
||||||
outline: none;
|
|
||||||
|
|
||||||
.mobile-nav-icon {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-line {
|
|
||||||
--transition-duration: .2s;
|
|
||||||
--transition-timing: cubic-bezier(0, 0, .2, 1);
|
|
||||||
height: 2px;
|
|
||||||
width: get-size('500');
|
|
||||||
transform-origin: 7px 1px;
|
|
||||||
transition: transform v(transition-duration) v(transition-timing),
|
|
||||||
opacity v(transition-duration) v(transition-timing);
|
|
||||||
|
|
||||||
&:not(:last-child) {
|
|
||||||
margin-bottom: .25rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// when menu toggle is clicked
|
|
||||||
&.expanded {
|
|
||||||
|
|
||||||
.icon-line {
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(2) {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
transform: rotate(-45deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
|
|
||||||
//========== Nav ==========//
|
|
||||||
|
|
||||||
.nav {
|
|
||||||
|
|
||||||
.link {
|
|
||||||
height: get-size('900');
|
|
||||||
line-height: get-size('900');
|
|
||||||
|
|
||||||
&.active,
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('color', 'secondary');
|
|
||||||
}
|
|
||||||
|
|
||||||
&-get-started {
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
transition: background-color v(transition-duration) v(transition-timing);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('bg', 'white');
|
|
||||||
@include apply-utility('color', 'primary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
|
|
||||||
//========== Site ==========//
|
|
||||||
|
|
||||||
// wrapper
|
|
||||||
.wrapper {
|
|
||||||
min-height: 100vh;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('mobileXL') {
|
|
||||||
|
|
||||||
.wrapper {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
|
|
||||||
//========== Buttons ==========//
|
|
||||||
|
|
||||||
.button {
|
|
||||||
display: inline-block;
|
|
||||||
background-color: get-color('secondary');
|
|
||||||
border: 0;
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
color: get-color('primary');
|
|
||||||
padding: get-size('300') get-size('500');
|
|
||||||
transition: background-color v(transition-duration) v(transition-timing);
|
|
||||||
@include apply-utility('weight', 'bold');
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('bg', 'white');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
|
|
||||||
//========== Forms ==========//
|
|
||||||
|
|
||||||
.textarea,
|
|
||||||
.input {
|
|
||||||
border: 0;
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
padding: 0 .5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input {
|
|
||||||
height: get-size('800');
|
|
||||||
}
|
|
||||||
|
|
||||||
.textarea {
|
|
||||||
height: get-size('1100');
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
|
|
||||||
@import 'buttons';
|
|
||||||
@import 'pagination';
|
|
||||||
@import 'forms';
|
|
||||||
@import 'social-icons';
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
|
|
||||||
//========== Pagination ==========//
|
|
||||||
|
|
||||||
.pagination {
|
|
||||||
--gap: #{get-size('1000')};
|
|
||||||
|
|
||||||
.items {
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagination ul {
|
|
||||||
list-style: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagination ul li {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 0.25rem 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pagination ul li.current {
|
|
||||||
background: #333;
|
|
||||||
color: #eee;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
|
|
||||||
//========== Social icons ==========//
|
|
||||||
|
|
||||||
.social-icons {
|
|
||||||
|
|
||||||
.icon-link {
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include apply-utility('color', 'secondary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
--social-icon-size: #{get-size('500')};
|
|
||||||
width: v(social-icon-size);
|
|
||||||
height: v(social-icon-size);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,96 +0,0 @@
|
||||||
|
|
||||||
//========== Blog page ==========//
|
|
||||||
|
|
||||||
.posts {
|
|
||||||
--gap: #{get-size('1100')};
|
|
||||||
align-items: stretch;
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
|
|
||||||
gap: v(gap);
|
|
||||||
padding-bottom: 15vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&-header {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-image {
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
&-categories {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
left: get-size('300');
|
|
||||||
transform: translateY(50%);
|
|
||||||
|
|
||||||
.category {
|
|
||||||
--border-radius: .15rem;
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
margin-right: .2rem;
|
|
||||||
padding: .25rem .5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&-title-link {
|
|
||||||
border-bottom: v(border-size) solid get-color('secondary');
|
|
||||||
transition: border-color v(transition-duration) v(transition-timing);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
border-bottom-color: get-color('primary');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.datetime {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-pentateuch, .bg-gospels {
|
|
||||||
@include apply-utility('bg', 'purple');
|
|
||||||
@include apply-utility('color', 'white');
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-historic, .bg-acts {
|
|
||||||
@include apply-utility('bg', 'blue');
|
|
||||||
@include apply-utility('color', 'white');
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-wisdom, .bg-pauline {
|
|
||||||
@include apply-utility('bg', 'orange');
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-prophets, .bg-epistles {
|
|
||||||
@include apply-utility('bg', 'green');
|
|
||||||
@include apply-utility('color', 'white');
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-minor-prophets, .bg-revelation {
|
|
||||||
@include apply-utility('bg', 'red');
|
|
||||||
@include apply-utility('color', 'white');
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-devotional {
|
|
||||||
@include apply-utility('bg', 'light-grey');
|
|
||||||
@include apply-utility('color', 'base');
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('tablet') {
|
|
||||||
|
|
||||||
.card {
|
|
||||||
|
|
||||||
&-title-link {
|
|
||||||
font-size: v(text-700);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@include media-query('laptop') {
|
|
||||||
|
|
||||||
.posts {
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
|
|
||||||
//========== Homepage ==========//
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
@import 'post';
|
|
||||||
@import 'blog';
|
|
||||||
@import 'home';
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
|
|
||||||
//========== Post page ==========//
|
|
||||||
|
|
||||||
.type-post {
|
|
||||||
|
|
||||||
.length-optimal {
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.categories {
|
|
||||||
|
|
||||||
.category {
|
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: '\00a0\00a0/\00a0\00a0';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-image {
|
|
||||||
border-radius: v(border-radius);
|
|
||||||
}
|
|
||||||
|
|
||||||
// blog post title
|
|
||||||
.post-title {
|
|
||||||
font-size: v(text-1100);
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-image-caption {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
|
|
||||||
//========== Imports ==========//
|
|
||||||
|
|
||||||
// Config
|
|
||||||
@import '01-config';
|
|
||||||
|
|
||||||
// Utilities
|
|
||||||
@import '02-utilities';
|
|
||||||
|
|
||||||
// Base
|
|
||||||
@import '03-base';
|
|
||||||
|
|
||||||
// Layout
|
|
||||||
@import '04-layout';
|
|
||||||
|
|
||||||
// Components
|
|
||||||
@import '05-components';
|
|
||||||
|
|
||||||
// Pages
|
|
||||||
@import '06-pages';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
layout: page
|
|
||||||
hide_from_sitemap: true
|
|
||||||
robots: noindex,nofollow
|
|
||||||
eleventyExcludeFromCollections: true
|
|
||||||
permalink: 404.html
|
|
||||||
meta_title: Error 404!
|
|
||||||
meta_description: Sorry, the page you're looking for can't be found.
|
|
||||||
title: Oops! We can't find that page
|
|
||||||
---
|
|
||||||
|
|
||||||
The link you followed may be broken or the page may have been removed. [Take me back to the homepage](/)
|
|
||||||