From ce21662007fea5d2940c0cb594e811b41d01c72c Mon Sep 17 00:00:00 2001 From: kirbylife Date: Tue, 3 Jan 2023 01:05:36 -0600 Subject: [PATCH] now the tables are a little bit more beauty and readable --- .gitignore | 5 ++++- static/css/base.css | 2 +- static/css/post.css | 27 +++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9b9bbab..f40c449 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,7 @@ Cargo.lock # Enviroment variables -.env \ No newline at end of file +.env + +# Geany proyect config +proyectos diff --git a/static/css/base.css b/static/css/base.css index f00296e..1107307 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -79,7 +79,7 @@ div.container { strong { font-family: monospace; - font-size: 10px; + font-size: 15px; } footer { diff --git a/static/css/post.css b/static/css/post.css index 21090e2..eac3427 100644 --- a/static/css/post.css +++ b/static/css/post.css @@ -41,3 +41,30 @@ pre { article p { font-size: 16px; } + +/* Table things */ + +article table { + border-collapse: collapse; +} + +article table td, article table th { + border: 1px solid #f0f0f0; + padding: 3px; +} + +article table tr:nth-child(even){ + background-color: #f6f6f6; +} + +article table tr:hover { + background-color: #f0f0f0; +} + +article table th { + padding-top: 5px; + padding-bottom: 5px; + text-align: left; + background-color: #444444; + color: white; +}