1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Clean up Remarkup Code Block Headers

Summary: Removes the special background and fonts. Uses just a simple bold header.

Test Plan:
Checked out installation guide and remarkup guide in Diviner. Looks cleaner.

{F314679}

{F314680}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6904

Differential Revision: https://secure.phabricator.com/D11869
This commit is contained in:
Chad Little 2015-02-27 15:38:07 -08:00
parent 2bc6986720
commit ad48b7b934
2 changed files with 5 additions and 18 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => '44623ac2',
'core.pkg.css' => '3fa78a8d',
'core.pkg.js' => '23d653bb',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '14f0fa92',
@ -106,7 +106,7 @@ return array(
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => 'c8c5ecd2',
'rsrc/css/core/remarkup.css' => 'e8e5a324',
'rsrc/css/core/remarkup.css' => '07f22227',
'rsrc/css/core/syntax.css' => '56c1ba38',
'rsrc/css/core/z-index.css' => '8239495e',
'rsrc/css/diviner/diviner-shared.css' => '38813222',
@ -740,7 +740,7 @@ return array(
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '72da38cc',
'phabricator-profile-css' => 'd8cb982b',
'phabricator-remarkup-css' => 'e8e5a324',
'phabricator-remarkup-css' => '07f22227',
'phabricator-search-results-css' => 'f240504c',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-side-menu-view-css' => '7e8c6341',

View file

@ -10,23 +10,10 @@
margin: 0 0 12px;
}
.phabricator-remarkup .remarkup-code-block {
margin: 12px 0;
white-space: pre;
font-family: "Monaco", monospace;
font-size: 10px;
}
.phabricator-remarkup .remarkup-code-header {
padding: 6px 8px;
background: {$lightyellow};
color: rgba(0,0,0,.75);
padding: 4px 1px;
font-size: 13px;
font-weight: bold;
display: inline-block;
border-top: 1px solid {$yellow};
border-left: 1px solid {$yellow};
border-right: 1px solid {$yellow};
margin-bottom: -1px;
}
.phabricator-remarkup .remarkup-code-block pre {