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:
parent
daa0417c38
commit
9ab066a863
|
@ -11,7 +11,7 @@ yarn install
|
||||||
## Local Development
|
## Local Development
|
||||||
|
|
||||||
```console
|
```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.
|
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
|
||||||
|
|
|
@ -81,25 +81,27 @@ table.comparison tr th.authentik {
|
||||||
}
|
}
|
||||||
|
|
||||||
table.comparison thead.group tr {
|
table.comparison thead.group tr {
|
||||||
|
border-top: 1px;
|
||||||
border-bottom: 1px;
|
border-bottom: 1px;
|
||||||
border-bottom-color: var(--ifm-table-head-color);
|
border-bottom-color: var(--ifm-table-head-color);
|
||||||
|
border-top-style: solid;
|
||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.comparison thead.group th:first-child {
|
table.comparison thead.group th:first-child {
|
||||||
|
padding: 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.comparison tr td {
|
table.comparison tr td {
|
||||||
border-left: 10px solid transparent;
|
padding-left: 10px;
|
||||||
min-width: 90px;
|
min-width: 90px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.comparison tr td:first-child {
|
table.comparison tr td:first-child {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 0;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
|
Reference in New Issue