Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
778 views
in Q2A Core by

Okay, this isn't a question, please remove it if it is unwelcome, but more of a wiki post.  Here are the default values for new css classes for themes in 1.5; just copy these to the bottom of your qa-styles.php file and tweak them as you like.

.qa-activity-count {font-size:150%;}
.qa-activity-count-item {margin:0.25em 0;}
.qa-activity-count-data {font-weight:bold;}
.qa-c-item-expand {display:block; color:#666; font-style:italic; margin:4px 0;}

.qa-favoriting {float:right; margin-right:48px; margin-top:4px;}
.qa-favorite-image {background:url(favorite-plus.png) no-repeat; background-position: 0 -26px; border:0; margin:2px; height:26px; width:26px; vertical-align:middle; display:inline-block;}
.qa-favorite-button,.qa-favorite-hover,.qa-unfavorite-button,.qa-unfavorite-hover {background:url(favorite-plus.png) no-repeat; border:0; height:26px; width:26px;}
.qa-favorite-button {background-position: 0 -26px;}
.qa-favorite-hover,.qa-favorite-button:hover {background-position: 0 0px;}
.qa-unfavorite-button {background-position: 0 -52px;}
.qa-unfavorite-hover,.qa-unfavorite-button:hover {background-position: 0 0px;}

.qa-notice {background:#fdd; border-bottom:2px solid #293d39; color:#b00; font-size:18px; padding:.5em 32px; font-weight:bold; position:relative;}
.qa-notice-close-button, .qa-notice-close-hover {font-family:"Arial Black"; color:#c00; font-size:20px; background:none; cursor:pointer; position:absolute; height:24px; border:none; top:4px; right:6px}

.qa-form-tall-suffix {font-weight:normal; font-size:10px;}

.qa-q-item-buttons {text-align:right; clear:both;}
.qa-q-item-content {font-size:10px; margin-top:6px; max-height:64px; overflow-y:auto; padding:4px; border:1px solid #ccc;}

.qa-q-item-flags {background:#f00; color:#fff; font-weight:bold; padding:2px 5px; display:inline-block;}

.qa-q-view-closed {font-size:13px; margin-bottom:18px; font-style:italic;}
.qa-q-view-closed-content {font-weight:bold;}
.qa-q-view-extra {font-size:13px; margin-bottom:18px; font-style:italic;}
.qa-q-view-extra-content {font-weight:bold;}
.qa-related-q-list {list-style-type:none; padding:0;}
.qa-related-q-item {margin:0.5em 0;}
 

Q2A version: 1.5b1
by
There is no such classes in default theme of 1.5 ?
by
yes, there are; but if you are planning to use your 1.4 custom theme in 1.5, you need to add these classes to it.
by
Could this be added to the Wiki perhaps? http://wiki.question2answer.org/doku.php
by
I thought of that, but figured no one would read it there :) guess you're right.
by
Ha, true. The wiki is kind of lame, really. Now you've mentioned it here it could be put in the wiki for future reference I guess?
by
good idea, I'll do that.  Edit: first of all someone has to set up the wiki :) there's nothing there but the plugin page.

Please log in or register to answer this question.

...