diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 16:01:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 16:04:30 +0300 |
commit | f8f58334e70d24e4f4acef78d0951565b92ea341 (patch) | |
tree | 4fdb72f825a677c483386ef0fe0f50dcf6cbb671 /assets/css/common | |
parent | README: fix a typo (diff) | |
download | jekyll-theme-f8f58334e70d24e4f4acef78d0951565b92ea341.tar.gz jekyll-theme-f8f58334e70d24e4f4acef78d0951565b92ea341.zip |
css: move CSS files to jekyll-theme/
Diffstat (limited to 'assets/css/common')
-rw-r--r-- | assets/css/common/fix_bootstrap.css | 43 | ||||
-rw-r--r-- | assets/css/common/footer.css | 30 | ||||
-rw-r--r-- | assets/css/common/posts.css | 15 | ||||
-rw-r--r-- | assets/css/common/utils.css | 7 |
4 files changed, 0 insertions, 95 deletions
diff --git a/assets/css/common/fix_bootstrap.css b/assets/css/common/fix_bootstrap.css deleted file mode 100644 index 03100b3..0000000 --- a/assets/css/common/fix_bootstrap.css +++ /dev/null @@ -1,43 +0,0 @@ -/* Links become blue inside of <hN> elements otherwise. */ -h1 a, -h2 a, -h3 a, -h4 a, -h5 a, -h6 a { - color: inherit; -} -span.badge { - /* Link captions might become too close to badges on the sidebar. */ - margin-left: .5em; - /* Color badges in the color of grass. - * TODO: research if this can be set in the config or factor it out into a - * variable. */ - background-color: #008567; -} -/* Add horizontal scrollbars to <pre>s and don't wrap the code inside. */ -pre { - overflow-x: auto; -} -pre code { - white-space: pre; - word-wrap: normal; -} -/* Fixup syntax.css, which sets the code background to white. */ -.highlight { - background-color: #fafafa !important; -} -/* Prevent <code> elements from standing out from alerts. */ -.alert code { - padding: 0; - background-color: inherit; -} -/* Don't color category links blue. */ -.text-muted a.category { - color: inherit; -} -/* WTF? Sometimes I want to skip .list-group-item-text, and I don't want the - * margin for the heading. */ -.list-group-item-heading:last-child { - margin-bottom: 0; -} diff --git a/assets/css/common/footer.css b/assets/css/common/footer.css deleted file mode 100644 index 1e05c57..0000000 --- a/assets/css/common/footer.css +++ /dev/null @@ -1,30 +0,0 @@ -html, body { - height: 100%; - width: 100%; -} -.top-level-footer-wrapper { - height: 100%; - width: 100%; - display: table; - - /* - * Without this property, scrollbars inside <pre> elements don't work if - * display's width is less than 750px. - * God, I hate CSS. - */ - table-layout: fixed; -} -.footer-wrapper-collapse { - display: table-row; - height: 1px; -} -.footer-wrapper-expand { - display: table-row; - height: auto; -} -footer { - margin-top: 20px; - padding: 15px 0 15px; - border-width: 1px 0; - border-style: solid; -} diff --git a/assets/css/common/posts.css b/assets/css/common/posts.css deleted file mode 100644 index d9ee811..0000000 --- a/assets/css/common/posts.css +++ /dev/null @@ -1,15 +0,0 @@ -/* This is a relatively popular workaround to align side-by-side columns. - * I use it for post headers. */ -.post-header { - display: flex; - flex-wrap: wrap; - align-items: baseline; - justify-content: space-between; - column-gap: 1em; -} -.post-date { - text-align: right; -} -.post-date a.category { - margin-right: .5em; -} diff --git a/assets/css/common/utils.css b/assets/css/common/utils.css deleted file mode 100644 index 6f00df3..0000000 --- a/assets/css/common/utils.css +++ /dev/null @@ -1,7 +0,0 @@ -/* Utility classes to prevent blocks from expanding unreasonably. */ -.wide-enough { - max-width: 400px; -} -.wider { - max-width: 600px; -} |