diff options
Diffstat (limited to 'blog/static/style.css')
| -rw-r--r-- | blog/static/style.css | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/blog/static/style.css b/blog/static/style.css new file mode 100644 index 0000000..5f679b8 --- /dev/null +++ b/blog/static/style.css @@ -0,0 +1,174 @@ +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background-color: #002b36; + color: #fdf6e3; +} + +#preamble { + background-color: #073642; + border-bottom: 1px solid #e0e0e0; + text-align: center; +} + +#preamble .header a { + text-decoration: none; + font-size: 1.8em; + color: #fdf6e3; +} + +#content { + max-width: 800px; + margin: 2em auto; + padding: 0 1em; +} + +.post-date { + color: #999; + font-size: 0.9em; +} + +.post-title { + font-size: 2em; + margin: 0; +} + +.post-title a { + color: #ffffff;; +} + +#content p { + margin-bottom: 1.2em; + line-height: 1.8; +} + +a { + color: #2aa198; +} + +a:hover { + text-decoration: underline; +} + +.taglist { + border-bottom: 9px solid #e0e0e0; + padding-bottom: 1em; + margin-bottom: 2.5em; + font-size: 0.9em; +} + +.taglist a { + background-color: #e0e0e0; + color: #333; + padding: 0.2em 0.5em; + margin-right: 0.5em; + border-radius: 3px; + text-decoration: none; +} + +.taglist a:hover { + background-color: #ccc; +} + +/* Postamble / footer */ +#postamble { + max-width: 800px; + margin: 2em auto; + padding: 1em; + border-top: 1px solid #e0e0e0; + font-size: 0.8em; + color: #666; + text-align: center; +} + +#archive a { + color: #2aa198; + text-decoration: none; +} + +#archive a:hover { + text-decoration: underline; +} + +img { + max-width: 100%; + height: auto; +} + +table { + font-family: Arial, Helvetica, sans-serif; + border-collapse: collapse; + width: 100%; +} + +table td, table th { + border: 1px solid #ddd; + padding: 8px; +} + +table tr:nth-child(even){background-color: #f2f2f2;} + +table tr:hover {background-color: #ddd;} + +table th { + padding-top: 12px; + padding-bottom: 12px; + text-align: left; + background-color: #073642; + color: white; +} + +.org-src-container { + background-color: #2d2d2d; + padding: 0 12px; + border-radius: 5px; + overflow: auto; + margin: 10px 0; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.org-src-container pre { + color: #f8f8f2; + font-family: "Fira Code", "Courier New", monospace; + font-size: 14px; + line-height: 1.5; + white-space: pre-wrap; +} + +.org-src-container pre::before { + display: block; + font-weight: bold; + 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; +} |
