Brian S. Stephan
3454de17fc
style links with color, not underlines
...
this allows me to link to images (e.g. in figures) without having a
separate override class to remove their underline, which is ugly. on
account of making links red, it was looking like too much red
(especially on the index) with headers also being red, so this makes
headers the default text color.
still not 100% committed to this but I'm trying it out
2022-04-19 08:41:59 -05:00
Brian S. Stephan
1fe6623587
remove .img-frame class, unnecessary with figures
2022-04-19 08:41:59 -05:00
Brian S. Stephan
ec042e466c
scoot the footer down a bit, and give it margins like the main content's
2022-04-19 08:41:59 -05:00
Brian S. Stephan
6daed848d0
remove duplicate link styles
...
all these subclasses or whatever are the same
2022-04-19 08:41:59 -05:00
Brian S. Stephan
502adac89c
make the pydot syntax backwards compatible with code fences
...
without this, the code fence parser was getting thrown off if you didn't
have the pydot extension loaded, which was thwarting backwards
compatibility. this makes the pydot bits look like an attribute to the
vanilla parser, so at least then the vanilla markdown renders as
intended
2022-04-19 08:41:59 -05:00
Brian S. Stephan
08305e26db
pydot: handle multiple dot images in one file
2022-04-19 08:41:59 -05:00
Brian S. Stephan
9a65dfffaf
tweaks to the content responsiveness and header padding
...
more readability stuff for desktop without (hopefully) affecting the
mobile experience much
2022-04-19 08:41:58 -05:00
Brian S. Stephan
a42ce34aad
add a bit of whitespace in content text
...
meant to help readability slightly, in part because of what I'm screwing
around with in changing link and header colors
2022-04-19 08:41:58 -05:00
Brian S. Stephan
9ce8e9a1cc
restyle figures and captions for more flexibility
2022-04-19 08:41:58 -05:00
Brian S. Stephan
d07260331b
remove unused figure classes
...
these are being reworked and I don't think I'm going to do responsive
stuff anymore
2022-04-19 08:41:58 -05:00
Brian S. Stephan
2c47501589
remove unused thumbnail class
...
used to appear on a couple images, the styling was replaced with some
more explicit image tags and soon will be replaced again with figure
stuff
2022-04-19 08:41:58 -05:00
Brian S. Stephan
f15d955067
initial crack at a block-level figure parser
...
I didn't like the other figure + figcaption parsers, they either assumed
a lot about usage (e.g. images only), or they were inline parsers that
either wrapped the figure in a paragraph tag (which is incorrect syntax)
or did span trickery (annoying)
so, this handles images and maybe other things, and does things properly
with figures as their own blocks. incomplete but it works with my
images, and should allow for looping (for multi-line content) in the
future?
2022-04-19 08:41:55 -05:00
Brian S. Stephan
b3c3c0de45
clean up the default markdown configuration a bit
...
this brings the config a bit closer to my default, and updates the
expectations of a test accordingly
2022-04-19 06:45:32 -05:00
Brian S. Stephan
853a58b78b
make the breadcrumbs and style menu a bit nicer
2022-03-24 22:41:34 -05:00
Brian S. Stephan
3cade4fe73
add the image floats to the plain CSS
...
primarily it's the main page that just looks weird without it
2022-03-24 22:28:09 -05:00
Brian S. Stephan
63a764c6a0
don't use system tz, display timestamps as UTC
...
no particular reason, just one less dependency, and it goes further
towards my idyllic world where everyone is on UTC and there are no
timezones
2022-03-24 22:12:00 -05:00
Brian S. Stephan
d129d04e04
remove mdx_linkify and do requirement bumps
2022-03-24 22:00:37 -05:00
Brian S. Stephan
410f96ffb4
relicense under the AGPLv3+
...
after a lot of deliberation I think I'm starting to prefer GPLv3 over
GPLv2 for copyleft, and this is a case where my rationale benefits from
the additions of the Affero clause
2022-01-17 16:55:24 -06:00
Brian S. Stephan
e325831f70
some tweaks to the CONTRIBUTING section
2022-01-17 16:49:40 -06:00
Brian S. Stephan
56289ab75d
remove warning for coverage feature not in use
2022-01-15 17:40:12 -06:00
Brian S. Stephan
d623c9c93d
adding support for 3.10, dropping support for 3.7
2022-01-15 17:35:56 -06:00
Brian S. Stephan
9d87aab61b
go back to lighter red in dark style
...
contrast is just too low for the "incorporeal red"
2022-01-03 12:40:30 -06:00
Brian S. Stephan
35ea94185b
unify some of the colors in light vs. dark
2022-01-02 22:55:43 -06:00
Brian S. Stephan
69feb0c29c
add a 75% max-width class, using it for GOTY?
2022-01-02 22:51:21 -06:00
Brian S. Stephan
788a9cbaba
use a smaller font for the styled pages
2022-01-02 22:50:04 -06:00
Brian S. Stephan
be6d96273c
eliminate warnings about how we register the pydot markdown extension
2021-11-03 14:16:18 -05:00
Brian S. Stephan
a700470067
document the customization options
...
more work towards #15
2021-11-01 23:36:10 -05:00
Brian S. Stephan
8a62167cea
remove some self-specific stuff from settings
...
implements most, if not all, of #15
2021-11-01 23:27:00 -05:00
Brian S. Stephan
4ea824e86f
provide some comments explaining the css files
2021-11-01 23:20:42 -05:00
Brian S. Stephan
28dbfd45b5
remove bss-specific image from the package
...
part of the work of #15
2021-11-01 23:20:16 -05:00
Brian S. Stephan
1de69dfc70
requirements bump
2021-10-08 07:30:46 -05:00
Brian S. Stephan
ccf8434f43
remove a bunch of unnecessary font size styling
...
in the end, a lot of this doesn't really matter, and right now, I
slightly prefer the site with a touch bigger font, so let's just let the
default do its thing
2021-10-08 07:16:31 -05:00
Brian S. Stephan
5aabb79199
call the pydot rendering support 'dot' in package extras
2021-10-08 07:09:21 -05:00
Brian S. Stephan
509072ab78
safety in tox: scan requirements for known bad packages
2021-06-24 11:46:56 -05:00
Brian S. Stephan
e61c55bed2
handle graphviz parsing errors more cleanly
2021-06-24 11:37:57 -05:00
Brian S. Stephan
41a53a2a13
add py39 environment to tox test envs
2021-06-24 11:23:36 -05:00
Brian S. Stephan
da055acda6
provide markdown extension to render graphviz
...
this is server side, and a more standard format, and thus I like it more
than mermaid, which I've been using at work. but, I really wanted a
server-side option (see my manifesto) for drawing relationship graphs,
for D&D stuff of all things.
this adds an optional 'graphviz' feature to package installation which
consequently depends on pydot
2021-06-24 09:46:26 -05:00
Brian S. Stephan
1583e3be99
more debugging and catch md misconfigured error
2021-06-24 09:43:00 -05:00
Brian S. Stephan
946a557177
correct the license declaration to match LICENSE and README
2021-06-24 08:34:26 -05:00
Brian S. Stephan
f0d4e7d3d9
have footer clear: both;
...
closes #14
2021-06-06 22:28:43 -05:00
Brian S. Stephan
954f7f4e80
allow markdown files to specify a redirect
...
closes #13
2021-06-06 22:24:35 -05:00
Brian S. Stephan
27bb139a2b
add installation and usage information
2021-06-05 22:59:00 -05:00
Brian S. Stephan
c15862850f
add a CONTRIBUTING file
2021-06-04 17:41:18 -05:00
Brian S. Stephan
afbfab338f
properly apply site wrap classes to style wide version
...
fixes #12
2021-06-03 07:52:01 -05:00
Brian S. Stephan
cac6b40af5
relicense the project under GPLv2
...
prepping for an actual public release of a sort, this hopefully
clarifies the license and copyright
license from https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2021-06-02 07:44:23 -05:00
Brian S. Stephan
65bc028524
implement base-wide.html as an extension of base.html
...
not quite sure why I didn't think of this initially... too much hacking
2021-05-19 22:30:20 -05:00
Brian S. Stephan
e8377adcf5
allow pages to specify different templates
2021-04-30 19:41:39 -05:00
Brian S. Stephan
f4beb15a3b
make directory redirects absolute paths
...
I think this is always the right choice, since we're rewriting the full
input path
2021-04-17 15:06:39 -05:00
Brian S. Stephan
da447d2873
Merge branch 'master' of git.incorporeal.org:bss/incorporeal-cms
2021-04-17 14:57:20 -05:00
Brian S. Stephan
cde82ab918
don't route /media separately anymore
2021-04-17 11:16:34 -05:00