diff options
author | 2021-03-26 14:40:59 +0800 | |
---|---|---|
committer | 2021-03-26 14:40:59 +0800 | |
commit | 494c63a51a778253e8f90868338d42bd41a700a9 (patch) | |
tree | b48cf80d9b5af914e058d5bd0c616f81972e040b /pydis_site/static | |
parent | Merge pull request #427 from python-discord/ks123/dewikification/event-pages (diff) | |
parent | Remove guide reference to `markdown2`. (diff) |
Merge pull request #393 from ks129/guides-app
Dewikification - Create content app
Diffstat (limited to 'pydis_site/static')
-rw-r--r-- | pydis_site/static/css/content/page.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css new file mode 100644 index 00000000..57d7472b --- /dev/null +++ b/pydis_site/static/css/content/page.css @@ -0,0 +1,31 @@ +.breadcrumb-section { + padding: 1rem; +} + +i.has-icon-padding { + padding: 0 10px 25px 0; +} + +/* + * Move padding padding from <pre> tag to hljs <code> tags so the padding + * space is colored the same as the background of hljs <code> blocks. + */ +.content pre { + padding: 0; +} + +code.hljs { + padding: 1.75em 2em; +} + +/* + * Show header permalink on hover. + */ +.headerlink { + display: none; + padding-left: 0.5em; +} + +:is(h1, h2, h3, h4, h5, h6):hover > .headerlink { + display: inline; +} |