mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
9d1ba9c038
Summary: Currently it's difficult to notice posts may be much longer than the summary (in most cases, actually), Adds a consistent "Read More" link to the full post. Also made sure "violet" was more consistantly used. Test Plan: Review summaries in Phame {F1031799} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14827
136 lines
2.4 KiB
CSS
136 lines
2.4 KiB
CSS
/**
|
|
* @provides phame-css
|
|
*/
|
|
|
|
.phame-blog-description {
|
|
max-width: 800px;
|
|
margin: 32px auto;
|
|
position: relative;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.phame-blog-description-name {
|
|
font-weight: bold;
|
|
font-size: {$biggerfontsize};
|
|
margin: 0 0 4px 50px;
|
|
}
|
|
|
|
.phame-blog-description-content {
|
|
margin-left: 50px;
|
|
}
|
|
|
|
.phame-blog-description-image {
|
|
display: inline-block;
|
|
background-repeat: no-repeat;
|
|
background-size: 100%;
|
|
box-shadow: inset 0 0 0 1px rgba(55,55,55,.15);
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 3px;
|
|
position: absolute;
|
|
}
|
|
|
|
.phame-blog-description + .phui-property-list-section {
|
|
border-top: 1px solid rgba(71, 87, 120, 0.20);
|
|
padding-top: 16px;
|
|
}
|
|
|
|
.phame-home-view .phui-document-view.phui-document-view-pro {
|
|
margin: 0;
|
|
}
|
|
|
|
.phame-home-view .phui-side-column {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.device .phame-home-view .phui-side-column {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.phame-blog-list {
|
|
margin: 24px 16px 16px 16px;
|
|
padding: 16px;
|
|
background-color: {$bluebackground};
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.device .phame-blog-list {
|
|
padding: 16px 8px;
|
|
background-color: #F1F1F4;
|
|
margin: 0;
|
|
border-radius: 0;
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
}
|
|
|
|
.phame-blog-list-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.phame-blog-list-header {
|
|
font-size: {$biggerfontsize};
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.phame-blog-list-header a {
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.phame-blog-list-item {
|
|
display: block;
|
|
color: {$darkgreytext};
|
|
height: 24px;
|
|
position: relative;
|
|
margin-bottom: 8px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.phame-blog-list-title:hover {
|
|
color: {$violet};
|
|
text-decoration: none;
|
|
}
|
|
|
|
.phame-blog-list-image {
|
|
display: inline-block;
|
|
background-repeat: no-repeat;
|
|
background-size: 100%;
|
|
box-shadow: inset 0 0 0 1px rgba(55,55,55,.15);
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 3px;
|
|
position: absolute;
|
|
}
|
|
|
|
.phame-blog-list-title {
|
|
margin-left: 30px;
|
|
margin-top: 4px;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
color: {$bluetext};
|
|
width: 190px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.phame-blog-list-new-post {
|
|
display: block;
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 0;
|
|
}
|
|
|
|
.phame-blog-list-new-post:hover {
|
|
color: {$violet};
|
|
text-decoration: none;
|
|
}
|
|
|
|
.phame-blog-list-new-post:hover .phame-blog-list-icon {
|
|
color: {$violet};
|
|
}
|
|
|
|
.phame-blog-list-icon {
|
|
display: block;
|
|
height: 14px;
|
|
width: 14px;
|
|
color: {$lightbluetext};
|
|
}
|