mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
7aeefc0cca
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work. Test Plan: Visit lots and lots of pages with dark mode on and off. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18227
33 lines
563 B
CSS
33 lines
563 B
CSS
/**
|
|
* @provides paste-css
|
|
*/
|
|
|
|
.paste-embed {
|
|
background: {$paste.content};
|
|
border: 1px solid {$paste.border};
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.paste-embed .phabricator-source-code-container {
|
|
border: none;
|
|
}
|
|
|
|
.paste-embed-head {
|
|
border-bottom: 1px solid {$paste.border};
|
|
background: {$paste.highlight};
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.paste-embed-head a {
|
|
color: {$darkbluetext};
|
|
font-weight: bold;
|
|
}
|
|
|
|
.paste-embed-body {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.paste-embed-body .phabricator-source-code-container {
|
|
border-top-right-radius: 0;
|
|
border-top-left-radius: 0;
|
|
}
|