mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
64472dd7b8
Summary: Ponder is similar in spirit to the Wiki tool, but uses a Q&A format and up/downvotes to signal user sentiment. Popular questions are moved to the top of the feed on a 5-minute cycle based on age (younger is better) and vote count (higher is better). Pre-apologies for noob diff. Test Plan: - `./bin/phd list` Should include `PonderHeatDaemon`; phd launch it if necessary. - Navigate to /ponder/ ; observe sanity when adding questions, voting on them, and adding answers. - Confirm that questions and answers are linkable using Q5 / Q5#A5 formatted object links. - Confirm that searching for Ponder Questions works using built-in search. Feedback on code / schema / whatever organization very welcome. Reviewers: nh, vrana, epriestley Reviewed By: epriestley CC: gmarcotte, aran, Korvin, starruler Differential Revision: https://secure.phabricator.com/D3136
74 lines
1.1 KiB
CSS
74 lines
1.1 KiB
CSS
/**
|
|
* @provides ponder-feed-view-css
|
|
*/
|
|
|
|
.ponder-question-summary {
|
|
width : 100%;
|
|
background : #DFDFE3;
|
|
float : left;
|
|
clear : both;
|
|
margin-top : 1px;
|
|
padding : 1px;
|
|
}
|
|
|
|
.ponder-answer-summary {
|
|
width : 100%;
|
|
background : #DFDFE3;
|
|
float : left;
|
|
clear : both;
|
|
margin-top : 1px;
|
|
padding : 1px;
|
|
}
|
|
|
|
.ponder-summary-votes {
|
|
width : 50px;
|
|
height : 36pt;
|
|
font-size : 18pt;
|
|
text-align : center;
|
|
background : #EEE;
|
|
border : 1px solid #BBB;
|
|
float : left;
|
|
margin : 2px;
|
|
padding-top : 2px;
|
|
}
|
|
|
|
.ponder-summary-answers {
|
|
width : 50px;
|
|
height : 36pt;
|
|
font-size : 18pt;
|
|
text-align : center;
|
|
background : #EEE;
|
|
border : 1px solid #BBB;
|
|
float : left;
|
|
margin : 2px;
|
|
padding-top : 2px;
|
|
}
|
|
|
|
.ponder-question-label {
|
|
font-size : 6pt;
|
|
}
|
|
|
|
h2.ponder-question-title {
|
|
font-size : 12pt;
|
|
margin : 2px;
|
|
padding : 0;
|
|
}
|
|
|
|
h2.ponder-answer-title {
|
|
font-size : 12pt;
|
|
margin : 2px;
|
|
padding : 0;
|
|
}
|
|
|
|
.ponder-metadata {
|
|
padding-left : 5px;
|
|
width : 650px;
|
|
float : left;
|
|
}
|
|
|
|
.ponder-small-metadata {
|
|
font-size : 7.5pt;
|
|
color : #555;
|
|
margin : 0;
|
|
text-align : right;
|
|
}
|