Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2020-07-22 23:14:57 +0300
committerOlivier DOSSMANN <git@dossmann.net>2020-07-22 23:14:57 +0300
commit6d39f5f2e2edfcc669ee25e0d01934a3978ecb54 (patch)
tree582b99aaba61c328d1f3186471366cee23b54cb4 /assets
parent573a82b61e00ad42d144a54980aef535ede59022 (diff)
Fix #7 - Add CSS for tables with color alternance
Diffstat (limited to 'assets')
-rw-r--r--assets/css/main.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
index 79a7ade..607e9fc 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -50,6 +50,21 @@ pre {
border: thin solid #ccc;
}
+table {
+ margin: 15px auto;
+ width: 100%;
+}
+
+table th {
+ background: black;
+ color: white;
+ text-align: center;
+}
+
+table tr:nth-child(odd) {
+ background: #eeeeee;
+}
+
p img {
display: block;
margin: 10px auto;