diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-15 15:03:08 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-15 15:03:08 +0100 |
commit | 976f83c5507e203107d5592a480b3b55343a0224 (patch) | |
tree | f15235ee46a4ae6df4bfc43cd337dab6b5577136 | |
parent | 0bdcbd741c32c7d6a85b16a24968df00d9cb0584 (diff) | |
download | cheatdb-976f83c5507e203107d5592a480b3b55343a0224.tar.xz |
Fix wrong table style on all pages but help
-rw-r--r-- | app/flatpages/help/ranks_permissions.md | 2 | ||||
-rw-r--r-- | app/scss/components.scss | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/app/flatpages/help/ranks_permissions.md b/app/flatpages/help/ranks_permissions.md index 33ea5cd..79dc7d2 100644 --- a/app/flatpages/help/ranks_permissions.md +++ b/app/flatpages/help/ranks_permissions.md @@ -10,7 +10,7 @@ title: Ranks and Permissions ## Breakdown -<table> +<table class="fancyTable"> <thead> <tr> <th>Rank</th> diff --git a/app/scss/components.scss b/app/scss/components.scss index 8382d7f..26102a0 100644 --- a/app/scss/components.scss +++ b/app/scss/components.scss @@ -151,7 +151,7 @@ a:hover { border: 1px solid #393; } -table { +table.fancyTable { font-family: "Arial Black", Gadget, sans-serif; border: 2px solid #000000; background-color: #4A4A4A; @@ -159,33 +159,33 @@ table { text-align: center; border-collapse: collapse; } -table td, table th { +table.fancyTable td, table.fancyTable th { border: 1px solid #4A4A4A; padding: 3px 2px; } -table tbody td { +table.fancyTable tbody td { font-size: 13px; color: #E6E6E6; } -table tr:nth-child(even) { +table.fancyTable tr:nth-child(even) { background: #888888; } -table thead { +table.fancyTable thead { background: #000000; border-bottom: 3px solid #000000; } -table thead th { +table.fancyTable thead th { font-size: 15px; font-weight: bold; color: #E6E6E6; text-align: center; border-left: 2px solid #4A4A4A; } -table thead th:first-child { +table.fancyTable thead th:first-child { border-left: none; } -table tfoot { +table.fancyTable tfoot { font-size: 12px; font-weight: bold; color: #E6E6E6; @@ -195,7 +195,7 @@ table tfoot { background: linear-gradient(to bottom, #404040 0%, #191919 66%, #000000 100%); border-top: 1px solid #4A4A4A; } -table tfoot td { +table.fancyTable tfoot td { font-size: 12px; } |