Compare commits
2 commits
feat/quart
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a22dc0a53 | |||
| 5e87d07918 |
10 changed files with 8 additions and 222 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -189,5 +189,3 @@ Icon
|
||||||
Network Trash Folder
|
Network Trash Folder
|
||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.apdisk
|
||||||
|
|
||||||
/.quarto/
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,3 @@ overrides:
|
||||||
- files: "*.gotmpl"
|
- files: "*.gotmpl"
|
||||||
options:
|
options:
|
||||||
parser: "go-template"
|
parser: "go-template"
|
||||||
- files: "*.qmd"
|
|
||||||
options:
|
|
||||||
parser: "markdown"
|
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,5 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"file_types": { "HTML": ["gotmpl"], "Markdown": ["qmd"] }
|
"file_types": { "HTML": ["gotmpl"] }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
_quarto.yml
13
_quarto.yml
|
|
@ -1,13 +0,0 @@
|
||||||
project:
|
|
||||||
type: hugo
|
|
||||||
preview:
|
|
||||||
serve:
|
|
||||||
cmd: "hugo server --port {port} --bind 0.0.0.0 --navigateToChanged"
|
|
||||||
ready: "Web Server is available at"
|
|
||||||
|
|
||||||
format:
|
|
||||||
hugo-md:
|
|
||||||
code-fold: true
|
|
||||||
|
|
||||||
execute:
|
|
||||||
warning: false
|
|
||||||
|
|
@ -289,15 +289,6 @@ article > p {
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2#references ~ p {
|
|
||||||
font-size: 1rem;
|
|
||||||
text-justify: unset;
|
|
||||||
text-align: left;
|
|
||||||
hyphens: none;
|
|
||||||
line-height: 1rem;
|
|
||||||
text-indent: 2ch hanging;
|
|
||||||
}
|
|
||||||
|
|
||||||
article h1 + p,
|
article h1 + p,
|
||||||
article h2 + p,
|
article h2 + p,
|
||||||
article h3 + p,
|
article h3 + p,
|
||||||
|
|
@ -346,10 +337,6 @@ figure:has(blockquote) > figcaption {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure > img {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -1,179 +0,0 @@
|
||||||
$web-font-path: "/fonts/nunito-sans/index.css";
|
|
||||||
|
|
||||||
@import "bootstrap/functions";
|
|
||||||
@import "bootswatch/lux/variables";
|
|
||||||
@import "bootstrap/bootstrap";
|
|
||||||
@import "bootswatch/lux/bootswatch";
|
|
||||||
|
|
||||||
$peek-height: 25rem;
|
|
||||||
|
|
||||||
.blurred-container {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
min-height: 35vh;
|
|
||||||
height: $peek-height;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blurred-container .motto {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 76px;
|
|
||||||
font-weight: 600;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow: 0 0 10px rgba(0, 0, 0, 0.33);
|
|
||||||
text-transform: uppercase;
|
|
||||||
top: 7.5vh;
|
|
||||||
z-index: 3;
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
position: relative;
|
|
||||||
width: 60%;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.motto h1 {
|
|
||||||
background: #0000007d;
|
|
||||||
-webkit-text-stroke: 0.3px $gray-100;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.blurred-container .img-src {
|
|
||||||
position: fixed;
|
|
||||||
width: 100%;
|
|
||||||
min-height: 35vh;
|
|
||||||
height: $peek-height;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-main {
|
|
||||||
position: relative;
|
|
||||||
background-color: #fff;
|
|
||||||
padding-bottom: calc(1rem + 95px);
|
|
||||||
padding-top: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-contents {
|
|
||||||
position: relative;
|
|
||||||
background-color: $gray-200;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Gives me greater control over fonts */
|
|
||||||
.font-serif {
|
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-sans {
|
|
||||||
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-mono {
|
|
||||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-small-caps {
|
|
||||||
font-variant-caps: small-caps;
|
|
||||||
}
|
|
||||||
|
|
||||||
.strikethrough {
|
|
||||||
text-decoration: line-through;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sfTable {
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-align-left {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-align-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.float-left {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.float-right {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.media-object {
|
|
||||||
max-height: 100%;
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
.pull-left {
|
|
||||||
max-width: 25%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-md-50 {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 small {
|
|
||||||
font-size: 60%;
|
|
||||||
color: #9a9a9a;
|
|
||||||
font-weight: 300;
|
|
||||||
line-height: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-weight: 400;
|
|
||||||
margin: 30px 0 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dogear {
|
|
||||||
clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 25%, 75% 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-stack-top {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-condensed th {
|
|
||||||
padding: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.table-condensed td {
|
|
||||||
padding: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
||||||
.fixed-bottom {
|
|
||||||
left: 25%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.md-max-width-33 {
|
|
||||||
max-width: 33%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-link {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.category-button {
|
|
||||||
position: absolute;
|
|
||||||
top: 1em;
|
|
||||||
right: 1em;
|
|
||||||
display: grid;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-title {
|
|
||||||
margin-right: 2.25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumb-icon-wrapper {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumb-icon-badge {
|
|
||||||
font-size: xx-large;
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
baseURL = "https://millironx.com"
|
baseURL = "https://millironx.com"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Milliron X"
|
title = "Milliron X"
|
||||||
ignoreFiles = ["\\.qmd$", "\\.ipynb$", "\\.py$"]
|
|
||||||
|
|
||||||
[pagination]
|
[pagination]
|
||||||
pagerSize = 5
|
pagerSize = 5
|
||||||
|
|
@ -52,9 +51,6 @@ notAlternative = "true"
|
||||||
[markup.goldmark.parser.attribute]
|
[markup.goldmark.parser.attribute]
|
||||||
block = true
|
block = true
|
||||||
|
|
||||||
[markup.goldmark.renderer]
|
|
||||||
unsafe = true
|
|
||||||
|
|
||||||
[markup.goldmark.renderHooks]
|
[markup.goldmark.renderHooks]
|
||||||
|
|
||||||
[markup.goldmark.renderHooks.link]
|
[markup.goldmark.renderHooks.link]
|
||||||
|
|
|
||||||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -20,16 +20,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762756533,
|
"lastModified": 1737597992,
|
||||||
"narHash": "sha256-HiRDeUOD1VLklHeOmaKDzf+8Hb7vSWPVFcWwaTrpm+U=",
|
"narHash": "sha256-FECKBxkd+w5I/fhsquthDiw/r/MdCpqmKikBU9yQGug=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c2448301fb856e351aab33e64c33a3fc8bcf637d",
|
"rev": "d0bb4699177f691c8e558b32b3bdc38bc112f76f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.05",
|
"ref": "nixos-unstable-small",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
buildInputs = with pkgs; [ hugo nodejs quarto julia-bin ];
|
buildInputs = with pkgs; [ hugo nodejs ];
|
||||||
in with pkgs; {
|
in with pkgs; {
|
||||||
devShells.default = mkShell { inherit buildInputs; };
|
devShells.default = mkShell { inherit buildInputs; };
|
||||||
packages.default = stdenvNoCC.mkDerivation {
|
packages.default = stdenvNoCC.mkDerivation {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{{ $thumbnailImage := .Resources.GetMatch "*thumbnail*" }}
|
{{ $thumbnailImage := .Resources.GetMatch "*thumbnail*" }}
|
||||||
{{ with $thumbnailImage }}
|
{{ with $thumbnailImage }}
|
||||||
{{ $croppedImage := $thumbnailImage.Fill "1500x500 center" }}
|
{{ $croppedImage := $thumbnailImage.Fill "960x320 center" }}
|
||||||
<style>
|
<style>
|
||||||
.motto::before {
|
.motto::before {
|
||||||
background-image: url('{{ $croppedImage.Permalink }}');
|
background-image: url('{{ $croppedImage.Permalink }}');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue