Commit 04d321a3 by Félicie

beautiful questions

parent d9c1b279
......@@ -305,7 +305,7 @@ $lines[] = '<channel>';
$lines[] = '<title>' . qa_xml($sitetitle . ' - ' . $title) . '</title>';
$lines[] = '<link>' . qa_xml(qa_path($linkrequest, $linkparams, $siteurl)) . '</link>';
$lines[] = '<description>Powered by Question2Answer</description>';
$lines[] = '<description>owered by Question2Answer</description>';
foreach ($questions as $question) {
// Determine whether this is a question, answer or comment, and act accordingly
......
......@@ -943,7 +943,7 @@ class qa_html_theme_base
$this->output(
'<div class="qa-attribution">',
'Powered by <a href="http://www.question2answer.org/">Question2Answer</a>',
'Très fortement inspiré de <a href="http://www.question2answer.org/">Question2Answer</a>',
'</div>'
);
}
......
......@@ -124,7 +124,7 @@
'follows_a' => ' liée à une réponse',
'follows_q' => 'sur la question',
'hide_a_popup' => 'Cacher cette réponse',
'hide_button' => 'cacher',
'hide_button' => 'archiver',
'hide_c_popup' => 'Cacher ce commentaire',
'hide_q_popup' => 'Cacher cette question',
'matching_tags' => 'Mots-clés trouvés ',
......@@ -145,7 +145,7 @@
'q_waiting_approval' => 'Cette question est en attente d\'approbation',
'q_waiting_your_approval' => 'Cette question est en attente de votre approbation',
'q_your_waiting_approval' => 'Votre question sera vérifiée et approuvée prochainement.',
'recat_button' => 'reclasser',
'recat_button' => 'recatégoriser',
'recat_popup' => ' Changer cette question de catégorie',
'recat_q_title' => 'Recatégoriser la question',
'reject_a_popup' => 'Rejeter cette réponse',
......@@ -158,7 +158,7 @@
'reply_button' => 'répondre',
'reply_c_popup' => 'Répondre à ce commentaire',
'reshow_a_popup' => 'Revoir cette réponse',
'reshow_button' => 'revoir',
'reshow_button' => 'désarchiver',
'reshow_c_popup' => 'Revoir ce commentaire',
'reshow_q_popup' => 'Revoir cette question',
'retag_button' => 'rechoisir mot clé',
......
......@@ -72,7 +72,30 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-sidebar {padding:12px; font-size:14px; background:#f5e4c3; border:1px solid #f3c772; margin:24px 0;}
.qa-feed {background:url(feed-icon-14x14.png) no-repeat left top; padding-left:20px; height:16px; margin:24px 0;}
.qa-feed-link {font-size:10px; color:#666;}
.qa-main {padding-left:20px; float:left; margin-bottom:2em; clear:left; overflow:hidden;}
.qa-main {
box-shadow: 2px 2px 3px rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 10%);
border-radius: 30px;
padding: 0.5em;
float:left;
margin: 1em;
clear:left;
overflow:hidden;
width: 74vw;
}
@media screen and (max-width: 1000px) {
.qa-main {
width: 92vw;
}
}
.qa-main-heading {
margin-left: 1em;
}
.qa-main-heading h1 {
font-size:2rem;
}
.qa-main-heading a {
color: #00A473
}
.qa-main-hidden h1 {color:#999;}
.qa-footer {clear:both; background:#00A473; color:#FFF; font-size:10px; padding:12px;}
* html .qa-footer {padding-top:6px;} /* IE6 */
......@@ -156,7 +179,21 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Standard form (tall version) */
.qa-form-tall-table {border:1px solid #658296; background-color:#d9e3ea; width:500px;}
.qa-form-tall-table {
width: 70vw;
box-shadow: 2px 2px 3px rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 10%);
border-radius: 30px;
margin: 1rem;
float:left;
padding: 30px 15px 0 15px;
}
@media screen and (max-width: 1000px) {
.qa-form-tall-table {
width: 85vw;
}
}
.qa-form-tall-spacer {background:#E3F4FF; line-height:1px; padding:0; font-size:1px;}
.qa-form-tall-ok {background:#efe; border:1px solid #090; color:#090; font-size:18px; padding:6px; text-align:center;}
.qa-form-tall-label {color:#253845; padding:12px 8px 2px 8px; font-size:13px; font-weight:bold;}
......@@ -172,7 +209,25 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-form-tall-note {margin-top:6px;}
.qa-form-tall-note a {color:#00A473; text-decoration:underline;}
.qa-form-tall-note a:hover {color:#396E63;}
.qa-form-tall-buttons {padding:8px; text-align:center;}
.qa-form-tall-buttons {
padding:8px;
text-align:center;
}
.qa-form-tall-buttons input {
color:#fff;
background-color:#00a473;
border-radius: 10px;
font-size: 1.4rem;
padding: 0.3rem;
border: none;
}
.qa-form-tall-buttons input:hover {
text-decoration:none;
color:#333;
background-color:#E6e9ed;
}
/* Standard form (wide version) */
......@@ -192,9 +247,28 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Standard form (light version - buttons only) */
.qa-form-light-button {background:none; border:1px solid #fff; cursor:pointer; padding:0; margin-right:6px; font-size:10px; overflow: visible;} /* overflow:visible for IE, 1px border needed for tooltips to work more reliably in IE */
.qa-form-light-button {color:#666;}
.qa-form-light-button:hover {color:#000;}
.qa-form-light-button {
color:#333;
background:#fff;
border:#fff;
cursor:pointer; padding:0;
margin-right:6px;
padding: 0.3rem;
font-size:1rem;
border-radius: 10px;
overflow: visible;
} /* overflow:visible for IE, 1px border needed for tooltips to work more reliably in IE */
.qa-form-light-button {
background:#E6e9ed;
text-decoration:none;
}
.qa-form-light-button:hover {
color:#fff;
background:#00a473;
text-decoration:none;
}
/* Standard form (basic version - buttons only) */
......@@ -222,7 +296,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
@media screen and (max-width: 1000px) {
.qa-q-item-main {
width: 88vw;
width: 85vw;
}
}
......@@ -326,8 +400,8 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-q-view-content, .qa-a-item-content, .qa-c-item-content {word-break: break-word;}
.qa-q-view-stats {float:left;}
.qa-q-view-main {float:left; width:600px;}
.qa-q-view-content {font-size:14px; margin-bottom:16px;}
.qa-q-view-content {font-size:1rem; margin-bottom:16px;}
.qa-q-view-avatar {display:inline-block; vertical-align:middle; margin-right:8px;}
.qa-q-view-meta {display:inline-block; vertical-align:middle; font-size:13px;}
.qa-q-view-follows {font-size:13px; margin-bottom:12px; font-style:italic;}
......@@ -356,7 +430,11 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Answer view */
.qa-a-list-item {margin-bottom:40px; zoom:1; padding-bottom:1px;} /* zoom for IE, padding for early FF */
.qa-a-list-item {
margin: 1rem 0 0 5rem ;
zoom:1;
padding-bottom:1px;
} /* zoom for IE, padding for early FF */
.qa-a-list-item:target{-webkit-animation: highlight 2s ease-in-out; animation: highlight 2s ease-in-out;}
.qa-a-list-item-hidden {}
.qa-a-list-item-hidden .qa-voting {background:#FFF; border:1px solid #ccc; color:#ccc;}
......@@ -378,6 +456,10 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-a-item-buttons {text-align:right; margin-top:12px; clear:both;}
.qa-a-item-c-list {clear:both; margin:12px 0 0 12px; border-top:1px dotted #666;}
#a_list_title {
padding-left: 5rem;
}
/* Answer selection */
.qa-a-selection {float:right; width:48px; text-align:center; padding:6px 0;}
......@@ -481,7 +563,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-tag-link {
color:#fff !important;
font-weight:bold;
padding:3px 5px;
padding:0.3rem;
margin-bottom:1rem;
background-color:#00a473;
display:-moz-inline-stack;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment