Skip to content

Commit 5de2ee4

Browse files
Use box-shadow feature boxes (#344)
* Use box-shadow feature boxes * Override line-height for hero * Fit keyfeatures to text
1 parent 22655a2 commit 5de2ee4

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

assets/theme-css/keyfeatures.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
}
1515

1616
.keyfeatures-box-content {
17-
height: 200px;
1817
min-width: 275px;
1918
width: 335px;
2019
margin: 25px auto;
21-
border-radius: 25px;
22-
border: 4px solid var(--colorBackgroundInverse);
20+
border: 0.02em solid var(--pst-color-border);
21+
box-shadow:
22+
0 0.2rem 0.5rem var(--pst-color-shadow),
23+
0 0 0.0625rem var(--pst-color-shadow);
2324
}
2425

2526
.keyfeatures-box-title {
@@ -29,6 +30,8 @@
2930
}
3031

3132
.keyfeatures-box-text {
33+
line-height: 1.5;
34+
font-size: 0.9em;
3235
margin: 15px;
3336
height: 6em;
3437
overflow: hidden;

assets/theme-css/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ a > code {
5858
flex-direction: row;
5959
justify-content: center;
6060
width: 100%;
61+
line-height: 1.5;
6162
}
6263

6364
.hero-headline {

0 commit comments

Comments
 (0)