From 6df9268fa059e6806fce3c9bc7f1e2933ccc890b Mon Sep 17 00:00:00 2001 From: Darsey Litzenberger Date: Tue, 25 Jan 2022 00:59:58 -0800 Subject: gh-pages: Lift the familiar layout from www.dlitz.net --- Gemfile | 2 - _config.yml | 2 +- _layouts/default.html | 45 ++++++++++++++++ api/index.html | 31 ----------- api/index.md | 12 +++++ css/main.css | 89 ++++++++++++++++++++++++++++++++ images/dlitz-carsstop-small.jpg | Bin 0 -> 22581 bytes images/dlitz-favicon.png | Bin 0 -> 370 bytes images/thirdparty/fork-me-on-github.png | Bin 0 -> 7927 bytes index.md | 9 +++- 10 files changed, 155 insertions(+), 35 deletions(-) create mode 100644 _layouts/default.html delete mode 100644 api/index.html create mode 100644 api/index.md create mode 100644 css/main.css create mode 100644 images/dlitz-carsstop-small.jpg create mode 100644 images/dlitz-favicon.png create mode 100644 images/thirdparty/fork-me-on-github.png diff --git a/Gemfile b/Gemfile index fea1678..73473ce 100644 --- a/Gemfile +++ b/Gemfile @@ -13,8 +13,6 @@ source "https://rubygems.org" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima", "~> 2.0" -#gem "jekyll-theme-leap-day", "~> 0.2.0" - # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. gem "github-pages", group: :jekyll_plugins diff --git a/_config.yml b/_config.yml index bc36741..034d993 100644 --- a/_config.yml +++ b/_config.yml @@ -46,7 +46,7 @@ plugins: #- jekyll-seo-tag #- jekyll-optional-front-matter -theme: jekyll-theme-slate +#theme: jekyll-theme-slate include: - old/api/index.html diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..f33dd65 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,45 @@ + + + + + + + + {{ page.title }} | PyCrypto + + + + + + +skip navigation + + + + +
+ {{ content }} +
+ + + + + + diff --git a/api/index.html b/api/index.html deleted file mode 100644 index 99108cf..0000000 --- a/api/index.html +++ /dev/null @@ -1,31 +0,0 @@ ---- -layout: default ---- - - - PyCrypto API Documentation - - - - -

PyCrypto API Documentation

- -

⚠️ NOTE: PyCrypto 2.x is unmaintained. These are provided for reference only.

- -

Choose your version:

- - - - - - - - - diff --git a/api/index.md b/api/index.md new file mode 100644 index 0000000..46ee224 --- /dev/null +++ b/api/index.md @@ -0,0 +1,12 @@ +# PyCrypto API Documentation + +⚠️ NOTE: PyCrypto 2.x is unmaintained. These are provided for reference only. + +Choose your version: + +* [current](current/) → 2.6 +* [2.6](2.6/) +* [2.5](2.5/) +* [2.4](2.4/) +* [2.3](2.3/) +* [2.0.1](2.0.1/) diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..10fd0f2 --- /dev/null +++ b/css/main.css @@ -0,0 +1,89 @@ +html, body { + color: #000; + background: #fff; +} + +h1 { + color: #080; + background: #eee; + font-size: 15pt; + text-align: center; +} +h2 { + color: #080; +} +h3 { + color: #090; +} +h4 { + color: #0a0; +} + +dt { + margin-top: 1ex; +} + +dt:first-child { + margin-top: 0; +} + +li { + margin-bottom: 0.5ex; + padding: 0; +} + +#PageHeader { + border: none; + padding: 0; + left: 0; + top: 0; + font-family: sans-serif; + font-size: larger; + text-align: left; +} + +#PageBanner { + padding: 0; + display: block; + float: left; +} + +#PageContent { + margin: 0; + padding: 0; + border: 0; + clear: left; +} + +/* Used for formatting math */ +table.math-table { border: 0; } +table.math-table td { padding: 0.2em 1em 0.2em 0; border: 0 } +dl.math-dl dt { padding-bottom: 0.2em; } +dl.math-dl dd { padding-bottom: 0.4em; } + +/* +#PageContent h1:first-child, +#PageContent h2:first-child +{ + margin-top: 0; +} +*/ + +.skip-nav-link { + color: #080; + background: white; + padding: .5rem 1.5rem; + border-color: #080; + border-radius: 0 0 .25rem .25rem; + position: absolute; + left: 0.5rem; + top: 0; + transform: translateY(-120%); + transition: transform 325ms ease-in; +} + +.skip-nav-link:focus { + transform: translateY(0); +} + +/* vim:set ts=4 sw=4 sts=4 expandtab: */ diff --git a/images/dlitz-carsstop-small.jpg b/images/dlitz-carsstop-small.jpg new file mode 100644 index 0000000..0f04007 Binary files /dev/null and b/images/dlitz-carsstop-small.jpg differ diff --git a/images/dlitz-favicon.png b/images/dlitz-favicon.png new file mode 100644 index 0000000..1866eda Binary files /dev/null and b/images/dlitz-favicon.png differ diff --git a/images/thirdparty/fork-me-on-github.png b/images/thirdparty/fork-me-on-github.png new file mode 100644 index 0000000..1e19c21 Binary files /dev/null and b/images/thirdparty/fork-me-on-github.png differ diff --git a/index.md b/index.md index 46fd4c4..05e78c8 100644 --- a/index.md +++ b/index.md @@ -1,4 +1,9 @@ -# This software is no longer maintained. +--- +title: This software is no longer maintained. +--- +# PyCrypto - The Python Cryptography Toolkit + +## This software is no longer maintained. **PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities.** @@ -32,3 +37,5 @@ Please choose one of the following alternatives: * [Release tarballs](./pub/dlitz/crypto/pycrypto/) * [Mailing list archive](https://lists.dlitz.net/pipermail/pycrypto/) ([Local snapshot](./pipermail/pycrypto/)) * [PyPI](https://pypi.org/project/pycrypto/) + +[PyCrypto on GitHub] -- cgit v1.2.1