Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use box-shadow feature boxes #344

Merged
merged 4 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions assets/theme-css/keyfeatures.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
}

.keyfeatures-box-content {
height: 200px;
min-width: 275px;
width: 335px;
margin: 25px auto;
border-radius: 25px;
border: 4px solid var(--colorBackgroundInverse);
border: 0.02em solid var(--pst-color-border);
box-shadow:
0 0.2rem 0.5rem var(--pst-color-shadow),
0 0 0.0625rem var(--pst-color-shadow);
}

.keyfeatures-box-title {
Expand All @@ -29,6 +30,8 @@
}

.keyfeatures-box-text {
line-height: 1.5;
font-size: 0.9em;
margin: 15px;
height: 6em;
overflow: hidden;
Expand Down
1 change: 1 addition & 0 deletions assets/theme-css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ a > code {
flex-direction: row;
justify-content: center;
width: 100%;
line-height: 1.5;
}

.hero-headline {
Expand Down