Skip to content

Commit b9cb855

Browse files
author
jordanmccullough
committed
Tweak Workbook 'pre' and 'code' styling
1 parent b80e5ff commit b9cb855

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

_stylesheets/workbook.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
content: "\f078";
7272
font: normal normal 20px octicons; }
7373

74+
table, pre {
75+
background: #e8e8ea;
76+
padding: 20px;
77+
display: block; }
78+
7479
pre {
7580
padding-top: 10px;
7681
padding-bottom: 10px;
@@ -84,9 +89,8 @@ pre {
8489

8590
pre:before {
8691
content: "\f0c8";
87-
font: normal normal 32px octicons;
92+
font: normal normal 22px octicons;
8893
float: right;
89-
font-size: 50px;
9094
opacity: .4; }
9195

9296
ul {

_stylesheets/workbook.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@
146146
}
147147
}
148148

149+
table, pre{
150+
background: $mono-light;
151+
padding: 20px;
152+
display: block;
153+
}
154+
149155
pre{
150156
padding-top: 10px;
151157
padding-bottom: 10px;
@@ -161,9 +167,8 @@ pre{
161167

162168
pre:before {
163169
content: "\f0c8";
164-
font: normal normal 32px octicons;
170+
font: normal normal 22px octicons;
165171
float: right;
166-
font-size: 50px;
167172
opacity: .4;
168173
}
169174

0 commit comments

Comments
 (0)