diff options
Diffstat (limited to 'blog/static/style.css')
| -rw-r--r-- | blog/static/style.css | 171 |
1 files changed, 77 insertions, 94 deletions
diff --git a/blog/static/style.css b/blog/static/style.css index 5f679b8..4599ba8 100644 --- a/blog/static/style.css +++ b/blog/static/style.css @@ -1,102 +1,108 @@ body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - line-height: 1.6; - margin: 0; - padding: 0; - background-color: #002b36; - color: #fdf6e3; + background-color: #1d2021; + color: #ebdbb2; + font-family: "Fira Code", "Courier New", Courier, monospace; + line-height: 1.8; + padding: 40px; + max-width: 900px; + margin: auto; + text-align: justify; } -#preamble { - background-color: #073642; - border-bottom: 1px solid #e0e0e0; - text-align: center; +img { + max-width: 100%; + height: auto; } -#preamble .header a { +a { + color: #fabd2f; text-decoration: none; - font-size: 1.8em; - color: #fdf6e3; + transition: color 0.3s ease; } -#content { - max-width: 800px; - margin: 2em auto; - padding: 0 1em; -} - -.post-date { - color: #999; - font-size: 0.9em; +a:hover { + color: #fe8019; + text-decoration: underline; } -.post-title { - font-size: 2em; +.menu-list { + list-style-type: none; margin: 0; + padding: 0 20px; + overflow: hidden; + background: #3c3836; + border-radius: 8px; + box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); } -.post-title a { - color: #ffffff;; +.menu-item { + float: left; + margin: 0 5px; } -#content p { - margin-bottom: 1.2em; - line-height: 1.8; +.menu-item a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; + transition-delay: 200ms; + -moz-transition: all 200ms ease-in; + -webkit-transition: all 200ms ease-in; + -o-transition: all 200ms ease-in; + transition: all 200ms ease-in; } -a { - color: #2aa198; +.menu-item a:hover { + background: #d79921; + color: #282828; } -a:hover { - text-decoration: underline; +.post-title { + color: #fabd2f; + font-size: 1.6em; + margin: 0; } -.taglist { - border-bottom: 9px solid #e0e0e0; - padding-bottom: 1em; - margin-bottom: 2.5em; - font-size: 0.9em; +.post-date { + font-size: 14px; + color: #bdae93; + margin-top: 10px; } -.taglist a { - background-color: #e0e0e0; - color: #333; - padding: 0.2em 0.5em; - margin-right: 0.5em; - border-radius: 3px; - text-decoration: none; +p { + margin-bottom: 20px; } -.taglist a:hover { - background-color: #ccc; +.post-divider { + border: 0; + height: 1px; + background: #d79921; + margin: 30px 0; + opacity: 0.7; } -/* Postamble / footer */ -#postamble { - max-width: 800px; - margin: 2em auto; - padding: 1em; - border-top: 1px solid #e0e0e0; - font-size: 0.8em; - color: #666; +/* Archive Bottom Link */ +#archive { text-align: center; + margin-top: 40px; + font-size: 18px; } -#archive a { - color: #2aa198; - text-decoration: none; -} - -#archive a:hover { - text-decoration: underline; +#content { + margin: 2em auto; + padding: 0 1em; } -img { - max-width: 100%; - height: auto; +#postamble { + text-align: center; + margin-top: 50px; + font-size: 14px; + color: #bdae93; + opacity: 0.8; } +/* Org Table */ table { font-family: Arial, Helvetica, sans-serif; border-collapse: collapse; @@ -120,8 +126,9 @@ table th { color: white; } +/* Org block of code */ .org-src-container { - background-color: #2d2d2d; + background-color: #3c3836; padding: 0 12px; border-radius: 5px; overflow: auto; @@ -143,32 +150,8 @@ table th { margin-bottom: 5px; } -.menu-list { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; -} - -.menu-item { - float: left; - margin: 0 5px; -} - -.menu-item a { - display: block; - color: white; - text-align: center; - padding: 14px 16px; - text-decoration: none; - transition-delay: 200ms; - -moz-transition: all 200ms ease-in; - -webkit-transition: all 200ms ease-in; - -o-transition: all 200ms ease-in; - transition: all 200ms ease-in; -} - -.menu-item a:hover { - background-color: #eee8d5; - color: #073642; +@media screen and (max-width: 780px) { + body { + padding: 0; + } } |
