Skip to content

Commit 9d32cf7

Browse files
authored
DOC: style main page card. (numpy#21456)
[skip actions] [skip travis]
1 parent b0b912f commit 9d32cf7

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

doc/source/_static/numpy.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ h1 {
2222
color: #013243; /* warm black */
2323
}
2424

25-
2625
h2 {
2726
color: #4d77cf; /* han blue */
2827
letter-spacing: -.03em;
@@ -32,3 +31,24 @@ h3 {
3231
color: #013243; /* warm black */
3332
letter-spacing: -.03em;
3433
}
34+
35+
.intro-card {
36+
padding: 20px 10px 20px 10px;
37+
margin: 10px;
38+
}
39+
40+
.intro-card p.card-text {
41+
margin: 0;
42+
}
43+
44+
.intro-card .card-img-top {
45+
height: 52px;
46+
width: 52px;
47+
margin-left: auto;
48+
margin-right: auto;
49+
}
50+
51+
.intro-card .card-header {
52+
margin-top: 20px;
53+
font-size: var(--pst-font-size-h5);
54+
}

0 commit comments

Comments
 (0)