website: Fix padding in feature comparison table (#3611)

* Fix table block styling

* Add correct command to run development server

* Update website/src/css/custom.css

closes #3315

Co-authored-by: Jens L. <jens@beryju.org>
Signed-off-by: Issy Szemeti <48881813+issy@users.noreply.github.com>

Signed-off-by: Issy Szemeti <48881813+issy@users.noreply.github.com>
Co-authored-by: Jens L. <jens@beryju.org>
This commit is contained in:
Issy Szemeti 2022-09-18 17:43:05 +01:00 committed by GitHub
parent daa0417c38
commit 9ab066a863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,7 @@ yarn install
## Local Development
```console
yarn start
yarn watch
```
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

View File

@ -81,25 +81,27 @@ table.comparison tr th.authentik {
}
table.comparison thead.group tr {
border-top: 1px;
border-bottom: 1px;
border-bottom-color: var(--ifm-table-head-color);
border-top-style: solid;
border-bottom-style: solid;
}
table.comparison thead.group th:first-child {
padding: 10px;
text-align: left;
font-weight: 800;
}
table.comparison tr td {
border-left: 10px solid transparent;
padding-left: 10px;
min-width: 90px;
text-align: center;
}
table.comparison tr td:first-child {
font-weight: bold;
padding-left: 0;
text-align: left;
white-space: nowrap;
width: 25%;