mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 17:22:42 +01:00
8355f3592f
Summary: introduce an abstract "PhameBlogSkin" class and instantiate two versions -- PhabricatorBlogSkin (Default) and PhacilityBlogSkin. Most notable hack is including the directory /rsrc/images/phacility - this lets things "work" without messing around with the phacility.com CSS and instead just cutting and pasting most of the file. Test Plan: played around with Phame a bunch. In particular, created a blog with a custom domain and the phacility skin. Verified it looked good and individual posts looked okay. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1373 Differential Revision: https://secure.phabricator.com/D3687
114 lines
1.6 KiB
CSS
114 lines
1.6 KiB
CSS
/**
|
|
* @provides phame-css
|
|
*/
|
|
|
|
.notice {
|
|
background: #F3F3FF;
|
|
border: 1px solid #008;
|
|
margin: 16px 16px 4px 26px;
|
|
}
|
|
.notice h3 {
|
|
background: #E3E3FF;
|
|
padding: 8px;
|
|
}
|
|
|
|
.notice h4 {
|
|
font-weight: normal;
|
|
padding: 8px;
|
|
}
|
|
|
|
.phame-post-preview-header {
|
|
margin: 0px 0px 16px 0px;
|
|
}
|
|
|
|
.blog-post-list {
|
|
clear: left;
|
|
float: left;
|
|
width: 70%;
|
|
margin: 16px 0px 16px 16px;
|
|
padding: 0px 8px 12px 8px;
|
|
}
|
|
|
|
.device-tablet .blog-post-list,
|
|
.device-phone .blog-post-list {
|
|
float: none;
|
|
width: 90%;
|
|
margin: 16px auto;
|
|
}
|
|
|
|
.blog-post-list-full {
|
|
clear: left;
|
|
float: left;
|
|
margin: 16px 0px 0px 0px;
|
|
padding: 0px 16px 0px 16px;
|
|
}
|
|
|
|
.device-tablet .blog-post-list-full,
|
|
.device-phone .blog-post-list-full {
|
|
float: none;
|
|
margin: 16px auto;
|
|
}
|
|
|
|
.blog-detail {
|
|
float: right;
|
|
clear: right;
|
|
width: 20%;
|
|
margin: 16px 16px 16px 0px;
|
|
}
|
|
|
|
.device-tablet .blog-detail,
|
|
.device-phone .blog-detail {
|
|
float: none;
|
|
margin: 16px auto;
|
|
width: 90%;
|
|
}
|
|
|
|
.blog-detail .description {
|
|
margin: 16px 0px 16px 0px;
|
|
}
|
|
|
|
.blog-detail .bloggers {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.blog-post,
|
|
.blog-detail {
|
|
border: 1px solid #DBDBDB;
|
|
background: #F9F9F9;
|
|
padding: 20px;
|
|
}
|
|
|
|
.blog-post {
|
|
margin: 0px 0px 20px 0px;
|
|
}
|
|
|
|
.blog-post .header {
|
|
padding: 0px 0px 16px 0px;
|
|
}
|
|
|
|
.blog-post .header h1 {
|
|
clear: none;
|
|
}
|
|
|
|
.blog-post .header .last-updated {
|
|
color: #666;
|
|
clear: none;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.blog-post .header .buttons {
|
|
float: right;
|
|
}
|
|
.blog-post .header .buttons a {
|
|
margin: 0px 0px 0px 12px;
|
|
}
|
|
|
|
.more-and-comments {
|
|
padding: 12px 0px 12px 0px;
|
|
}
|
|
|
|
.fb-comments,
|
|
.fb-comments span,
|
|
.fb-comments iframe[style] {
|
|
width: 100% !important;
|
|
}
|