Skip to content

Commit

Permalink
Refresh (#11)
Browse files Browse the repository at this point in the history
Full refresh of entire site:

- Completely rewritten HTML
- Completely rewritten CSS
- New, custom Utopia math
- New favicon
- Updated copy
- Updated color palette
- Updated images
- Updated license
- Added dark mode
- Added GitHub, GitHub Sponsors, CodePen, and Glitch links
- Added and updated dotfiles
- Added Utopia spacing
- Audited accessibility
- New scripts for detecting JavaScript availability and switching themes
  • Loading branch information
thewildmage authored Feb 21, 2022
1 parent dd21988 commit bd34cd8
Show file tree
Hide file tree
Showing 50 changed files with 1,744 additions and 443 deletions.
4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# supported browsers

defaults
not ie > 0
27 changes: 27 additions & 0 deletions .github/linters/.htmlhintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"alt-require": true,
"attr-lowercase": true,
"attr-no-duplication": true,
"attr-no-unnecessary-whitespace": true,
"attr-unsafe-chars": true,
"attr-value-double-quotes": true,
"attr-value-not-empty": false,
"doctype-first": false,
"doctype-html5": true,
"head-script-disabled": false,
"href-abs-or-rel": false,
"id-class-ad-disabled": false,
"id-class-value": false,
"id-unique": true,
"inline-script-disabled": true,
"inline-style-disabled": false,
"input-requires-label": true,
"space-tab-mixed-disabled": "space4",
"spec-char-escape": false,
"src-not-empty": true,
"style-disabled": false,
"tag-pair": true,
"tag-self-close": true,
"tagname-lowercase": false,
"title-require": true
}
9 changes: 9 additions & 0 deletions .github/linters/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
default: true

MD007:
indent: 4 # Unordered list indentation
MD013: false # Line length limit
MD030:
ul_single: 3
ul_multi: 3 # Ordered list indentation
39 changes: 39 additions & 0 deletions .github/linters/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"alpha-value-notation": "number",
"custom-property-empty-line-before": null,
"declaration-colon-newline-after": null,
"declaration-empty-line-before": [
"always",
{
"except": [
"after-comment",
"after-declaration",
"first-nested"
],
"ignore": [
"inside-single-line-block"
]
}
],
"indentation": null,
"no-descending-specificity": null,
"order/order": [
"custom-properties",
"declarations"
],
"order/properties-alphabetical-order": true,
"property-no-vendor-prefix": null,
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
],
"value-list-comma-newline-after": null
}
}
16 changes: 16 additions & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Super-Linter

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
lint:
uses: thewildmage/dotfiles/.github/workflows/linter.yaml@v1.2.1
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

.DS_Store
/.vscode
/node_modules
13 changes: 8 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-added-large-files
args: ["--maxkb=150"]
- id: check-byte-order-marker
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
args: ["--allow-multiple-documents"]
args: [--allow-multiple-documents]
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: no-commit-to-branch
args: [--branch, master, --branch, main]
- id: pretty-format-json
args: ["--autofix", "--indent", "4"]
args: [--autofix, --indent, "4"]
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# handled by pre-commit, which also sorts alphabetically
*.json
3 changes: 3 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
quoteProps: consistent
tabWidth: 4
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @littlelark
* @thewildmage
7 changes: 4 additions & 3 deletions CREDIT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# CREDITS
# Credit

This file does not serve to replace or amend the [included licenses](LICENSE.md). This is a list of (non-licensing related) shoutouts to resources that were helpful in this project.

- [Utopia](https://utopia.fyi/)
- [Fantasy Name Generator's How to Train Your Dragon Name Generator](https://www.fantasynamegenerators.com/how-to-train-your-dragon-names.php)
- [Utopia](https://utopia.fyi/)
- [Fantasy Name Generator's How to Train Your Dragon Name Generator](https://www.fantasynamegenerators.com/how-to-train-your-dragon-names.php)
83 changes: 52 additions & 31 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,68 @@
# Licenses
While most of this work is shared under the terms of the MIT license, some parts of it are not and are subject to their own licensing terms, as noted here and alongside the affected components.

## Table of Contents
1. [Dragon Icon](#dragon-icon)
1. [Discord Icon](#discord-icon)
1. [Magrathea Assets](#magrathea-assets)
1. [All Else](#all-else)
Content in this repository falls under multiple different licenses.

## Social Icons

The following social icons are used in accordance with their company's press or branding kits:

- The [CodePen](https://codepen.io) icon comes from [CodePen's logos](https://blog.codepen.io/documentation/logos/)
- The [Discord](https://discord.com) icon comes from [Discord's media kit](https://discord.com/branding)
- The [GitHub](https://github.com) icon comes from [GitHub Logos and Usage](https://github.com/logos)
- The [Glitch](https://glitch.com) icon comes from [Glitch's brand assets](https://glitch.com/about/press)
- The [Ko-fi](https://ko-fi.com) icon comes from [Ko-fi's creator kit](https://more.ko-fi.com/brand-assets)

All rights reserved.

## Coding Camp

The Coding Camp icon comes from the [Coding Camp Discord Server](https://discord.gg/udQ5WsqpME), where I, Cecilia, am an administrator.

All rights reserved.

## Dragon Icon
The [dragon icon](https://thenounproject.com/icon/2266440/) was created by [Saeful Muslim](https://thenounproject.com/rebelsaeful) of [The Noun Project](https://thenounproject.com) and is licensed as [Creative Commons CCBY](https://creativecommons.org/licenses/by/3.0/).

I, Daine, have paid The Noun Project a license fee to use this icon without attribution. This license fee is NOT transferred herein; if you wish to use this icon in your own work, you will need to pay the license fee yourself or provide proper attribution per the terms of its license.
The [dragon icon](https://thenounproject.com/icon/2266440/) was created by [Saeful Muslim](https://thenounproject.com/rebelsaeful) of [The Noun Project](https://thenounproject.com) and is licensed under [Creative Commons CCBY](https://creativecommons.org/licenses/by/3.0/).

## Discord Icon
The Discord icon comes from [Discord's press kit](https://discord.com/branding).
I, Cecilia, have paid The Noun Project a license fee to use this icon without attribution. This permission is NOT transferred herein; if you wish to use this icon in your own work, you will need to pay the license fee yourself or provide proper attribution per the terms of its license.

## Magrathea Assets
The [planet icon](https://thenounproject.com/term/earth/23960/) used in the Magrathea logo was created by [Nikki Rodriguez](https://thenounproject.com/nrodriguezlima) of [The Noun Project](https://thenounproject.com) and is licensed as [Creative Commons CCBY](https://creativecommons.org/licenses/by/3.0/).

I, Daine, have paid The Noun Project a license fee to use this icon without attribution. This license fee is NOT transferred herein; if you wish to use this icon in your own work, you will need to pay the license fee yourself or provide proper attribution per the terms of its license.
The [planet icon](https://thenounproject.com/term/earth/23960/) used in the Magrathea information was created by [Nikki Rodriguez](https://thenounproject.com/nrodriguezlima) of [The Noun Project](https://thenounproject.com) and is licensed under [Creative Commons CCBY](https://creativecommons.org/licenses/by/3.0/).

I, Cecilia, have paid The Noun Project a license fee to use this icon without attribution. This permission is NOT transferred herein; if you wish to use this icon in your own work, you will need to pay the license fee yourself or provide proper attribution per the terms of its license.

The [Sling font](https://www.fontsquirrel.com/fonts/Sling) used in the Magrathea information comes from [STAR Retrieval Systems](https://www.fontsquirrel.com/fonts/list/foundry/star-retrieval-systems) of [Font Squirrel](https://www.fontsquirrel.com) and falls under Font Squirrel's [Freeware License](https://www.fontsquirrel.com/license/Sling).

The [Sling font](https://www.fontsquirrel.com/fonts/Sling) used in the Magrathea logo comes from [STAR Retrieval Systems](https://www.fontsquirrel.com/fonts/list/foundry/star-retrieval-systems) of [Font Squirrel](https://www.fontsquirrel.com) and falls under Font Squirrel's [Freeware License](https://www.fontsquirrel.com/license/Sling).
## Fonts

## All Else
MIT License, except as noted
The following fonts are used:

Except as noted, copyright (c) 2020 Cecilia Suderman (aka Daine)
- [Merriweather](https://fonts.google.com/specimen/Merriweather) by Sorkin Type, licensed under the [SIL Open Font License, Version 1.1](http://scripts.sil.org/OFL)
- [Young Serif](https://github.com/noirblancrouge/YoungSerif) by Noir Blanc Rouge, licensed under the [SIL Open Font License, Version 1.1](https://github.com/noirblancrouge/YoungSerif/blob/9d072345d60ec0b87fcc22bdeca84e62222edfbd/LICENSE.txt)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
## Remaining

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Minus the above listed exceptions, all remaining is licensed as follows:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
> MIT License
>
> Copyright (c) 2020-2022 Cecilia Suderman @thewildmage
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> SOFTWARE.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Loading

0 comments on commit bd34cd8

Please sign in to comment.