all repos — site @ c4b728ab1be5595bb6aa3b9c998bc7ed3c85825a

source for my site, found at icyphox.sh

chore: init
Anirudh icyph0x@pm.me
Sat, 16 Jun 2018 16:08:59 +0530
commit

c4b728ab1be5595bb6aa3b9c998bc7ed3c85825a

A .gitignore

@@ -0,0 +1,1 @@

+__pycache__
A build/gpg.txt

@@ -0,0 +1,31 @@

+--BEGIN PGP PUBLIC KEY BLOCK-- + +mQENBFn8YdABCACtulcVqYEXUtib53uw1pBowkdWqxmMpKsh+CG+816xW/Sh6gCP +eotqFgBMkvQ83/9fvJ2HAkaelyVmT1g20WNprqVU61u0Ctw6FtNPu0Y+cBikEbYJ +GFcqXeMgUjQNqVyutTfbv5rfGz0/xzFB9P6edTC400Z3x7PfET8zOWYXxTcWMjfi +swv+psPX7MteYI/1gvgdGB3VN6efdCAe1GQNmE8KUBPt4exlHiH1kkCIAD/p33tk +MfWXL0etYweM7WHbwcAGMDYwtGSo+V+btshE081PsbGQj2C82BuQMZGaFk2JmzlK +udwqL0p6Y6VjbW0RQR7i2h1O0vAAmRHHFTYPABEBAAG0LEFuaXJ1ZGggT3BwaWxp +YXBwYW4gPGljeXBoMHhAcHJvdG9ubWFpbC5jb20+iQFUBBMBCAA+FiEE/huPz+bB +YiLxVxyOipP5b3jF1MQFAln8YdACGwMFCQPCZwAFCwkIBwIGFQgJCgsCBBYCAwEC +HgECF4AACgkQipP5b3jF1MQNigf+LWBALgyeGAKWMBhqXtLcxE1/EA6jXO0ntEjb +WMCkd8fUmOqbJm5Asoiq5fK/g5mqt27pNSV98dT/evpFNLhSLPvAc1lgkyZM3dzM +5jK1l1QhfEkJj/mJxaPmGO1UUk6qEcs9s/SD47qfE+wxbpIA6QSo0ZyQ83PAb6kD +tQjhibF9x9kWp2xEm2OaBAdGOAHWLA/dRrYWCIQUn2X4ITs3pEQuKPwfH6LEOHlh +IV27CgSpGLzB2WUl0cRDjlgNSmQaM2YOpT7dqBxqHCAdr5jjR0Gqoi7ltP0W/V1P +znA/VSbwyzu8s9B9xMNEuXZoskxCV5F0l/XNDDC6cqtXS/Y6CLkBDQRZ/GHQAQgA +vZ423gfhwidyiQ+ybDfjjGfGPHcEkboPnn/tMvlWPTBPwHvxl5RkN0UIUw56Vx3e +vUGJS+u/iuop78BwntGlsu2IrPVwKmT0WJhSwFF6n2ygdAm/bL11M0VZRotoI8ID +xrmnJmeGc7AwV43HD6Nk7VQO8rL6wnmYLZ5ylMKYf82L/J8p01V2i1XyGU39CJDw +TAcAU6ravA5pIiSH/Bsvi4Xoj2k6fj8V9P6njsEn0FgnL2HHEWgWJXU5MvLK9ylf +qphY06MftmEVZWinrblB5AU1ogX/G5+yjbTR0oqYdsKetHAW4e0kUUhWWMHuRfBA +I3IQObMKxsuSIC9KrQ9QQwARAQABiQE8BBgBCAAmFiEE/huPz+bBYiLxVxyOipP5 +b3jF1MQFAln8YdACGwwFCQPCZwAACgkQipP5b3jF1MRvOwf/eU9jMKtvpfqHY473 +05YLccpY6WElPk49La9CJAbLIZETcfOm32V3C7XiMa/o5v/FP5YfkooaUI80gNLm +1UKwjclSfbwOg2cESCl18+LDLvwZq2vTfIgq1yZkps3ccKfYMRVa2exG1clOhkVS +uHSb1G2oi1rcWFz2XcXfduK4MGKf6Vz5+zMx73lWkwdKeOXtxrmB68isbyGzg2DZ +rj74ULW6+0neyf3eH2xMLQYkvTw39IySG2BpsCo5fDgwuRzsLAppvp73Ajn3lgHk +DwdlN2dsUo+DccxSZFh7AxGdTNiijcePfmb+U4QMC8CNvQ+DWiEkw3amRii5S1EV +fd/YcA== =zHye + +--END PGP PUBLIC KEY BLOCK--
A build/index.html

@@ -0,0 +1,38 @@

+<!DOCTYPE html> +<html> +<header> + <link rel="stylesheet" href="../static/sakura.css"> + </style> + <a href="/">home</a> <a href="/gpg.txt">gpg</a> + <title> + icyphox + </title> +</header> + +<body> + <p>Hey there,</p> + +<p>I'm <em>icyphox</em>, and this is my new, less flashy website. I lost the Markdown source of my old site in an SSD wipe :v <br /> +The blog's gone (for now), but I'll probably archive it somewhere.</p> + +<p>Links: </p> + +<ul> +<li><a href="https://xix.ph0x.me/resume.pdf">R&eacute;sum&eacute;</a></li> +<li><a href="https://github.com/icyphox">GitHub</a></li> +<li><a href="https://twitter.com/icyphox">Twitter</a></li> +<li><a href="https://keybase.io/icyphox">Keybase</a></li> +</ul> + +<p>Reach me at <a href="mailto:icyph0x@pm.me">icyph0x@pm.me</a>, or at <code>#rice</code> on <a href="https://rizon.net">Rizon</a>.</p> + +<hr /> + +</body> + +<footer> + <p align="center">Built using <a href="https://github.com/icyphox/vite">Vite</a>.</p> + <p> </p> +<footer> + +
A build/static/sakura.css

@@ -0,0 +1,166 @@

+/* Sakura.css v1.0.0 + * ================ + * Minimal css theme. + * Project: https://github.com/oxalorg/sakura + */ +/* Body */ +html { + font-size: 62.5%; + font-family: serif; } + +body { + font-size: 1.8rem; + line-height: 1.618; + max-width: 38em; + margin: auto; + margin-top: 10%; + color: #4a4a4a; + background-color: #f9f9f9; + padding: 13px; } + +@media (max-width: 684px) { + body { + font-size: 1.53rem; } } + +@media (max-width: 382px) { + body { + font-size: 1.35rem; } } + +h1, h2, h3, h4, h5, h6 { + line-height: 1.1; + font-family: Verdana, Geneva, sans-serif; + font-weight: 700; + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-word; + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; } + +h1 { + font-size: 2.35em; } + +h2 { + font-size: 2.00em; } + +h3 { + font-size: 1.75em; } + +h4 { + font-size: 1.5em; } + +h5 { + font-size: 1.25em; } + +h6 { + font-size: 1em; } + +small, sub, sup { + font-size: 75%; } + +hr { + border-color: #2c8898; } + +a { + text-decoration: none; + color: #2c8898; } + a:hover { + color: #982c61; + border-bottom: 2px solid #4a4a4a; } + +ul { + padding-left: 1.4em; } + +li { + margin-bottom: 0.4em; } + +blockquote { + font-style: italic; + margin-left: 1.5em; + padding-left: 1em; + border-left: 3px solid #2c8898; } + +img { + max-width: 100%; } + +/* Pre and Code */ +pre { + background-color: #f1f1f1; + display: block; + padding: 1em; + overflow-x: auto; } + +code { + font-size: 0.9em; + padding: 0 0.5em; + background-color: #f1f1f1; + white-space: pre-wrap; } + +pre > code { + padding: 0; + background-color: transparent; + white-space: pre; } + +/* Tables */ +table { + text-align: justify; + width: 100%; + border-collapse: collapse; } + +td, th { + padding: 0.5em; + border-bottom: 1px solid #f1f1f1; } + +/* Buttons, forms and input */ +input, textarea { + border: 1px solid #4a4a4a; } + input:focus, textarea:focus { + border: 1px solid #2c8898; } + +textarea { + width: 100%; } + +.button, button, input[type="submit"], input[type="reset"], input[type="button"] { + display: inline-block; + padding: 5px 10px; + text-align: center; + text-decoration: none; + white-space: nowrap; + background-color: #2c8898; + color: #f9f9f9; + border-radius: 1px; + border: 1px solid #2c8898; + cursor: pointer; + box-sizing: border-box; } + .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] { + cursor: default; + opacity: .5; } + .button:focus, .button:hover, button:focus, button:hover, input[type="submit"]:focus, input[type="submit"]:hover, input[type="reset"]:focus, input[type="reset"]:hover, input[type="button"]:focus, input[type="button"]:hover { + background-color: #982c61; + border-color: #982c61; + color: #f9f9f9; + outline: 0; } + +textarea, select, input[type] { + color: #4a4a4a; + padding: 6px 10px; + /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: 10px; + background-color: #f1f1f1; + border: 1px solid #f1f1f1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } + textarea:focus, select:focus, input[type]:focus { + border: 1px solid #2c8898; + outline: 0; } + +input[type="checkbox"]:focus { + outline: 1px dotted #2c8898; } + +label, legend, fieldset { + display: block; + margin-bottom: .5rem; + font-weight: 600; }
A config.py

@@ -0,0 +1,8 @@

+# config.py - Vite's configuration script + +title = 'icyphox' +author = '' +header = '<a href="/">home</a> <a href="/gpg.txt">gpg</a>' +footer = '<p align="center">Built using <a href="https://github.com/icyphox/vite">Vite</a>.</p>' +template = 'index.html' # default is index.html +
A pages/_index.md

@@ -0,0 +1,16 @@

+Hey there, + +I'm *icyphox*, and this is my new, less flashy website. I lost the Markdown source of my old site in an SSD wipe :v +The blog's gone (for now), but I'll probably archive it somewhere. + +Links: + +- [R&eacute;sum&eacute;](https://xix.ph0x.me/resume.pdf) +- [GitHub](https://github.com/icyphox) +- [Twitter](https://twitter.com/icyphox) +- [Keybase](https://keybase.io/icyphox) + +Reach me at [icyph0x@pm.me](mailto:icyph0x@pm.me), or at `#rice` on [Rizon](https://rizon.net). + +-------------------------- +
A pages/gpg.txt

@@ -0,0 +1,31 @@

+--BEGIN PGP PUBLIC KEY BLOCK-- + +mQENBFn8YdABCACtulcVqYEXUtib53uw1pBowkdWqxmMpKsh+CG+816xW/Sh6gCP +eotqFgBMkvQ83/9fvJ2HAkaelyVmT1g20WNprqVU61u0Ctw6FtNPu0Y+cBikEbYJ +GFcqXeMgUjQNqVyutTfbv5rfGz0/xzFB9P6edTC400Z3x7PfET8zOWYXxTcWMjfi +swv+psPX7MteYI/1gvgdGB3VN6efdCAe1GQNmE8KUBPt4exlHiH1kkCIAD/p33tk +MfWXL0etYweM7WHbwcAGMDYwtGSo+V+btshE081PsbGQj2C82BuQMZGaFk2JmzlK +udwqL0p6Y6VjbW0RQR7i2h1O0vAAmRHHFTYPABEBAAG0LEFuaXJ1ZGggT3BwaWxp +YXBwYW4gPGljeXBoMHhAcHJvdG9ubWFpbC5jb20+iQFUBBMBCAA+FiEE/huPz+bB +YiLxVxyOipP5b3jF1MQFAln8YdACGwMFCQPCZwAFCwkIBwIGFQgJCgsCBBYCAwEC +HgECF4AACgkQipP5b3jF1MQNigf+LWBALgyeGAKWMBhqXtLcxE1/EA6jXO0ntEjb +WMCkd8fUmOqbJm5Asoiq5fK/g5mqt27pNSV98dT/evpFNLhSLPvAc1lgkyZM3dzM +5jK1l1QhfEkJj/mJxaPmGO1UUk6qEcs9s/SD47qfE+wxbpIA6QSo0ZyQ83PAb6kD +tQjhibF9x9kWp2xEm2OaBAdGOAHWLA/dRrYWCIQUn2X4ITs3pEQuKPwfH6LEOHlh +IV27CgSpGLzB2WUl0cRDjlgNSmQaM2YOpT7dqBxqHCAdr5jjR0Gqoi7ltP0W/V1P +znA/VSbwyzu8s9B9xMNEuXZoskxCV5F0l/XNDDC6cqtXS/Y6CLkBDQRZ/GHQAQgA +vZ423gfhwidyiQ+ybDfjjGfGPHcEkboPnn/tMvlWPTBPwHvxl5RkN0UIUw56Vx3e +vUGJS+u/iuop78BwntGlsu2IrPVwKmT0WJhSwFF6n2ygdAm/bL11M0VZRotoI8ID +xrmnJmeGc7AwV43HD6Nk7VQO8rL6wnmYLZ5ylMKYf82L/J8p01V2i1XyGU39CJDw +TAcAU6ravA5pIiSH/Bsvi4Xoj2k6fj8V9P6njsEn0FgnL2HHEWgWJXU5MvLK9ylf +qphY06MftmEVZWinrblB5AU1ogX/G5+yjbTR0oqYdsKetHAW4e0kUUhWWMHuRfBA +I3IQObMKxsuSIC9KrQ9QQwARAQABiQE8BBgBCAAmFiEE/huPz+bBYiLxVxyOipP5 +b3jF1MQFAln8YdACGwwFCQPCZwAACgkQipP5b3jF1MRvOwf/eU9jMKtvpfqHY473 +05YLccpY6WElPk49La9CJAbLIZETcfOm32V3C7XiMa/o5v/FP5YfkooaUI80gNLm +1UKwjclSfbwOg2cESCl18+LDLvwZq2vTfIgq1yZkps3ccKfYMRVa2exG1clOhkVS +uHSb1G2oi1rcWFz2XcXfduK4MGKf6Vz5+zMx73lWkwdKeOXtxrmB68isbyGzg2DZ +rj74ULW6+0neyf3eH2xMLQYkvTw39IySG2BpsCo5fDgwuRzsLAppvp73Ajn3lgHk +DwdlN2dsUo+DccxSZFh7AxGdTNiijcePfmb+U4QMC8CNvQ+DWiEkw3amRii5S1EV +fd/YcA== =zHye + +--END PGP PUBLIC KEY BLOCK--
A static/sakura.css

@@ -0,0 +1,166 @@

+/* Sakura.css v1.0.0 + * ================ + * Minimal css theme. + * Project: https://github.com/oxalorg/sakura + */ +/* Body */ +html { + font-size: 62.5%; + font-family: serif; } + +body { + font-size: 1.8rem; + line-height: 1.618; + max-width: 38em; + margin: auto; + margin-top: 10%; + color: #4a4a4a; + background-color: #f9f9f9; + padding: 13px; } + +@media (max-width: 684px) { + body { + font-size: 1.53rem; } } + +@media (max-width: 382px) { + body { + font-size: 1.35rem; } } + +h1, h2, h3, h4, h5, h6 { + line-height: 1.1; + font-family: Verdana, Geneva, sans-serif; + font-weight: 700; + overflow-wrap: break-word; + word-wrap: break-word; + -ms-word-break: break-all; + word-break: break-word; + -ms-hyphens: auto; + -moz-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; } + +h1 { + font-size: 2.35em; } + +h2 { + font-size: 2.00em; } + +h3 { + font-size: 1.75em; } + +h4 { + font-size: 1.5em; } + +h5 { + font-size: 1.25em; } + +h6 { + font-size: 1em; } + +small, sub, sup { + font-size: 75%; } + +hr { + border-color: #2c8898; } + +a { + text-decoration: none; + color: #2c8898; } + a:hover { + color: #982c61; + border-bottom: 2px solid #4a4a4a; } + +ul { + padding-left: 1.4em; } + +li { + margin-bottom: 0.4em; } + +blockquote { + font-style: italic; + margin-left: 1.5em; + padding-left: 1em; + border-left: 3px solid #2c8898; } + +img { + max-width: 100%; } + +/* Pre and Code */ +pre { + background-color: #f1f1f1; + display: block; + padding: 1em; + overflow-x: auto; } + +code { + font-size: 0.9em; + padding: 0 0.5em; + background-color: #f1f1f1; + white-space: pre-wrap; } + +pre > code { + padding: 0; + background-color: transparent; + white-space: pre; } + +/* Tables */ +table { + text-align: justify; + width: 100%; + border-collapse: collapse; } + +td, th { + padding: 0.5em; + border-bottom: 1px solid #f1f1f1; } + +/* Buttons, forms and input */ +input, textarea { + border: 1px solid #4a4a4a; } + input:focus, textarea:focus { + border: 1px solid #2c8898; } + +textarea { + width: 100%; } + +.button, button, input[type="submit"], input[type="reset"], input[type="button"] { + display: inline-block; + padding: 5px 10px; + text-align: center; + text-decoration: none; + white-space: nowrap; + background-color: #2c8898; + color: #f9f9f9; + border-radius: 1px; + border: 1px solid #2c8898; + cursor: pointer; + box-sizing: border-box; } + .button[disabled], button[disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="button"][disabled] { + cursor: default; + opacity: .5; } + .button:focus, .button:hover, button:focus, button:hover, input[type="submit"]:focus, input[type="submit"]:hover, input[type="reset"]:focus, input[type="reset"]:hover, input[type="button"]:focus, input[type="button"]:hover { + background-color: #982c61; + border-color: #982c61; + color: #f9f9f9; + outline: 0; } + +textarea, select, input[type] { + color: #4a4a4a; + padding: 6px 10px; + /* The 6px vertically centers text on FF, ignored by Webkit */ + margin-bottom: 10px; + background-color: #f1f1f1; + border: 1px solid #f1f1f1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } + textarea:focus, select:focus, input[type]:focus { + border: 1px solid #2c8898; + outline: 0; } + +input[type="checkbox"]:focus { + outline: 1px dotted #2c8898; } + +label, legend, fieldset { + display: block; + margin-bottom: .5rem; + font-weight: 600; }
A templates/index.html

@@ -0,0 +1,21 @@

+<!DOCTYPE html> +<html> +<header> + <link rel="stylesheet" href="../static/sakura.css"> + </style> + {{ header }} + <title> + {{ title }} + </title> +</header> + +<body> + {{ body }} +</body> + +<footer> + {{ footer }} + <p> {{ author }} </p> +<footer> + +