Skip to content

Commit 6645069

Browse files
camspiersepriestley
authored and
epriestley
committedJul 3, 2013
Provide clearer syntax highlighting for phame posts. Including background colour, overflow scrolling and border. Also support for tt tag differentiation
Summary: Clode blocks are now much clearer in blog posts with the usage of a bg color, border and scrolling for overflowing content Test Plan: Create a phame post with a code block and see the visual difference Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, chad Differential Revision: https://secure.phabricator.com/D6320
1 parent 97de022 commit 6645069

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎externals/skins/oblivious/css/oblivious.css

+13
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,19 @@ h2 {
6969
margin: 0 0 1em;
7070
}
7171

72+
.phame-post tt {
73+
color: #333333;
74+
background: #ebebeb;
75+
padding: 0 .25em;
76+
white-space: pre-wrap;
77+
}
78+
79+
.phame-post .remarkup-code-block pre {
80+
overflow: auto;
81+
padding: 10px 10px;
82+
border: 1px solid #dfdfdf;
83+
background-color: #f8f8f8;
84+
}
7285

7386
.fb-comments,
7487
.fb-comments span,

0 commit comments

Comments
 (0)
Failed to load comments.