mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
7b9b872b29
Summary: This is mostly minor, but visually it makes the wiki feel more 'page like' and better separates the actual content from other data displayed. Test Plan: Tested Chrome, iPhone, and iPad. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin, AnhNhan Maniphest Tasks: T2686 Differential Revision: https://secure.phabricator.com/D5366
163 lines
2.7 KiB
CSS
163 lines
2.7 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;
|
|
}
|
|
|
|
.phriction-byline {
|
|
padding: 10px 20px;
|
|
color: #777;
|
|
font-size: 11px;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.device-phone .phriction-byline {
|
|
padding: 10px;
|
|
}
|
|
|
|
.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;
|
|
}
|