mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 08:50:58 +01:00
b956944667
Summary: In situations where a code block and a ToC are displayed, this clears the float so the code block is always 100% wide. Test Plan: Tested a code block with a ToC, iOS and Chrome Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6004
157 lines
2.6 KiB
CSS
157 lines
2.6 KiB
CSS
/**
|
|
* @provides phriction-document-css
|
|
*/
|
|
|
|
.phriction-header {
|
|
background: #eeeeee;
|
|
border-bottom: 1px solid #dddddd;
|
|
padding: 1em;
|
|
}
|
|
|
|
.phriction-header a.button {
|
|
float: right;
|
|
margin: 0em 0em 0em 1%;
|
|
}
|
|
|
|
.phriction-header h1 {
|
|
margin: .25em 0;
|
|
}
|
|
|
|
.device-desktop .phriction-offset {
|
|
padding-right: 160px;
|
|
}
|
|
|
|
.phriction-wrap {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.device-desktop .phriction-wrap {
|
|
position: relative;
|
|
border-left: 1px solid #e7e7e7;
|
|
border-right: 1px solid #e7e7e7;
|
|
border-bottom: 1px solid #c0c5d1;
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.phriction-content {
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
|
min-height: 240px;
|
|
background: #fff;
|
|
}
|
|
|
|
.device-desktop .phriction-wrap {
|
|
}
|
|
|
|
.device-desktop .phriction-content .phabricator-action-list-view {
|
|
margin: 10px 10px 0 0;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.device-phone .phriction-content .phabricator-action-list-view {
|
|
margin: 0;
|
|
border-bottom: 1px solid #c0c5d1;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.phriction-content .phabricator-header-shell {
|
|
border-top: none;
|
|
}
|
|
|
|
.phriction-content .phabricator-remarkup {
|
|
padding: 20px;
|
|
}
|
|
|
|
.device-phone .phriction-content .phabricator-remarkup {
|
|
padding: 10px;
|
|
}
|
|
|
|
.phriction-content .phriction-link {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.phriction-breadcrumbs {
|
|
font-size: 12px;
|
|
color: #666666;
|
|
}
|
|
|
|
.phriction-document-crumbs a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.phriction-children {
|
|
max-width: 800px;
|
|
background: #fff;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.phriction-children ul {
|
|
margin-left: 30px;
|
|
padding-bottom: 10px;
|
|
list-style: circle;
|
|
color: #999999;
|
|
}
|
|
|
|
.phriction-children-header {
|
|
background: #f7f7f7;
|
|
padding: 10px 0 10px 20px;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.device-desktop .phriction-content .phabricator-action-list-view {
|
|
position: absolute;
|
|
top: 50px;
|
|
right: -172px;
|
|
float: none;
|
|
background: #fff;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
border: none;
|
|
border-top: 1px solid #e7e7e7;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
border-right: 1px solid #e7e7e7;
|
|
width: 160px;
|
|
}
|
|
|
|
.phriction-document-preview-header {
|
|
color: #666666;
|
|
margin-bottom: 1em;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.phriction-document-history-diff {
|
|
padding: 0 2em 2em;
|
|
}
|
|
|
|
.phriction-revert-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.phriction-revert-table td {
|
|
text-align: center;
|
|
width: 50%;
|
|
padding: .5em 0;
|
|
}
|
|
|
|
.phriction-history-nav-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.phriction-history-nav-table td {
|
|
width: 50%;
|
|
color: #444444;
|
|
}
|
|
|
|
.phriction-history-nav-table td.nav-next {
|
|
text-align: right;
|
|
}
|
|
|
|
.device-phone .phriction-content .phabricator-remarkup-toc {
|
|
width: 120px;
|
|
}
|
|
|
|
.phriction-content .phabricator-remarkup .remarkup-code-block {
|
|
clear: both;
|
|
margin: 20px 0;
|
|
}
|