Skip to content

Commit fbc601b

Browse files
committed
WIP: styling the shell lesson area on the front page.
1 parent 6a89113 commit fbc601b

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

static/css/shell.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,22 @@
8484

8585
.shell-lesson {
8686
display: none;
87-
align-items: center;
88-
justify-content: center;
89-
height: 30%;
90-
width: 100%;
87+
text-align: left;
88+
padding: 15px;
89+
height: 100%;
90+
width: 60%;
91+
}
92+
93+
.shell-lesson > p {
94+
margin: 2px 0 2px 0;
95+
}
96+
97+
.shell-lesson > pre {
98+
margin: 5px 0 0 0;
99+
}
100+
101+
.shell-lesson > highlight.div {
102+
margin-bottom: 5px;
91103
}
92104

93105
.demo-caret {

0 commit comments

Comments
 (0)