Skip to content

Commit 9308c8e

Browse files
committed
Fix shell styling
1 parent 5231b7e commit 9308c8e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

assets/css/shell.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
.hero-right {
22
display: flex;
33
flex-direction: column;
4-
/* Black, with 10% opacity */
5-
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
6-
background: rgb(238, 238, 238);
74
padding: 15px;
5+
background: var(--pst-color-surface);
86
}
97

108
.numpy-shell-canvas {
@@ -24,7 +22,7 @@
2422

2523
.numpy-shell {
2624
flex: 2;
27-
padding: 0 15px;
25+
border: 1px solid var(--pst-color-border);
2826
}
2927

3028
.shell-title-container {
@@ -48,9 +46,14 @@
4846
}
4947

5048
.shell-lesson .highlight pre {
49+
background-color: var(--pst-gray-800);
5150
height: 100%;
5251
}
5352

53+
.shell-lesson .highlight pre code{
54+
color: #f3c7ee;
55+
}
56+
5457
.shell-lesson > p {
5558
margin: 2px 0 2px 0;
5659
}

0 commit comments

Comments
 (0)