Skip to content

Commit 8c7179f

Browse files
committed
Use card instead of CSS style for landing title
1 parent fec9503 commit 8c7179f

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

pages/_static/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
--sd-color-success: var(--fpm-sd-complementary);
5252
--sd-color-info: var(--fpm-sd-update);
5353
--sd-color-warning: var(--fpm-sd-accent);
54-
--sd-color-danger: #dc3545;
54+
--sd-color-danger: var(--fpm-sd-tertiary);
5555
--sd-color-light: #f8f9fa;
5656
--sd-color-muted: #6c757d;
5757
--sd-color-dark: #212529;

pages/index.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ sd_hide_title: true
44

55
# Fortran package manager
66

7-
::::::{div} landing-title
8-
:style: "background-image: linear-gradient(315deg, #a34e9c, #9953ad); clip-path: inset(0% 100% 0% 100% round 20px);"
9-
107
:::{card}
118
:class-header: sd-text-white sd-fs-2 sd-font-weight-bold sd-border-0
129
:class-body: sd-text-white sd-fs-4 sd-border-0
13-
:class-card: sd-border-0
14-
:margin: 5
10+
:class-card: sd-border-0 sd-bg-danger sd-px-5 sd-py-1 sd-rounded-3
1511
:shadow: none
1612

1713
Fortran package manager
@@ -20,8 +16,6 @@ Fortran package manager
2016
Package manager and build system for Fortran.
2117
:::
2218

23-
::::::
24-
2519
Welcome to the documentation of the Fortran package manager (fpm).
2620
This documentation is divided in four major parts, select one of the topics below to continue.
2721

0 commit comments

Comments
 (0)