diff options
-rwxr-xr-x | .gitignore | 1 | ||||
-rw-r--r-- | askbot/conf/skin_general_settings.py | 38 | ||||
-rw-r--r-- | askbot/cron/askbot_cron_job | 2 | ||||
-rw-r--r-- | askbot/feed.py | 59 | ||||
-rw-r--r-- | askbot/middleware/locale.py | 26 | ||||
-rw-r--r-- | askbot/setup_templates/settings.py | 1 | ||||
-rw-r--r-- | askbot/setup_templates/settings.py.mustache | 1 | ||||
-rw-r--r-- | askbot/skins/default/media/style/lib_style.css | 22 | ||||
-rw-r--r-- | askbot/skins/default/media/style/lib_style.less | 37 | ||||
-rw-r--r-- | askbot/skins/default/media/style/style.css | 3166 | ||||
-rw-r--r-- | askbot/skins/default/media/style/style.less | 150 | ||||
-rw-r--r-- | askbot/skins/default/templates/main_page/tab_bar.html | 4 | ||||
-rw-r--r-- | askbot/skins/default/templates/question/question_card.html | 2 | ||||
-rw-r--r-- | askbot/skins/utils.py | 14 | ||||
-rw-r--r-- | askbot/startup_procedures.py | 35 |
15 files changed, 252 insertions, 3306 deletions
@@ -47,3 +47,4 @@ run recaptcha /.ve /db.sq3 +*.DS_Store diff --git a/askbot/conf/skin_general_settings.py b/askbot/conf/skin_general_settings.py index ccecdaba..6abee90a 100644 --- a/askbot/conf/skin_general_settings.py +++ b/askbot/conf/skin_general_settings.py @@ -30,6 +30,40 @@ settings.register( ) ) +LANGUAGE_CHOICES = ( + ('en', _("English")), + ('es', _("Spanish")), + ('ca', _("Catalan")), + ('de', _("German")), + ('el', _("Greek")), + ('fi', _("Finnish")), + ('fr', _("French")), + ('hi', _("Hindi")), + ('hu', _("Hungarian")), + ('it', _("Italian")), + ('ja', _("Japanese")), + ('ko', _("Korean")), + ('pt', _("Portuguese")), + ('pt_BR', _("Brazilian Portuguese")), + ('ro', _("Romanian")), + ('ru', _("Russian")), + ('sr', _("Serbian")), + ('tr', _("Turkish")), + ('vi', _("Vietnamese")), + ('zh_CN', _("Chinese")), + ('zh_TW', _("Chinese (Taiwan)")), + ) + +settings.register( + values.StringValue( + GENERAL_SKIN_SETTINGS, + 'ASKBOT_LANGUAGE', + default = 'en', + choices = LANGUAGE_CHOICES, + description = _('Select Language'), + ) +) + settings.register( values.BooleanValue( GENERAL_SKIN_SETTINGS, @@ -198,7 +232,7 @@ settings.register( description = _('Apply custom style sheet (CSS)'), help_text = _( 'Check if you want to change appearance ' - 'of your form by adding custom style sheet rules ' + 'of your form by adding custom style sheet rules ' '(please see the next item)' ), default = False @@ -214,7 +248,7 @@ settings.register( '<strong>To use this function</strong>, check ' '"Apply custom style sheet" option above. ' 'The CSS rules added in this window will be applied ' - 'after the default style sheet rules. ' + 'after the default style sheet rules. ' 'The custom style sheet will be served dynamically at ' 'url "<forum url>/custom.css", where ' 'the "<forum url> part depends (default is ' diff --git a/askbot/cron/askbot_cron_job b/askbot/cron/askbot_cron_job index 38bf0337..2886808b 100644 --- a/askbot/cron/askbot_cron_job +++ b/askbot/cron/askbot_cron_job @@ -9,7 +9,7 @@ PROJECT_PARENT_DIR=/path/to/dir_containing_askbot_site PROJECT_DIR_NAME=askbot_site export PYTHONPATH=$PROJECT_PARENT_DIR:$PYTHONPATH -PROJECT_ROOT=$PYTHONPATH/$PROJECT_NAME +PROJECT_ROOT=$PROJECT_PARENT_DIR/$PROJECT_DIR_NAME #these are actual commands that are to be run python $PROJECT_ROOT/manage.py send_email_alerts diff --git a/askbot/feed.py b/askbot/feed.py index c1933afe..776aad5e 100644 --- a/askbot/feed.py +++ b/askbot/feed.py @@ -25,20 +25,29 @@ from askbot.conf import settings as askbot_settings class RssIndividualQuestionFeed(Feed): """rss feed class for particular questions """ - title = askbot_settings.APP_TITLE + _(' - ')+ _('Individual question feed') - link = askbot_settings.APP_URL - description = askbot_settings.APP_DESCRIPTION - copyright = askbot_settings.APP_COPYRIGHT + + def title(self): + return askbot_settings.APP_TITLE + _(' - ') + \ + _('Individual question feed') + + def feed_copyright(self): + return askbot_settings.APP_COPYRIGHT + + def description(self): + return askbot_settings.APP_DESCRIPTION def get_object(self, bits): if len(bits) != 1: raise ObjectDoesNotExist return Post.objects.get_questions().get(id__exact = bits[0]) - + def item_link(self, item): """get full url to the item """ - return self.link + item.get_absolute_url() + return askbot_settings.APP_URL + item.get_absolute_url() + + def link(self): + return askbot_settings.APP_URL def item_pubdate(self, item): """get date of creation for the item @@ -56,7 +65,7 @@ class RssIndividualQuestionFeed(Feed): chain_elements.append( Post.objects.get_comments().filter(parent=item) ) - + answers = Post.objects.get_answers().filter(thread = item.thread) for answer in answers: chain_elements.append([answer,]) @@ -65,7 +74,7 @@ class RssIndividualQuestionFeed(Feed): ) return itertools.chain(*chain_elements) - + def item_title(self, item): """returns the title for the item """ @@ -77,7 +86,7 @@ class RssIndividualQuestionFeed(Feed): elif item.post_type == "comment": title = "Comment by %s for %s" % (item.author, self.title) return title - + def item_description(self, item): """returns the description for the item """ @@ -87,16 +96,24 @@ class RssIndividualQuestionFeed(Feed): class RssLastestQuestionsFeed(Feed): """rss feed class for the latest questions """ - title = askbot_settings.APP_TITLE + _(' - ')+ _('latest questions') - link = askbot_settings.APP_URL - description = askbot_settings.APP_DESCRIPTION - #ttl = 10 - copyright = askbot_settings.APP_COPYRIGHT + + def title(self): + return askbot_settings.APP_TITLE + _(' - ') + \ + _('Individual question feed') + + def feed_copyright(self): + return askbot_settings.APP_COPYRIGHT + + def description(self): + return askbot_settings.APP_DESCRIPTION def item_link(self, item): """get full url to the item """ - return self.link + item.get_absolute_url() + return askbot_settings.APP_URL + item.get_absolute_url() + + def link(self): + return askbot_settings.APP_URL def item_author_name(self, item): """get name of author @@ -117,10 +134,10 @@ class RssLastestQuestionsFeed(Feed): """returns url without the slug because the slug can change """ - return self.link + item.get_absolute_url(no_slug = True) - + return askbot_settings.APP_URL + item.get_absolute_url(no_slug = True) + def item_description(self, item): - """returns the desciption for the item + """returns the description for the item """ return item.text @@ -142,12 +159,12 @@ class RssLastestQuestionsFeed(Feed): if tags: #if there are tags in GET, filter the #questions additionally - for tag in tags: + for tag in tags: qs = qs.filter(thread__tags__name = tag) - + return qs.order_by('-thread__last_activity_at')[:30] - + def main(): """main function for use as a script diff --git a/askbot/middleware/locale.py b/askbot/middleware/locale.py new file mode 100644 index 00000000..c92e977a --- /dev/null +++ b/askbot/middleware/locale.py @@ -0,0 +1,26 @@ +"Taken from django.middleware.locale: this is the locale selecting middleware that will look at accept headers" + +from django.utils.cache import patch_vary_headers +from django.utils import translation +from askbot.conf import settings + +class LocaleMiddleware(object): + """ + This is a very simple middleware that parses a request + and decides what translation object to install in the current + thread context. This allows pages to be dynamically + translated to the language the user desires (if the language + is available, of course). + """ + + def process_request(self, request): + language = settings.ASKBOT_LANGUAGE + translation.activate(language) + request.LANGUAGE_CODE = translation.get_language() + + def process_response(self, request, response): + patch_vary_headers(response, ('Accept-Language',)) + if 'Content-Language' not in response: + response['Content-Language'] = translation.get_language() + translation.deactivate() + return response diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py index f9920bca..3ec209df 100644 --- a/askbot/setup_templates/settings.py +++ b/askbot/setup_templates/settings.py @@ -98,6 +98,7 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( #'django.middleware.gzip.GZipMiddleware', + 'askbot.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', #'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache index e39231f0..43f2f47b 100644 --- a/askbot/setup_templates/settings.py.mustache +++ b/askbot/setup_templates/settings.py.mustache @@ -97,6 +97,7 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( #'django.middleware.gzip.GZipMiddleware', + 'askbot.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', #'django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', diff --git a/askbot/skins/default/media/style/lib_style.css b/askbot/skins/default/media/style/lib_style.css new file mode 100644 index 00000000..a92af477 --- /dev/null +++ b/askbot/skins/default/media/style/lib_style.css @@ -0,0 +1,22 @@ +/* General Predifined classes, read more in lesscss.org */ +/* Variables for Colors*/ +/* Variables for fonts*/ +/* "Trebuchet MS", sans-serif;*/ +/* Buttons */ +.button-style-hover { + background-color: #cde5e9; + background-repeat: no-repeat; + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cde5e9), color-stop(25%, #cde5e9), to(#94b3ba)); + background-image: -webkit-linear-gradient(#cde5e9, #cde5e9 25%, #94b3ba); + background-image: -moz-linear-gradient(top, #cde5e9, #cde5e9 25%, #94b3ba); + background-image: -ms-linear-gradient(#cde5e9, #cde5e9 25%, #94b3ba); + background-image: -o-linear-gradient(#cde5e9, #cde5e9 25%, #94b3ba); + background-image: linear-gradient(#cde5e9, #cde5e9 25%, #94b3ba); + text-decoration: none; + text-shadow: 0px 1px 0px #c6d9dd; + -moz-text-shadow: 0px 1px 0px #c6d9dd; + -webkit-text-shadow: 0px 1px 0px #c6d9dd; +} +/* General styles for gradients */ +/* Receive exactly positions for background Sprite */ +/* CSS3 Elements */ diff --git a/askbot/skins/default/media/style/lib_style.less b/askbot/skins/default/media/style/lib_style.less index 941c83ff..bedd8c60 100644 --- a/askbot/skins/default/media/style/lib_style.less +++ b/askbot/skins/default/media/style/lib_style.less @@ -17,6 +17,43 @@ @main-font:'Yanone Kaffeesatz', sans-serif; @secondary-font:Arial; +/* Buttons */ + +.button-style(@w:100px ,@h:20px, @f:14px){ + width:@w; + height:@h; + font-size:@f; + text-align:center; + text-decoration:none; + cursor:pointer; + color:@button-label; + font-family:@main-font; + .text-shadow(0px,1px,0px,#c6d9dd); + border-top:#eaf2f3 1px solid; + .linear-gradient(#d1e2e5,#a9c2c7); + .rounded-corners(4px); + .box-shadow(1px, 1px, 2px, #636363) +} + +.button-style-hover{ + .linear-gradient(#cde5e9,#94b3ba); + text-decoration:none; + .text-shadow(0px, 1px, 0px, #c6d9dd); +} + +/* General styles for gradients */ + +.linear-gradient(@start:#eee,@end:#fff,@stop:25%){ + background-color: @start; + background-repeat: no-repeat; + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@start), color-stop(@stop, @start), to(@end)); + background-image: -webkit-linear-gradient(@start, @start @stop, @end); + background-image: -moz-linear-gradient(top, @start, @start @stop, @end); + background-image: -ms-linear-gradient(@start, @start @stop, @end); + background-image: -o-linear-gradient(@start, @start @stop, @end); + background-image: linear-gradient(@start, @start @stop, @end); +} + /* Receive exactly positions for background Sprite */ .sprites(@hor,@vert,@back:url(../images/sprites.png)){ diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 737dcdd2..068c1162 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -1,3165 +1 @@ -@import url(jquery.autocomplete.css); -/* General Predifined classes, read more in lesscss.org */ -/* Variables for Colors*/ -/* Variables for fonts*/ -/* "Trebuchet MS", sans-serif;*/ -/* Receive exactly positions for background Sprite */ -/* CSS3 Elements */ -/* Library of predifined less functions styles */ -/* ----- General HTML Styles----- */ -body { - background: #FFF; - font-size: 14px; - line-height: 150%; - margin: 0; - padding: 0; - color: #000; - font-family: Arial; -} -div { - margin: 0 auto; - padding: 0; -} -h1, -h2, -h3, -h4, -h5, -h6, -ul, -li, -dl, -dt, -dd, -form, -img, -p { - margin: 0; - padding: 0; - border: none; -} -label { - vertical-align: middle; -} -hr { - border: none; - border-top: 1px dashed #ccccce; -} -input, select { - vertical-align: middle; - font-family: Trebuchet MS, "segoe ui", Helvetica, Tahoma, Verdana, MingLiu, PMingLiu, Arial, sans-serif; - margin-left: 0px; -} -textarea:focus, input:focus { - outline: none; -} -iframe { - border: none; -} -p { - font-size: 14px; - line-height: 140%; - margin-bottom: 6px; -} -a { - color: #1b79bd; - text-decoration: none; - cursor: pointer; -} -h2 { - font-size: 21px; - padding: 3px 0 3px 5px; -} -h3 { - font-size: 19px; - padding: 3px 0 3px 5px; -} -ul { - list-style: disc; - margin-left: 20px; - padding-left: 0px; - margin-bottom: 1em; -} -ol { - list-style: decimal; - margin-left: 30px; - margin-bottom: 1em; - padding-left: 0px; -} -td ul { - vertical-align: middle; -} -li input { - margin: 3px 3px 4px 3px; -} -pre { - font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace; - font-size: 100%; - margin-bottom: 10px; - /*overflow: auto;*/ - - background-color: #F5F5F5; - padding-left: 5px; - padding-top: 5px; - /*width: 671px;*/ - - padding-bottom: 20px ! ie7; -} -code { - font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace; - font-size: 100%; -} -blockquote { - margin-bottom: 10px; - margin-right: 15px; - padding: 10px 0px 1px 10px; - background-color: #F5F5F5; -} -/* http://pathfindersoftware.com/2007/09/developers-note-2/ */ -* html .clearfix, * html .paginator { - height: 1; - overflow: visible; -} -+ html .clearfix, + html .paginator { - min-height: 1%; -} -.clearfix:after, .paginator:after { - clear: both; - content: "."; - display: block; - height: 0; - visibility: hidden; -} -.badges a { - color: #763333; - text-decoration: underline; -} -a:hover { - text-decoration: underline; -} -.badge-context-toggle.active { - cursor: pointer; - text-decoration: underline; -} -h1 { - font-size: 24px; - padding: 10px 0 5px 0px; -} -/* ----- Extra space above for messages ----- */ -body.user-messages { - margin-top: 2.4em; -} -/* ----- Custom positions ----- */ -.left { - float: left; -} -.right { - float: right; -} -.clean { - clear: both; -} -.center { - margin: 0 auto; - padding: 0; -} -/* ----- Notify message bar , check blocks/system_messages.html ----- */ -.notify { - position: fixed; - top: 0px; - left: 0px; - width: 100%; - z-index: 100; - padding: 0; - text-align: center; - background-color: #f5dd69; - border-top: #fff 1px solid; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.notify p.notification { - margin-top: 6px; - margin-bottom: 6px; - font-size: 16px; - color: #424242; -} -#closeNotify { - position: absolute; - right: 5px; - top: 7px; - color: #735005; - text-decoration: none; - line-height: 18px; - background: -6px -5px url(../images/sprites.png) no-repeat; - cursor: pointer; - width: 20px; - height: 20px; -} -#closeNotify:hover { - background: -26px -5px url(../images/sprites.png) no-repeat; -} -/* ----- Header, check blocks/header.html ----- */ -#header { - margin-top: 0px; - background: #16160f; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.content-wrapper { - /* wrapper positioning class */ - - width: 960px; - margin: auto; - position: relative; -} -#logo img { - padding: 5px 0px 5px 0px; - height: 75px; - width: auto; - float: left; -} -#userToolsNav { - /* Navigation bar containing login link or user information, check widgets/user_navigation.html*/ - - height: 20px; - padding-bottom: 5px; -} -#userToolsNav a { - height: 35px; - text-align: right; - margin-left: 20px; - text-decoration: underline; - color: #d0e296; - font-size: 16px; -} -#userToolsNav a:first-child { - margin-left: 0; -} -#userToolsNav a#ab-responses { - margin-left: 3px; -} -#userToolsNav .user-info, #userToolsNav .user-micro-info { - color: #b5b593; -} -#userToolsNav a img { - vertical-align: middle; - margin-bottom: 2px; -} -#userToolsNav .user-info a { - margin: 0; - text-decoration: none; -} -#metaNav { - /* Top Navigation bar containing links for tags, people and badges, check widgets/header.html */ - - float: right; - /* for #header.with-logo it is modified */ - -} -#metaNav a { - color: #e2e2ae; - padding: 0px 0px 0px 35px; - height: 25px; - line-height: 30px; - margin: 5px 0px 0px 10px; - font-size: 18px; - font-weight: 100; - text-decoration: none; - display: block; - float: left; -} -#metaNav a:hover { - text-decoration: underline; -} -#metaNav a.on { - font-weight: bold; - color: #FFF; - text-decoration: none; -} -#metaNav a.special { - font-size: 18px; - color: #B02B2C; - font-weight: bold; - text-decoration: none; -} -#metaNav a.special:hover { - text-decoration: underline; -} -#metaNav #navTags { - background: -50px -5px url(../images/sprites.png) no-repeat; -} -#metaNav #navUsers { - background: -125px -5px url(../images/sprites.png) no-repeat; -} -#metaNav #navBadges { - background: -210px -5px url(../images/sprites.png) no-repeat; -} -#header.with-logo #userToolsNav { - position: absolute; - bottom: 0; - right: 0px; -} -#header.without-logo #userToolsNav { - float: left; - margin-top: 7px; -} -#header.without-logo #metaNav { - margin-bottom: 7px; -} -#secondaryHeader { - /* Div containing Home button, scope navigation, search form and ask button, check blocks/secondary_header.html */ - - height: 55px; - background: #e9e9e1; - border-bottom: #d3d3c2 1px solid; - border-top: #fcfcfc 1px solid; - margin-bottom: 10px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -#secondaryHeader #homeButton { - border-right: #afaf9e 1px solid; - background: -6px -36px url(../images/sprites.png) no-repeat; - height: 55px; - width: 43px; - display: block; - float: left; -} -#secondaryHeader #homeButton:hover { - background: -51px -36px url(../images/sprites.png) no-repeat; -} -#secondaryHeader #scopeWrapper { - width: 688px; - float: left; -} -#secondaryHeader #scopeWrapper a { - display: block; - float: left; -} -#secondaryHeader #scopeWrapper .scope-selector { - font-size: 21px; - color: #5a5a4b; - height: 55px; - line-height: 55px; - margin-left: 24px; -} -#secondaryHeader #scopeWrapper .on { - background: url(../images/scopearrow.png) no-repeat center bottom; -} -#secondaryHeader #scopeWrapper .ask-message { - font-size: 24px; -} -#searchBar { - /* Main search form , check widgets/search_bar.html */ - - display: inline-block; - background-color: #fff; - width: 412px; - border: 1px solid #c9c9b5; - float: right; - height: 42px; - margin: 6px 0px 0px 15px; -} -#searchBar .searchInput, #searchBar .searchInputCancelable { - font-size: 30px; - height: 40px; - font-weight: 300; - background: #FFF; - border: 0px; - color: #484848; - padding-left: 10px; - font-family: Arial; - vertical-align: middle; -} -#searchBar .searchInput { - width: 352px; -} -#searchBar .searchInputCancelable { - width: 317px; -} -#searchBar .logoutsearch { - width: 337px; -} -#searchBar .searchBtn { - font-size: 10px; - color: #666; - background-color: #eee; - height: 42px; - border: #FFF 1px solid; - line-height: 22px; - text-align: center; - float: right; - margin: 0px; - width: 48px; - background: -98px -36px url(../images/sprites.png) no-repeat; - cursor: pointer; -} -#searchBar .searchBtn:hover { - background: -146px -36px url(../images/sprites.png) no-repeat; -} -#searchBar .cancelSearchBtn { - font-size: 30px; - color: #ce8888; - background: #fff; - height: 42px; - border: 0px; - border-left: #deded0 1px solid; - text-align: center; - width: 35px; - cursor: pointer; -} -#searchBar .cancelSearchBtn:hover { - color: #d84040; -} -body.anon #searchBar { - width: 500px; -} -body.anon #searchBar .searchInput { - width: 440px; -} -body.anon #searchBar .searchInputCancelable { - width: 405px; -} -#askButton { - /* check blocks/secondary_header.html and widgets/ask_button.html*/ - - background: url(../images/bigbutton.png) repeat-x bottom; - line-height: 44px; - text-align: center; - width: 200px; - height: 42px; - font-size: 23px; - color: #4a757f; - margin-top: 7px; - float: right; - text-transform: uppercase; - border-radius: 5px; - -ms-border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - -khtml-border-radius: 5px; - -webkit-box-shadow: 1px 1px 2px #636363; - -moz-box-shadow: 1px 1px 2px #636363; - box-shadow: 1px 1px 2px #636363; -} -#askButton:hover { - text-decoration: none; - background: url(../images/bigbutton.png) repeat-x top; - text-shadow: 0px 1px 0px #c6d9dd; - -moz-text-shadow: 0px 1px 0px #c6d9dd; - -webkit-text-shadow: 0px 1px 0px #c6d9dd; -} -/* ----- Content layout, check two_column_body.html or one_column_body.html ----- */ -#ContentLeft { - width: 730px; - float: left; - position: relative; - padding-bottom: 10px; -} -#ContentRight { - width: 200px; - float: right; - padding: 0 0px 10px 0px; -} -#ContentFull { - float: left; - width: 960px; -} -/* ----- Sidebar Widgets Box, check main_page/sidebar.html or question/sidebar.html ----- */ -.box { - background: #fff; - padding: 4px 0px 10px 0px; - width: 200px; - /* widgets for question template */ - - /* notify by email box */ - -} -.box p { - margin-bottom: 4px; -} -.box p.info-box-follow-up-links { - text-align: right; - margin: 0; -} -.box h2 { - padding-left: 0; - background: #eceeeb; - height: 30px; - line-height: 30px; - text-align: right; - font-size: 18px !important; - font-weight: normal; - color: #656565; - padding-right: 10px; - margin-bottom: 10px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.box h3 { - color: #4a757f; - font-size: 18px; - text-align: left; - font-weight: normal; - font-family: 'Yanone Kaffeesatz', sans-serif; - padding-left: 0px; -} -.box .contributorback { - background: #eceeeb url(../images/contributorsback.png) no-repeat center left; -} -.box label { - color: #707070; - font-size: 15px; - display: block; - float: right; - text-align: left; - font-family: 'Yanone Kaffeesatz', sans-serif; - width: 80px; - margin-right: 18px; -} -.box #displayTagFilterControl label { - /*Especial width just for the display tag filter box in index page*/ - - width: 160px; -} -.box ul { - margin-left: 22px; -} -.box li { - list-style-type: disc; - font-size: 13px; - line-height: 20px; - margin-bottom: 10px; - color: #707070; -} -.box ul.tags { - list-style: none; - margin: 0; - padding: 0; - line-height: 170%; - display: block; -} -.box #displayTagFilterControl p label { - color: #707070; - font-size: 15px; -} -.box .inputs #interestingTagInput, .box .inputs #ignoredTagInput { - width: 153px; - padding-left: 5px; - border: #c9c9b5 1px solid; - height: 25px; -} -.box .inputs #interestingTagAdd, .box .inputs #ignoredTagAdd { - background: url(../images/small-button-blue.png) repeat-x top; - border: 0; - color: #4a757f; - font-weight: bold; - font-size: 12px; - width: 30px; - height: 27px; - margin-top: -2px; - cursor: pointer; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; -} -.box .inputs #interestingTagAdd:hover, .box .inputs #ignoredTagAdd:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; -} -.box img.gravatar { - margin: 1px; -} -.box a.followed, .box a.follow { - background: url(../images/medium-button.png) top repeat-x; - height: 34px; - line-height: 34px; - text-align: center; - border: 0; - font-family: 'Yanone Kaffeesatz', sans-serif; - color: #4a757f; - font-weight: normal; - font-size: 21px; - margin-top: 3px; - display: block; - width: 120px; - text-decoration: none; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-box-shadow: 1px 1px 2px #636363; - -moz-box-shadow: 1px 1px 2px #636363; - box-shadow: 1px 1px 2px #636363; - margin: 0 auto; - padding: 0; -} -.box a.followed:hover, .box a.follow:hover { - text-decoration: none; - background: url(../images/medium-button.png) bottom repeat-x; - text-shadow: 0px 1px 0px #c6d9dd; - -moz-text-shadow: 0px 1px 0px #c6d9dd; - -webkit-text-shadow: 0px 1px 0px #c6d9dd; -} -.box a.followed div.unfollow { - display: none; -} -.box a.followed:hover div { - display: none; -} -.box a.followed:hover div.unfollow { - display: inline; - color: #a05736; -} -.box .favorite-number { - padding: 5px 0 0 5px; - font-size: 100%; - font-family: Arial; - font-weight: bold; - color: #777; - text-align: center; -} -.box .notify-sidebar #question-subscribe-sidebar { - margin: 7px 0 0 3px; -} -.statsWidget p { - color: #707070; - font-size: 16px; - border-bottom: #cccccc 1px solid; - font-size: 13px; -} -.statsWidget p strong { - float: right; - padding-right: 10px; -} -.questions-related { - word-wrap: break-word; -} -.questions-related p { - line-height: 20px; - padding: 4px 0px 4px 0px; - font-size: 16px; - font-weight: normal; - border-bottom: #cccccc 1px solid; -} -.questions-related a { - font-size: 13px; -} -/* tips and markdown help are widgets for ask template */ -#tips li { - color: #707070; - font-size: 13px; - list-style-image: url(../images/tips.png); -} -#tips a { - font-size: 16px; -} -#markdownHelp li { - color: #707070; - font-size: 13px; -} -#markdownHelp a { - font-size: 16px; -} -/* ----- Sorting top Tab, check main_page/tab_bar.html ------*/ -.tabBar { - background-color: #eff5f6; - height: 30px; - margin-bottom: 3px; - margin-top: 3px; - float: right; - font-family: Georgia, serif; - font-size: 16px; - border-radius: 5px; - -ms-border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - -khtml-border-radius: 5px; -} -.tabBar h2 { - float: left; -} -.tabsA, .tabsC { - float: right; - position: relative; - display: block; - height: 20px; -} -/* tabsA - used for sorting */ -.tabsA { - float: right; -} -.tabsC { - float: left; -} -.tabsA a, .tabsC a { - border-left: 1px solid #d0e1e4; - color: #7ea9b3; - display: block; - float: left; - height: 20px; - line-height: 20px; - padding: 4px 7px 4px 7px; - text-decoration: none; -} -.tabsA a.on, -.tabsC a.on, -.tabsA a:hover, -.tabsC a:hover { - color: #4a757f; -} -.tabsA .label, .tabsC .label { - float: left; - color: #646464; - margin-top: 4px; - margin-right: 5px; -} -.main-page .tabsA .label { - margin-left: 8px; -} -.tabsB a { - background: #eee; - border: 1px solid #eee; - color: #777; - display: block; - float: left; - height: 22px; - line-height: 28px; - margin: 5px 0px 0 4px; - padding: 0 11px 0 11px; - text-decoration: none; -} -.tabsC .first { - border: none; -} -.rss { - float: right; - font-size: 16px; - color: #f57900; - margin: 5px 0px 3px 7px; - width: 52px; - padding-left: 2px; - padding-top: 3px; - background: #ffffff url(../images/feed-icon-small.png) no-repeat center right; - float: right; - font-family: Georgia, serif; - font-size: 16px; -} -.rss:hover { - color: #F4A731 !important; -} -/* ----- Headline, containing number of questions and tags selected, check main_page/headline.html ----- */ -#questionCount { - font-weight: bold; - font-size: 23px; - color: #7ea9b3; - width: 200px; - float: left; - margin-bottom: 8px; - padding-top: 6px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -#listSearchTags { - float: left; - margin-top: 3px; - color: #707070; - font-size: 16px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -ul#searchTags { - margin-left: 10px; - float: right; - padding-top: 2px; -} -.search-tips { - font-size: 16px; - line-height: 17px; - color: #707070; - margin: 5px 0 10px 0; - padding: 0px; - float: left; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.search-tips a { - text-decoration: underline; - color: #1b79bd; -} -/* ----- Question list , check main_page/content.html and macros/macros.html----- */ -#question-list { - float: left; - position: relative; - background-color: #FFF; - padding: 0; - width: 100%; -} -.short-summary { - position: relative; - filter: inherit; - padding: 10px; - border-bottom: 1px solid #DDDBCE; - margin-bottom: 1px; - overflow: hidden; - width: 710px; - float: left; - background: url(../images/summary-background.png) repeat-x; -} -.short-summary h2 { - font-size: 24px; - font-weight: normal; - line-height: 26px; - padding-left: 0; - margin-bottom: 6px; - display: block; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.short-summary a { - color: #464646; -} -.short-summary .userinfo { - text-align: right; - line-height: 16px; - font-family: Arial; - padding-right: 4px; -} -.short-summary .userinfo .relativetime, .short-summary span.anonymous { - font-size: 11px; - clear: both; - font-weight: normal; - color: #555; -} -.short-summary .userinfo a { - font-weight: bold; - font-size: 11px; -} -.short-summary .counts { - float: right; - margin: 4px 0 0 5px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.short-summary .counts .item-count { - padding: 0px 5px 0px 5px; - font-size: 25px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.short-summary .counts .votes div, -.short-summary .counts .views div, -.short-summary .counts .answers div, -.short-summary .counts .favorites div { - margin-top: 3px; - font-size: 14px; - line-height: 14px; - color: #646464; -} -.short-summary .tags { - margin-top: 0; -} -.short-summary .votes, -.short-summary .answers, -.short-summary .favorites, -.short-summary .views { - text-align: center; - margin: 0 3px; - padding: 8px 2px 0px 2px; - width: 51px; - float: right; - height: 44px; - border: #dbdbd4 1px solid; -} -.short-summary .votes { - background: url(../images/vote-background.png) repeat-x; -} -.short-summary .answers { - background: url(../images/answers-background.png) repeat-x; -} -.short-summary .views { - background: url(../images/view-background.png) repeat-x; -} -.short-summary .no-votes .item-count { - color: #b1b5b6; -} -.short-summary .some-votes .item-count { - color: #4a757f; -} -.short-summary .no-answers .item-count { - color: #b1b5b6; -} -.short-summary .some-answers .item-count { - color: #eab243; -} -.short-summary .no-views .item-count { - color: #b1b5b6; -} -.short-summary .some-views .item-count { - color: #d33f00; -} -.short-summary .accepted .item-count { - background: url(../images/accept.png) no-repeat top right; - display: block; - text-align: center; - width: 40px; - color: #eab243; -} -.short-summary .some-favorites .item-count { - background: #338333; - color: #d0f5a9; -} -.short-summary .no-favorites .item-count { - background: #eab243; - color: yellow; -} -/* ----- Question list Paginator , check main_content/pager.html and macros/utils_macros.html----- */ -.evenMore { - font-size: 13px; - color: #707070; - padding: 15px 0px 10px 0px; - clear: both; -} -.evenMore a { - text-decoration: underline; - color: #1b79bd; -} -.pager { - margin-top: 10px; - margin-bottom: 16px; -} -.pagesize { - margin-top: 10px; - margin-bottom: 16px; - float: right; -} -.paginator { - padding: 5px 0 10px 0; - font-size: 13px; - margin-bottom: 10px; -} -.paginator .prev a, -.paginator .prev a:visited, -.paginator .next a, -.paginator .next a:visited { - background-color: #fff; - color: #777; - padding: 2px 4px 3px 4px; -} -.paginator a { - color: #7ea9b3; -} -.paginator .prev { - margin-right: .5em; -} -.paginator .next { - margin-left: .5em; -} -.paginator .page a, .paginator .page a:visited, .paginator .curr { - padding: .25em; - background-color: #fff; - margin: 0em .25em; - color: #ff; -} -.paginator .curr { - background-color: #8ebcc7; - color: #fff; - font-weight: bold; -} -.paginator .next a, .paginator .prev a { - color: #7ea9b3; -} -.paginator .page a:hover, -.paginator .curr a:hover, -.paginator .prev a:hover, -.paginator .next a:hover { - color: #8C8C8C; - background-color: #E1E1E1; - text-decoration: none; -} -.paginator .text { - color: #777; - padding: .3em; -} -.paginator .paginator-container-left { - padding: 5px 0 10px 0; -} -/* ----- Tags Styles ----- */ -/* tag formatting is also copy-pasted in template - because it must be the same in the emails - askbot/models/__init__.py:format_instant_notification_email() -*/ -/* tag cloud */ -.tag-size-1 { - font-size: 12px; -} -.tag-size-2 { - font-size: 13px; -} -.tag-size-3 { - font-size: 14px; -} -.tag-size-4 { - font-size: 15px; -} -.tag-size-5 { - font-size: 16px; -} -.tag-size-6 { - font-size: 17px; -} -.tag-size-7 { - font-size: 18px; -} -.tag-size-8 { - font-size: 19px; -} -.tag-size-9 { - font-size: 20px; -} -.tag-size-10 { - font-size: 21px; -} -ul.tags, ul.tags.marked-tags, ul#related-tags { - list-style: none; - margin: 0; - padding: 0; - line-height: 170%; - display: block; -} -ul.tags li { - float: left; - display: block; - margin: 0 8px 0 0; - padding: 0; - height: 20px; -} -.wildcard-tags { - clear: both; -} -ul.tags.marked-tags li, .wildcard-tags ul.tags li { - margin-bottom: 5px; -} -#tagSelector div.inputs { - clear: both; - float: none; - margin-bottom: 10px; -} -.tags-page ul.tags li, ul#ab-user-tags li { - width: 160px; - margin: 5px; -} -ul#related-tags li { - margin: 0 5px 8px 0; - float: left; - clear: left; -} -/* .tag-left and .tag-right are for the sliding doors decoration of tags */ -.tag-left { - cursor: pointer; - display: block; - float: left; - height: 17px; - margin: 0 5px 0 0; - padding: 0; - -webkit-box-shadow: 0px 0px 5px #d3d6d7; - -moz-box-shadow: 0px 0px 5px #d3d6d7; - box-shadow: 0px 0px 5px #d3d6d7; -} -.tag-right { - background: #f3f6f6; - border: #fff 1px solid ; - border-top: #fff 2px solid; - outline: #cfdbdb 1px solid; - /* .box-shadow(0px,1px,0px,#88a8a8);*/ - - display: block; - float: left; - height: 17px; - line-height: 17px; - font-weight: normal; - font-size: 11px; - padding: 0px 8px 0px 8px; - text-decoration: none; - text-align: center; - white-space: nowrap; - vertical-align: middle; - font-family: Arial; - color: #717179; -} -.deletable-tag { - margin-right: 3px; - white-space: nowrap; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-bottomright: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-top-right-radius: 4px; -} -.tags a.tag-right, .tags span.tag-right { - color: #585858; - text-decoration: none; -} -.tags a:hover { - color: #1A1A1A; -} -.users-page h1, .tags-page h1 { - float: left; -} -.main-page h1 { - margin-right: 5px; -} -.delete-icon { - margin-top: -1px; - float: left; - height: 21px; - width: 18px; - display: block; - line-height: 20px; - text-align: center; - background: #bbcdcd; - cursor: default; - color: #fff; - border-top: #cfdbdb 1px solid; - font-family: Arial; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-bottomright: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-top-right-radius: 4px; - text-shadow: 0px 1px 0px #7ea0a0; - -moz-text-shadow: 0px 1px 0px #7ea0a0; - -webkit-text-shadow: 0px 1px 0px #7ea0a0; -} -.delete-icon:hover { - background: #b32f2f; -} -.tag-number { - font-weight: normal; - float: left; - font-size: 16px; - color: #5d5d5d; -} -.badges .tag-number { - float: none; - display: inline; - padding-right: 15px; -} -/* ----- Ask and Edit Question Form template----- */ -.section-title { - color: #7ea9b3; - font-family: 'Yanone Kaffeesatz', sans-serif; - font-weight: bold; - font-size: 24px; -} -#fmask { - margin-bottom: 30px; - width: 100%; -} -#askFormBar { - display: inline-block; - padding: 4px 7px 5px 0px; - margin-top: 0px; -} -#askFormBar p { - margin: 0 0 5px 0; - font-size: 14px; - color: #525252; - line-height: 1.4; -} -#askFormBar .questionTitleInput { - font-size: 24px; - line-height: 24px; - height: 36px; - margin: 0px; - padding: 0px 0 0 5px; - border: #cce6ec 3px solid; - width: 725px; -} -.ask-page div#question-list, .edit-question-page div#question-list { - float: none; - border-bottom: #f0f0ec 1px solid; - float: left; - margin-bottom: 10px; -} -.ask-page div#question-list a, .edit-question-page div#question-list a { - line-height: 30px; -} -.ask-page div#question-list h2, .edit-question-page div#question-list h2 { - font-size: 13px; - padding-bottom: 0; - color: #1b79bd; - border-top: #f0f0ec 1px solid; - border-left: #f0f0ec 1px solid; - height: 30px; - line-height: 30px; - font-weight: normal; -} -.ask-page div#question-list span, .edit-question-page div#question-list span { - width: 28px; - height: 26px; - line-height: 26px; - text-align: center; - margin-right: 10px; - float: left; - display: block; - color: #fff; - background: #b8d0d5; - border-radius: 3px; - -ms-border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; -} -.ask-page label, .edit-question-page label { - color: #525252; - font-size: 13px; -} -.ask-page #id_tags, .edit-question-page #id_tags { - border: #cce6ec 3px solid; - height: 25px; - padding-left: 5px; - width: 395px; - font-size: 14px; -} -.title-desc { - color: #707070; - font-size: 13px; -} -#fmanswer input.submit, .ask-page input.submit, .edit-question-page input.submit { - float: left; - background: url(../images/medium-button.png) top repeat-x; - height: 34px; - border: 0; - font-family: 'Yanone Kaffeesatz', sans-serif; - color: #4a757f; - font-weight: normal; - font-size: 21px; - margin-top: 3px; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-box-shadow: 1px 1px 2px #636363; - -moz-box-shadow: 1px 1px 2px #636363; - box-shadow: 1px 1px 2px #636363; - margin-right: 7px; -} -#fmanswer input.submit:hover, .ask-page input.submit:hover, .edit-question-page input.submit:hover { - text-decoration: none; - background: url(../images/medium-button.png) bottom repeat-x; - text-shadow: 0px 1px 0px #c6d9dd; - -moz-text-shadow: 0px 1px 0px #c6d9dd; - -webkit-text-shadow: 0px 1px 0px #c6d9dd; -} -#editor { - /*adjustment for editor preview*/ - - font-size: 100%; - min-height: 200px; - line-height: 18px; - margin: 0; - border-left: #cce6ec 3px solid; - border-bottom: #cce6ec 3px solid; - border-right: #cce6ec 3px solid; - border-top: 0; - padding: 10px; - margin-bottom: 10px; - width: 717px; -} -#id_title { - width: 100%; -} -.wmd-preview { - margin: 3px 0 5px 0; - padding: 6px; - background-color: #F5F5F5; - min-height: 20px; - overflow: auto; - font-size: 13px; - font-family: Arial; -} -.wmd-preview p { - margin-bottom: 14px; - line-height: 1.4; - font-size: 14px; -} -.wmd-preview pre { - background-color: #E7F1F8; -} -.wmd-preview blockquote { - background-color: #eee; -} -.wmd-preview IMG { - max-width: 600px; -} -.preview-toggle { - width: 100%; - color: #b6a475; - /*letter-spacing:1px;*/ - - text-align: left; -} -.preview-toggle span:hover { - cursor: pointer; -} -.after-editor { - margin-top: 15px; - margin-bottom: 15px; -} -.checkbox { - margin-left: 5px; - font-weight: normal; - cursor: help; -} -.question-options { - margin-top: 1px; - color: #666; - line-height: 13px; - margin-bottom: 5px; -} -.question-options label { - vertical-align: text-bottom; -} -.edit-content-html { - border-top: 1px dotted #D8D2A9; - border-bottom: 1px dotted #D8D2A9; - margin: 5px 0 5px 0; -} -.edit-question-page, #fmedit, .wmd-preview { - color: #525252; -} -.edit-question-page #id_revision, #fmedit #id_revision, .wmd-preview #id_revision { - font-size: 14px; - margin-top: 5px; - margin-bottom: 5px; -} -.edit-question-page #id_title, #fmedit #id_title, .wmd-preview #id_title { - font-size: 24px; - line-height: 24px; - height: 36px; - margin: 0px; - padding: 0px 0 0 5px; - border: #cce6ec 3px solid; - width: 725px; - margin-bottom: 10px; -} -.edit-question-page #id_summary, #fmedit #id_summary, .wmd-preview #id_summary { - border: #cce6ec 3px solid; - height: 25px; - padding-left: 5px; - width: 395px; - font-size: 14px; -} -.edit-question-page .title-desc, #fmedit .title-desc, .wmd-preview .title-desc { - margin-bottom: 10px; -} -/* ----- Question template ----- */ -.question-page h1 { - padding-top: 0px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.question-page h1 a { - color: #464646; - font-size: 30px; - font-weight: normal; - line-height: 1; -} -.question-page p.rss { - float: none; - clear: both; - padding: 3px 0 0 23px; - font-size: 15px; - width: 110px; - background-position: center left; - margin-left: 0px !important; -} -.question-page p.rss a { - font-family: 'Yanone Kaffeesatz', sans-serif; - vertical-align: top; -} -.question-page .question-content { - float: right; - width: 682px; - margin-bottom: 10px; -} -.question-page #question-table { - float: left; - border-top: #f0f0f0 1px solid; -} -.question-page #question-table, .question-page .answer-table { - margin: 6px 0 6px 0; - border-spacing: 0px; - width: 670px; - padding-right: 10px; -} -.question-page .answer-table { - margin-top: 0px; - border-bottom: 1px solid #D4D4D4; - float: right; -} -.question-page .answer-table td, .question-page #question-table td { - width: 20px; - vertical-align: top; -} -.question-page .question-body, .question-page .answer-body { - overflow: auto; - margin-top: 10px; - font-family: Arial; - color: #4b4b4b; -} -.question-page .question-body p, .question-page .answer-body p { - margin-bottom: 14px; - line-height: 1.4; - font-size: 14px; - padding: 0px 5px 5px 0px; -} -.question-page .question-body a, .question-page .answer-body a { - color: #1b79bd; -} -.question-page .question-body li, .question-page .answer-body li { - margin-bottom: 7px; -} -.question-page .question-body IMG, .question-page .answer-body IMG { - max-width: 600px; -} -.question-page .post-update-info-container { - float: right; - width: 175px; -} -.question-page .post-update-info { - background: #ffffff url(../images/background-user-info.png) repeat-x bottom; - float: right; - font-size: 9px; - font-family: Arial; - width: 158px; - padding: 4px; - margin: 0px 0px 5px 5px; - line-height: 14px; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - -webkit-box-shadow: 0px 2px 1px #bfbfbf; - -moz-box-shadow: 0px 2px 1px #bfbfbf; - box-shadow: 0px 2px 1px #bfbfbf; -} -.question-page .post-update-info p { - line-height: 13px; - font-size: 11px; - margin: 0 0 2px 1px; - padding: 0; -} -.question-page .post-update-info a { - color: #444; -} -.question-page .post-update-info .gravatar { - float: left; - margin-right: 4px; -} -.question-page .post-update-info p.tip { - color: #444; - line-height: 13px; - font-size: 10px; -} -.question-page .post-controls { - font-size: 11px; - line-height: 12px; - min-width: 200px; - padding-left: 5px; - text-align: right; - clear: left; - float: right; - margin-top: 10px; - margin-bottom: 8px; -} -.question-page .post-controls a { - color: #777; - padding: 0px 3px 3px 22px; - cursor: pointer; - border: none; - font-size: 12px; - font-family: Arial; - text-decoration: none; - height: 18px; - display: block; - float: right; - line-height: 18px; - margin-top: -2px; - margin-left: 4px; -} -.question-page .post-controls a:hover { - background-color: #f5f0c9; - border-radius: 3px; - -ms-border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; -} -.question-page .post-controls .sep { - color: #ccc; - float: right; - height: 18px; - font-size: 18px; -} -.question-page .post-controls .question-delete, .question-page .answer-controls .question-delete { - background: url(../images/delete.png) no-repeat center left; - padding-left: 16px; -} -.question-page .post-controls .question-flag, .question-page .answer-controls .question-flag { - background: url(../images/flag.png) no-repeat center left; -} -.question-page .post-controls .question-edit, .question-page .answer-controls .question-edit { - background: url(../images/edit2.png) no-repeat center left; -} -.question-page .post-controls .question-retag, .question-page .answer-controls .question-retag { - background: url(../images/retag.png) no-repeat center left; -} -.question-page .post-controls .question-close, .question-page .answer-controls .question-close { - background: url(../images/close.png) no-repeat center left; -} -.question-page .post-controls .permant-link, .question-page .answer-controls .permant-link { - background: url(../images/link.png) no-repeat center left; -} -.question-page .tabBar { - width: 100%; -} -.question-page #questionCount { - float: left; - font-family: 'Yanone Kaffeesatz', sans-serif; - line-height: 15px; -} -.question-page .question-img-upvote, -.question-page .question-img-downvote, -.question-page .answer-img-upvote, -.question-page .answer-img-downvote { - width: 25px; - height: 20px; - cursor: pointer; -} -.question-page .question-img-upvote, .question-page .answer-img-upvote { - background: url(../images/vote-arrow-up-new.png) no-repeat; -} -.question-page .question-img-downvote, .question-page .answer-img-downvote { - background: url(../images/vote-arrow-down-new.png) no-repeat; -} -.question-page .question-img-upvote:hover, -.question-page .question-img-upvote.on, -.question-page .answer-img-upvote:hover, -.question-page .answer-img-upvote.on { - background: url(../images/vote-arrow-up-on-new.png) no-repeat; -} -.question-page .question-img-downvote:hover, -.question-page .question-img-downvote.on, -.question-page .answer-img-downvote:hover, -.question-page .answer-img-downvote.on { - background: url(../images/vote-arrow-down-on-new.png) no-repeat; -} -.question-page #fmanswer_button { - margin: 8px 0px ; -} -.question-page .question-img-favorite:hover { - background: url(../images/vote-favorite-on.png); -} -.question-page div.comments { - padding: 0; -} -.question-page #comment-title { - font-weight: bold; - font-size: 23px; - color: #7ea9b3; - width: 200px; - float: left; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.question-page .comments { - font-size: 12px; - clear: both; - /* A small hack to solve 1px problem on webkit browsers */ - -} -.question-page .comments div.controls { - clear: both; - float: left; - width: 100%; - margin: 3px 0 20px 5px; -} -.question-page .comments .controls a { - color: #988e4c; - padding: 0 3px 2px 22px; - font-family: Arial; - font-size: 13px; - background: url(../images/comment.png) no-repeat center left; -} -.question-page .comments .controls a:hover { - background-color: #f5f0c9; - text-decoration: none; -} -.question-page .comments .button { - color: #988e4c; - font-size: 11px; - padding: 3px; - cursor: pointer; -} -.question-page .comments a { - background-color: inherit; - color: #1b79bd; - padding: 0; -} -.question-page .comments form.post-comments { - margin: 3px 26px 0 42px; -} -.question-page .comments form.post-comments textarea { - font-size: 13px; - line-height: 1.3; -} -.question-page .comments textarea { - height: 42px; - width: 100%; - margin: 7px 0 5px 1px; - font-family: Arial; - outline: none; - overflow: auto; - font-size: 12px; - line-height: 140%; - padding-left: 2px; - padding-top: 3px; - border: #cce6ec 3px solid; -} -@media screen and (-webkit-min-device-pixel-ratio:0) { - textarea { - padding-left: 3px !important; - } -} -.question-page .comments input { - margin-left: 10px; - margin-top: 1px; - vertical-align: top; - width: 100px; -} -.question-page .comments button { - background: url(../images/small-button-blue.png) repeat-x top; - border: 0; - color: #4a757f; - font-family: Arial; - font-size: 13px; - width: 100px; - font-weight: bold; - height: 27px; - line-height: 25px; - margin-bottom: 5px; - cursor: pointer; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; -} -.question-page .comments button:hover { - background: url(../images/small-button-blue.png) bottom repeat-x; - text-shadow: 0px 1px 0px #c6d9dd; - -moz-text-shadow: 0px 1px 0px #c6d9dd; - -webkit-text-shadow: 0px 1px 0px #c6d9dd; -} -.question-page .comments .counter { - display: inline-block; - width: 245px; - float: right; - color: #b6a475 !important; - vertical-align: top; - font-family: Arial; - float: right; - text-align: right; -} -.question-page .comments .comment { - border-bottom: 1px solid #edeeeb; - clear: both; - margin: 0; - margin-top: 8px; - padding-bottom: 4px; - overflow: auto; - font-family: Arial; - font-size: 11px; - min-height: 25px; - background: #ffffff url(../images/comment-background.png) bottom repeat-x; - border-radius: 5px; - -ms-border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - -khtml-border-radius: 5px; -} -.question-page .comments div.comment:hover { - background-color: #efefef; -} -.question-page .comments a.author { - background-color: inherit; - color: #1b79bd; - padding: 0; -} -.question-page .comments a.author:hover { - text-decoration: underline; -} -.question-page .comments span.delete-icon { - background: url(../images/close-small.png) no-repeat; - border: 0; - width: 14px; - height: 14px; -} -.question-page .comments span.delete-icon:hover { - border: #BC564B 2px solid; - border-radius: 10px; - -ms-border-radius: 10px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - -khtml-border-radius: 10px; - margin: -3px 0px 0px -2px; -} -.question-page .comments .content { - margin-bottom: 7px; -} -.question-page .comments .comment-votes { - float: left; - width: 37px; - line-height: 130%; - padding: 6px 5px 6px 3px; -} -.question-page .comments .comment-body { - line-height: 1.3; - margin: 3px 26px 0 46px; - padding: 5px 3px; - color: #666; - font-size: 13px; -} -.question-page .comments .comment-body .edit { - padding-left: 6px; -} -.question-page .comments .comment-body p { - font-size: 13px; - line-height: 1.3; - margin-bottom: 3px; - padding: 0; -} -.question-page .comments .comment-delete { - float: right; - width: 14px; - line-height: 130%; - padding: 8px 6px; -} -.question-page .comments .upvote { - margin: 0px; - padding-right: 17px; - padding-top: 2px; - text-align: right; - height: 20px; - font-size: 13px; - font-weight: bold; - color: #777; -} -.question-page .comments .upvote.upvoted { - color: #d64000; -} -.question-page .comments .upvote.hover { - background: url(../images/go-up-grey.png) no-repeat; - background-position: right 1px; -} -.question-page .comments .upvote:hover { - background: url(../images/go-up-orange.png) no-repeat; - background-position: right 1px; -} -.question-page .comments .help-text { - float: right; - text-align: right; - color: gray; - margin-bottom: 0px; - margin-top: 0px; - line-height: 50%; -} -.question-page #questionTools { - font-size: 22px; - margin-top: 11px; - text-align: left; -} -.question-page .question-status { - margin-top: 10px; - margin-bottom: 15px; - padding: 20px; - background-color: #fef7cc; - text-align: center; - border: #e1c04a 1px solid; -} -.question-page .question-status h3 { - font-size: 20px; - color: #707070; - font-weight: normal; -} -.question-page .vote-buttons { - float: left; - text-align: center; - padding-top: 2px; - margin: 10px 10px 0px 3px; -} -.question-page .vote-buttons IMG { - cursor: pointer; -} -.question-page .vote-number { - font-family: 'Yanone Kaffeesatz', sans-serif; - padding: 0px 0 5px 0; - font-size: 25px; - font-weight: bold; - color: #777; -} -.question-page .vote-buttons .notify-sidebar { - text-align: left; - width: 120px; -} -.question-page .vote-buttons .notify-sidebar label { - vertical-align: top; -} -.question-page .tabBar-answer { - margin-bottom: 15px; - padding-left: 7px; - width: 723px; - margin-top: 10px; -} -.question-page .answer .vote-buttons { - float: left; -} -.question-page .accepted-answer { - background-color: #f7fecc; - border-bottom-color: #9BD59B; -} -.question-page .accepted-answer .vote-buttons { - width: 27px; - margin-right: 10px; - margin-top: 10px; -} -.question-page .answer .post-update-info a { - color: #444444; -} -.question-page .answered { - background: #CCC; - color: #999; -} -.question-page .answered-accepted { - background: #DCDCDC; - color: #763333; -} -.question-page .answered-accepted strong { - color: #E1E818; -} -.question-page .answered-by-owner { - background: #F1F1FF; -} -.question-page .answered-by-owner .comments .button { - background-color: #E6ECFF; -} -.question-page .answered-by-owner .comments { - background-color: #E6ECFF; -} -.question-page .answered-by-owner .vote-buttons { - margin-right: 10px; -} -.question-page .answer-img-accept:hover { - background: url(../images/vote-accepted-on.png); -} -.question-page .answer-body a { - color: #1b79bd; -} -.question-page .answer-body li { - margin-bottom: 0.7em; -} -.question-page #fmanswer { - color: #707070; - line-height: 1.2; - margin-top: 10px; -} -.question-page #fmanswer h2 { - font-family: 'Yanone Kaffeesatz', sans-serif; - color: #7ea9b3; - font-size: 24px; -} -.question-page #fmanswer label { - font-size: 13px; -} -.question-page .message { - padding: 5px; - margin: 0px 0 10px 0; -} -.facebook-share.icon, -.twitter-share.icon, -.linkedin-share.icon, -.identica-share.icon { - background: url(../images/socialsprite.png) no-repeat; - display: block; - text-indent: -100em; - height: 25px; - width: 25px; - margin-bottom: 3px; -} -.facebook-share.icon:hover, -.twitter-share.icon:hover, -.linkedin-share.icon:hover, -.identica-share.icon:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.facebook-share.icon { - background-position: -26px 0px; -} -.identica-share.icon { - background-position: -78px 0px; -} -.twitter-share.icon { - margin-top: 10px; - background-position: 0px 0px; -} -.linkedin-share.icon { - background-position: -52px 0px; -} -/* -----Content pages, Login, About, FAQ, Users----- */ -.openid-signin, -.meta, -.users-page, -.user-profile-edit-page { - font-size: 13px; - line-height: 1.3; - color: #525252; -} -.openid-signin p, -.meta p, -.users-page p, -.user-profile-edit-page p { - font-size: 13px; - color: #707070; - line-height: 1.3; - font-family: Arial; - color: #525252; - margin-bottom: 12px; -} -.openid-signin h2, -.meta h2, -.users-page h2, -.user-profile-edit-page h2 { - color: #525252; - padding-left: 0px; - font-size: 16px; -} -.openid-signin form, -.meta form, -.users-page form, -.user-profile-edit-page form, -.user-profile-page form { - margin-bottom: 15px; -} -.openid-signin input[type="text"], -.meta input[type="text"], -.users-page input[type="text"], -.user-profile-edit-page input[type="text"], -.user-profile-page input[type="text"], -.openid-signin input[type="password"], -.meta input[type="password"], -.users-page input[type="password"], -.user-profile-edit-page input[type="password"], -.user-profile-page input[type="password"], -.openid-signin select, -.meta select, -.users-page select, -.user-profile-edit-page select, -.user-profile-page select { - border: #cce6ec 3px solid; - height: 25px; - padding-left: 5px; - width: 395px; - font-size: 14px; -} -.openid-signin select, -.meta select, -.users-page select, -.user-profile-edit-page select, -.user-profile-page select { - width: 405px; - height: 30px; -} -.openid-signin textarea, -.meta textarea, -.users-page textarea, -.user-profile-edit-page textarea, -.user-profile-page textarea { - border: #cce6ec 3px solid; - padding-left: 5px; - padding-top: 5px; - width: 395px; - font-size: 14px; -} -.openid-signin input.submit, -.meta input.submit, -.users-page input.submit, -.user-profile-edit-page input.submit, -.user-profile-page input.submit { - background: url(../images/small-button-blue.png) repeat-x top; - border: 0; - color: #4a757f; - font-weight: bold; - font-size: 13px; - font-family: Arial; - height: 26px; - margin: 5px 0px; - width: 100px; - cursor: pointer; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; -} -.openid-signin input.submit:hover, -.meta input.submit:hover, -.users-page input.submit:hover, -.user-profile-edit-page input.submit:hover, -.user-profile-page input.submit:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; - text-decoration: none; -} -.openid-signin .cancel, -.meta .cancel, -.users-page .cancel, -.user-profile-edit-page .cancel, -.user-profile-page .cancel { - background: url(../images/small-button-cancel.png) repeat-x top !important; - color: #525252 !important; -} -.openid-signin .cancel:hover, -.meta .cancel:hover, -.users-page .cancel:hover, -.user-profile-edit-page .cancel:hover, -.user-profile-page .cancel:hover { - background: url(../images/small-button-cancel.png) repeat-x bottom !important; -} -#email-input-fs, -#local_login_buttons, -#password-fs, -#openid-fs { - margin-top: 10px; -} -#email-input-fs #id_email, -#local_login_buttons #id_email, -#password-fs #id_email, -#openid-fs #id_email, -#email-input-fs #id_username, -#local_login_buttons #id_username, -#password-fs #id_username, -#openid-fs #id_username, -#email-input-fs #id_password, -#local_login_buttons #id_password, -#password-fs #id_password, -#openid-fs #id_password { - font-size: 12px; - line-height: 20px; - height: 20px; - margin: 0px; - padding: 0px 0 0 5px; - border: #cce6ec 3px solid; - width: 200px; -} -#email-input-fs .submit-b, -#local_login_buttons .submit-b, -#password-fs .submit-b, -#openid-fs .submit-b { - background: url(../images/small-button-blue.png) repeat-x top; - border: 0; - color: #4a757f; - font-weight: bold; - font-size: 13px; - font-family: Arial; - height: 24px; - margin-top: -2px; - padding-left: 10px; - padding-right: 10px; - cursor: pointer; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; -} -#email-input-fs .submit-b:hover, -#local_login_buttons .submit-b:hover, -#password-fs .submit-b:hover, -#openid-fs .submit-b:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; -} -.openid-input { - background: url(../images/openid.gif) no-repeat; - padding-left: 15px; - cursor: pointer; -} -.openid-login-input { - background-position: center left; - background: url(../images/openid.gif) no-repeat 0% 50%; - padding: 5px 5px 5px 15px; - cursor: pointer; - font-family: Trebuchet MS; - font-weight: 300; - font-size: 150%; - width: 500px; -} -.openid-login-submit { - height: 40px; - width: 80px; - line-height: 40px; - cursor: pointer; - border: 1px solid #777; - font-weight: bold; - font-size: 120%; -} -/* People page */ -.tabBar-user { - width: 375px; -} -.user { - padding: 5px; - line-height: 140%; - width: 166px; - border: #eee 1px solid; - margin-bottom: 5px; - border-radius: 3px; - -ms-border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; -} -.user .user-micro-info { - color: #525252; -} -.user ul { - margin: 0; - list-style-type: none; -} -.user .thumb { - clear: both; - float: left; - margin-right: 4px; - display: inline; -} -/* tags page */ -.tabBar-tags { - width: 270px; - margin-bottom: 15px; -} -/* badges page */ -a.medal { - font-size: 17px; - line-height: 250%; - margin-right: 5px; - color: #333; - text-decoration: none; - background: url(../images/medala.gif) no-repeat; - border-left: 1px solid #EEE; - border-top: 1px solid #EEE; - border-bottom: 1px solid #CCC; - border-right: 1px solid #CCC; - padding: 4px 12px 4px 6px; -} -a:hover.medal { - color: #333; - text-decoration: none; - background: url(../images/medala_on.gif) no-repeat; - border-left: 1px solid #E7E296; - border-top: 1px solid #E7E296; - border-bottom: 1px solid #D1CA3D; - border-right: 1px solid #D1CA3D; -} -#award-list .user { - float: left; - margin: 5px; -} -/* profile page */ -.tabBar-profile { - width: 100%; - margin-bottom: 15px; - float: left; -} -.user-profile-page { - font-size: 13px; - color: #525252; -} -.user-profile-page p { - font-size: 13px; - line-height: 1.3; - color: #525252; -} -.user-profile-page .avatar img { - border: #eee 1px solid; - padding: 5px; -} -.user-profile-page h2 { - padding: 10px 0px 10px 0px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -.user-details { - font-size: 13px; -} -.user-details h3 { - font-size: 16px; -} -.user-about { - background-color: #EEEEEE; - height: 200px; - line-height: 20px; - overflow: auto; - padding: 10px; - width: 90%; -} -.user-about p { - font-size: 13px; -} -.follow-toggle, .submit { - border: 0 !important; - color: #4a757f; - font-weight: bold; - font-size: 12px; - height: 26px; - line-height: 26px; - margin-top: -2px; - font-size: 15px; - cursor: pointer; - font-family: 'Yanone Kaffeesatz', sans-serif; - background: url(../images/small-button-blue.png) repeat-x top; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - text-shadow: 0px 1px 0px #e6f6fa; - -moz-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-text-shadow: 0px 1px 0px #e6f6fa; - -webkit-box-shadow: 1px 1px 2px #808080; - -moz-box-shadow: 1px 1px 2px #808080; - box-shadow: 1px 1px 2px #808080; -} -.follow-toggle:hover, .submit:hover { - background: url(../images/small-button-blue.png) repeat-x bottom; - text-decoration: none !important; -} -.follow-toggle .follow { - font-color: #000; - font-style: normal; -} -.follow-toggle .unfollow div.unfollow-red { - display: none; -} -.follow-toggle .unfollow:hover div.unfollow-red { - display: inline; - color: #fff; - font-weight: bold; - color: #A05736; -} -.follow-toggle .unfollow:hover div.unfollow-green { - display: none; -} -.count { - font-family: 'Yanone Kaffeesatz', sans-serif; - font-size: 200%; - font-weight: 700; - color: #777777; -} -.scoreNumber { - font-family: 'Yanone Kaffeesatz', sans-serif; - font-size: 35px; - font-weight: 800; - color: #777; - line-height: 40px; - /*letter-spacing:0px*/ - - margin-top: 3px; -} -.vote-count { - font-family: Arial; - font-size: 160%; - font-weight: 700; - color: #777; -} -.answer-summary { - display: block; - clear: both; - padding: 3px; -} -.answer-votes { - background-color: #EEEEEE; - color: #555555; - float: left; - font-family: Arial; - font-size: 15px; - font-weight: bold; - height: 17px; - padding: 2px 4px 5px; - text-align: center; - text-decoration: none; - width: 20px; - margin-right: 10px; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; -} -.karma-summary { - padding: 5px; - font-size: 13px; -} -.karma-summary h3 { - text-align: center; - font-weight: bold; - padding: 5px; -} -.karma-diagram { - width: 477px; - height: 300px; - float: left; - margin-right: 10px; -} -.karma-details { - float: right; - width: 450px; - height: 250px; - overflow-y: auto; - word-wrap: break-word; -} -.karma-details p { - margin-bottom: 10px; -} -.karma-gained { - font-weight: bold; - background: #eee; - width: 25px; - margin-right: 5px; - color: green; - padding: 3px; - display: block; - float: left; - text-align: center; - border-radius: 3px; - -ms-border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; -} -.karma-lost { - font-weight: bold; - background: #eee; - width: 25px; - color: red; - padding: 3px; - display: block; - margin-right: 5px; - float: left; - text-align: center; - border-radius: 3px; - -ms-border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -khtml-border-radius: 3px; -} -.submit-row { - margin-bottom: 10px; -} -/*----- Revision pages ----- */ -.revision { - margin: 10px 0 10px 0; - font-size: 13px; - color: #525252; -} -.revision p { - font-size: 13px; - line-height: 1.3; - color: #525252; -} -.revision h3 { - font-family: 'Yanone Kaffeesatz', sans-serif; - font-size: 21px; - padding-left: 0px; -} -.revision .header { - background-color: #F5F5F5; - padding: 5px; - cursor: pointer; -} -.revision .author { - background-color: #e9f3f5; -} -.revision .summary { - padding: 5px 0 10px 0; -} -.revision .summary span { - background-color: #fde785; - padding: 6px; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; - display: inline; - -webkit-box-shadow: 1px 1px 4px #cfb852; - -moz-box-shadow: 1px 1px 4px #cfb852; - box-shadow: 1px 1px 4px #cfb852; -} -.revision .answerbody { - padding: 10px 0 5px 10px; -} -.revision .revision-mark { - width: 150px; - text-align: left; - display: inline-block; - font-size: 11px; - overflow: hidden; -} -.revision .revision-mark .gravatar { - float: left; - margin-right: 4px; - padding-top: 5px; -} -.revision .revision-number { - font-size: 300%; - font-weight: bold; - font-family: sans-serif; -} -del, del .post-tag { - color: #C34719; -} -ins .post-tag, ins p, ins { - background-color: #E6F0A2; -} -/* ----- Red Popup notification ----- */ -.vote-notification { - z-index: 1; - cursor: pointer; - display: none; - position: absolute; - font-family: Arial; - font-size: 14px; - font-weight: normal; - color: white; - background-color: #8e0000; - text-align: center; - padding-bottom: 10px; - -webkit-box-shadow: 0px 2px 4px #370000; - -moz-box-shadow: 0px 2px 4px #370000; - box-shadow: 0px 2px 4px #370000; - border-radius: 4px; - -ms-border-radius: 4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -khtml-border-radius: 4px; -} -.vote-notification h3 { - background: url(../images/notification.png) repeat-x top; - padding: 10px 10px 10px 10px; - font-size: 13px; - margin-bottom: 5px; - border-top: #8e0000 1px solid; - color: #fff; - font-weight: normal; - border-top-right-radius: 4px; - border-top-left-radius: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; -} -.vote-notification a { - color: #fb7321; - text-decoration: underline; - font-weight: bold; -} -/* ----- Footer links , check blocks/footer.html----- */ -#ground { - width: 100%; - clear: both; - border-top: 1px solid #000; - padding: 6px 0 0 0; - background: #16160f; - font-size: 16px; - font-family: 'Yanone Kaffeesatz', sans-serif; -} -#ground p { - margin-bottom: 0; -} -.footer-links { - color: #EEE; - text-align: left; - width: 500px; - float: left; -} -.footer-links a { - color: #e7e8a8; -} -.powered-link { - width: 500px; - float: left; - text-align: left; -} -.powered-link a { - color: #8ebcc7; -} -.copyright { - color: #616161; - width: 450px; - float: right; - text-align: right; -} -.copyright a { - color: #8ebcc7; -} -.copyright img.license-logo { - margin: 6px 0px 20px 10px; - float: right; -} -.notify-me { - float: left; -} -span.text-counter { - margin-right: 20px; -} -span.form-error { - color: #990000; - font-weight: normal; - margin-left: 5px; -} -ul.errorlist { - margin-bottom: 0; -} -p.form-item { - margin: 0px; -} -.deleted { - background: #F4E7E7 none repeat scroll 0 0; -} -/* openid styles */ -.form-row { - line-height: 25px; -} -table.form-as-table { - margin-top: 5px; -} -table.form-as-table ul { - list-style-type: none; - display: inline; -} -table.form-as-table li { - display: inline; -} -table.form-as-table td { - text-align: right; -} -table.form-as-table th { - text-align: left; - font-weight: normal; -} -table.ab-subscr-form { - width: 45em; -} -table.ab-tag-filter-form { - width: 45em; -} -.submit-row { - line-height: 30px; - padding-top: 10px; - display: block; - clear: both; -} -.errors { - line-height: 20px; - color: red; -} -.error { - color: darkred; - margin: 0; - font-size: 10px; -} -label.retag-error { - color: darkred; - padding-left: 5px; - font-size: 10px; -} -.fieldset { - border: none; - margin-top: 10px; - padding: 10px; -} -span.form-error { - color: #990000; - font-size: 90%; - font-weight: normal; - margin-left: 5px; -} -/* -.favorites-count-off { - color: #919191; - float: left; - text-align: center; -} - -.favorites-count { - color: #D4A849; - float: left; - text-align: center; -} -*/ -/* todo: get rid of this in html */ -.favorites-empty { - width: 32px; - height: 45px; - float: left; -} -.user-info-table { - margin-bottom: 10px; - border-spacing: 0; -} -/* todo: remove this hack? */ -.user-stats-table .narrow { - width: 660px; -} -.narrow .summary h3 { - padding: 0px; - margin: 0px; -} -.relativetime { - font-weight: bold; - text-decoration: none; -} -.narrow .tags { - float: left; -} -/* todo: make these more semantic */ -.user-action-1 { - font-weight: bold; - color: #333; -} -.user-action-2 { - font-weight: bold; - color: #CCC; -} -.user-action-3 { - color: #333; -} -.user-action-4 { - color: #333; -} -.user-action-5 { - color: darkred; -} -.user-action-6 { - color: darkred; -} -.user-action-7 { - color: #333; -} -.user-action-8 { - padding: 3px; - font-weight: bold; - background-color: #CCC; - color: #763333; -} -.revision-summary { - background-color: #FFFE9B; - padding: 2px; -} -.question-title-link a { - font-weight: bold; - color: #0077CC; -} -.answer-title-link a { - color: #333; -} -/* todo: make these more semantic */ -.post-type-1 a { - font-weight: bold; -} -.post-type-3 a { - font-weight: bold; -} -.post-type-5 a { - font-weight: bold; -} -.post-type-2 a { - color: #333; -} -.post-type-4 a { - color: #333; -} -.post-type-6 a { - color: #333; -} -.post-type-8 a { - color: #333; -} -.hilite { - background-color: #ff0; -} -.hilite1 { - background-color: #ff0; -} -.hilite2 { - background-color: #f0f; -} -.hilite3 { - background-color: #0ff; -} -.gold, .badge1 { - color: #FFCC00; -} -.silver, .badge2 { - color: #CCCCCC; -} -.bronze, .badge3 { - color: #CC9933; -} -.score { - font-weight: 800; - color: #333; -} -a.comment { - background: #EEE; - color: #993300; - padding: 5px; -} -a.offensive { - color: #999; -} -.message h1 { - padding-top: 0px; - font-size: 15px; -} -.message p { - margin-bottom: 0px; -} -p.space-above { - margin-top: 10px; -} -.warning { - color: red; -} -button::-moz-focus-inner { - padding: 0; - border: none; -} -.submit { - cursor: pointer; - /*letter-spacing:1px;*/ - - background-color: #D4D0C8; - height: 30px; - border: 1px solid #777777; - /* width:100px; */ - - font-weight: bold; - font-size: 120%; -} -.submit:hover { - text-decoration: underline; -} -.submit.small { - margin-right: 5px; - height: 20px; - font-weight: normal; - font-size: 12px; - padding: 1px 5px; -} -.submit.small:hover { - text-decoration: none; -} -.question-page a.submit { - display: -moz-inline-stack; - display: inline-block; - line-height: 30px; - padding: 0 5px; - *display: inline; -} -.noscript { - position: fixed; - top: 0px; - left: 0px; - width: 100%; - z-index: 100; - padding: 5px 0; - text-align: center; - font-family: sans-serif; - font-size: 120%; - font-weight: Bold; - color: #FFFFFF; - background-color: #AE0000; -} -.big { - font-size: 14px; -} -.strong { - font-weight: bold; -} -.orange { - /* used in django.po */ - - color: #d64000; - font-weight: bold; -} -.grey { - color: #808080; -} -.about div { - padding: 10px 5px 10px 5px; - border-top: 1px dashed #aaaaaa; -} -.highlight { - background-color: #FFF8C6; -} -.nomargin { - margin: 0; -} -.margin-bottom { - margin-bottom: 10px; -} -.margin-top { - margin-top: 10px; -} -.inline-block { - display: inline-block; -} -.action-status { - margin: 0; - border: none; - text-align: center; - line-height: 10px; - font-size: 12px; - padding: 0; -} -.action-status span { - padding: 3px 5px 3px 5px; - background-color: #fff380; - /* nice yellow */ - - font-weight: normal; - -moz-border-radius: 5px; - -khtml-border-radius: 5px; - -webkit-border-radius: 5px; -} -.list-table td { - vertical-align: top; -} -/* these need to go */ -table.form-as-table .errorlist { - display: block; - margin: 0; - padding: 0 0 0 5px; - text-align: left; - font-size: 10px; - color: darkred; -} -table.form-as-table input { - display: inline; - margin-left: 4px; -} -table.form-as-table th { - vertical-align: bottom; - padding-bottom: 4px; -} -.form-row-vertical { - margin-top: 8px; - display: block; -} -.form-row-vertical label { - margin-bottom: 3px; - display: block; -} -/* above stuff needs to go */ -.text-align-right { - text-align: center; -} -ul.form-horizontal-rows { - list-style: none; - margin: 0; -} -ul.form-horizontal-rows li { - position: relative; - height: 40px; -} -ul.form-horizontal-rows label { - display: inline-block; -} -ul.form-horizontal-rows ul.errorlist { - list-style: none; - color: darkred; - font-size: 10px; - line-height: 10px; - position: absolute; - top: 2px; - left: 180px; - text-align: left; - margin: 0; -} -ul.form-horizontal-rows ul.errorlist li { - height: 10px; -} -ul.form-horizontal-rows label { - position: absolute; - left: 0px; - bottom: 6px; - margin: 0px; - line-height: 12px; - font-size: 12px; -} -ul.form-horizontal-rows li input { - position: absolute; - bottom: 0px; - left: 180px; - margin: 0px; -} -.narrow .summary { - float: left; -} -.user-profile-tool-links { - font-weight: bold; - vertical-align: top; -} -ul.post-tags { - margin-left: 3px; -} -ul.post-tags li { - margin-top: 4px; - margin-bottom: 3px; -} -ul.post-retag { - margin-bottom: 0px; - margin-left: 5px; -} -#question-controls .tags { - margin: 0 0 3px 0; -} -#tagSelector { - padding-bottom: 2px; - margin-bottom: 0; -} -#related-tags { - padding-left: 3px; -} -#hideIgnoredTagsControl { - margin: 5px 0 0 0; -} -#hideIgnoredTagsControl label { - font-size: 12px; - color: #666; -} -#hideIgnoredTagsCb { - margin: 0 2px 0 1px; -} -#recaptcha_widget_div { - width: 318px; - float: left; - clear: both; -} -p.signup_p { - margin: 20px 0px 0px 0px; -} -.simple-subscribe-options ul { - list-style: none; - list-style-position: outside; - margin: 0; -} -/* a workaround to set link colors correctly */ -.wmd-preview a { - color: #1b79bd; -} -.wmd-preview li { - margin-bottom: 7px; - font-size: 14px; -} -.search-result-summary { - font-weight: bold; - font-size: 18px; - line-height: 22px; - margin: 0px 0px 0px 0px; - padding: 2px 0 0 0; - float: left; -} -.faq-rep-item { - text-align: right; - padding-right: 5px; -} -.user-info-table .gravatar { - margin: 0; -} -#responses { - clear: both; - line-height: 18px; - margin-bottom: 15px; -} -#responses div.face { - float: left; - text-align: center; - width: 54px; - padding: 3px; - overflow: hidden; -} -.response-parent { - margin-top: 18px; -} -.response-parent strong { - font-size: 20px; -} -.re { - min-height: 57px; - clear: both; - margin-top: 10px; -} -#responses input { - float: left; -} -#re_tools { - margin-bottom: 10px; -} -#re_sections { - margin-bottom: 6px; -} -#re_sections .on { - font-weight: bold; -} -.avatar-page ul { - list-style: none; -} -.avatar-page li { - display: inline; -} -.user-profile-page .avatar p { - margin-bottom: 0px; -} -.user-profile-page .tabBar a#stats { - margin-left: 0; -} -.user-profile-page img.gravatar { - margin: 2px 0 3px 0; -} -.user-profile-page h3 { - padding: 0; - margin-top: -3px; -} -.userList { - font-size: 13px; -} -img.flag { - border: 1px solid #eee; - vertical-align: text-top; -} -.main-page img.flag { - vertical-align: text-bottom; -} -/* Pretty printing styles. Used with prettify.js. */ -a.edit { - padding-left: 3px; - color: #145bff; -} -.str { - color: #080; -} -.kwd { - color: #008; -} -.com { - color: #800; -} -.typ { - color: #606; -} -.lit { - color: #066; -} -.pun { - color: #660; -} -.pln { - color: #000; -} -.tag { - color: #008; -} -/* name conflict here */ -.atn { - color: #606; -} -.atv { - color: #080; -} -.dec { - color: #606; -} -pre.prettyprint { - clear: both; - padding: 3px; - border: 0px solid #888; -} -@media print { - .str { - color: #060; - } - .kwd { - color: #006; - font-weight: bold; - } - .com { - color: #600; - font-style: italic; - } - .typ { - color: #404; - font-weight: bold; - } - .lit { - color: #044; - } - .pun { - color: #440; - } - .pln { - color: #000; - } - .tag { - color: #006; - font-weight: bold; - } - .atn { - color: #404; - } - .atv { - color: #060; - } -} -#leading-sidebar { - float: left; -} - -a.re_expand{ - color: #616161; - text-decoration:none; -} - -a.re_expand .re_content{ - display:none; - margin-left:77px; -}
\ No newline at end of file +@import url(jquery.autocomplete.css);.button-style-hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}body{background:#FFF;font-size:14px;line-height:150%;margin:0;padding:0;color:#000;font-family:Arial}div{margin:0 auto;padding:0}h1,h2,h3,h4,h5,h6,ul,li,dl,dt,dd,form,img,p{margin:0;padding:0;border:0}label{vertical-align:middle}hr{border:0;border-top:1px dashed #ccccce}input,select{vertical-align:middle;font-family:Trebuchet MS,"segoe ui",Helvetica,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;margin-left:0}textarea:focus,input:focus{outline:0}iframe{border:0}p{font-size:14px;line-height:140%;margin-bottom:6px}a{color:#1b79bd;text-decoration:none;cursor:pointer}h2{font-size:21px;padding:3px 0 3px 5px}h3{font-size:19px;padding:3px 0 3px 5px}ul{list-style:disc;margin-left:20px;padding-left:0;margin-bottom:1em}ol{list-style:decimal;margin-left:30px;margin-bottom:1em;padding-left:0}td ul{vertical-align:middle}li input{margin:3px 3px 4px 3px}pre{font-family:Consolas,Monaco,Liberation Mono,Lucida Console,Monospace;font-size:100%;margin-bottom:10px;background-color:#f5f5f5;padding-left:5px;padding-top:5px;padding-bottom:20px!ie7}code{font-family:Consolas,Monaco,Liberation Mono,Lucida Console,Monospace;font-size:100%}blockquote{margin-bottom:10px;margin-right:15px;padding:10px 0 1px 10px;background-color:#f5f5f5}* html .clearfix,* html .paginator{height:1;overflow:visible}+html .clearfix,+html .paginator{min-height:1%}.clearfix:after,.paginator:after{clear:both;content:".";display:block;height:0;visibility:hidden}.badges a{color:#763333;text-decoration:underline}a:hover{text-decoration:underline}.badge-context-toggle.active{cursor:pointer;text-decoration:underline}h1{font-size:24px;padding:10px 0 5px 0}body.user-messages{margin-top:2.4em}.left{float:left}.right{float:right}.clean{clear:both}.center{margin:0 auto;padding:0}.notify{position:fixed;top:0;left:0;width:100%;z-index:100;padding:0;text-align:center;background-color:#f5dd69;border-top:#fff 1px solid;font-family:'Yanone Kaffeesatz',sans-serif}.notify p.notification{margin-top:6px;margin-bottom:6px;font-size:16px;color:#424242}#closeNotify{position:absolute;right:5px;top:7px;color:#735005;text-decoration:none;line-height:18px;background:-6px -5px url(../images/sprites.png) no-repeat;cursor:pointer;width:20px;height:20px}#closeNotify:hover{background:-26px -5px url(../images/sprites.png) no-repeat}#header{margin-top:0;background:#16160f;font-family:'Yanone Kaffeesatz',sans-serif}.content-wrapper{width:960px;margin:auto;position:relative}#logo img{padding:5px 0 5px 0;height:75px;width:auto;float:left}#userToolsNav{height:20px;padding-bottom:5px}#userToolsNav a{height:35px;text-align:right;margin-left:20px;text-decoration:underline;color:#d0e296;font-size:16px}#userToolsNav a:first-child{margin-left:0}#userToolsNav a#ab-responses{margin-left:3px}#userToolsNav .user-info,#userToolsNav .user-micro-info{color:#b5b593}#userToolsNav a img{vertical-align:middle;margin-bottom:2px}#userToolsNav .user-info a{margin:0;text-decoration:none}#metaNav{float:right}#metaNav a{color:#e2e2ae;padding:0 0 0 35px;height:25px;line-height:30px;margin:5px 0 0 10px;font-size:18px;font-weight:100;text-decoration:none;display:block;float:left}#metaNav a:hover{text-decoration:underline}#metaNav a.on{font-weight:bold;color:#FFF;text-decoration:none}#metaNav a.special{font-size:18px;color:#b02b2c;font-weight:bold;text-decoration:none}#metaNav a.special:hover{text-decoration:underline}#metaNav #navTags{background:-50px -5px url(../images/sprites.png) no-repeat}#metaNav #navUsers{background:-125px -5px url(../images/sprites.png) no-repeat}#metaNav #navBadges{background:-210px -5px url(../images/sprites.png) no-repeat}#header.with-logo #userToolsNav{position:absolute;bottom:0;right:0}#header.without-logo #userToolsNav{float:left;margin-top:7px}#header.without-logo #metaNav{margin-bottom:7px}#secondaryHeader{height:55px;background:#e9e9e1;border-bottom:#d3d3c2 1px solid;border-top:#fcfcfc 1px solid;margin-bottom:10px;font-family:'Yanone Kaffeesatz',sans-serif}#secondaryHeader #homeButton{border-right:#afaf9e 1px solid;background:-6px -36px url(../images/sprites.png) no-repeat;height:55px;width:43px;display:block;float:left}#secondaryHeader #homeButton:hover{background:-51px -36px url(../images/sprites.png) no-repeat}#secondaryHeader #scopeWrapper{width:688px;float:left}#secondaryHeader #scopeWrapper a{display:block;float:left}#secondaryHeader #scopeWrapper .scope-selector{font-size:21px;color:#5a5a4b;height:55px;line-height:55px;margin-left:24px}#secondaryHeader #scopeWrapper .on{background:url(../images/scopearrow.png) no-repeat center bottom}#secondaryHeader #scopeWrapper .ask-message{font-size:24px}#searchBar{display:inline-block;background-color:#fff;width:412px;border:1px solid #c9c9b5;float:right;height:42px;margin:6px 0 0 15px}#searchBar .searchInput,#searchBar .searchInputCancelable{font-size:30px;height:40px;font-weight:300;background:#FFF;border:0;color:#484848;padding-left:10px;font-family:Arial;vertical-align:middle}#searchBar .searchInput{width:352px}#searchBar .searchInputCancelable{width:317px}#searchBar .logoutsearch{width:337px}#searchBar .searchBtn{font-size:10px;color:#666;background-color:#eee;height:42px;border:#FFF 1px solid;line-height:22px;text-align:center;float:right;margin:0;width:48px;background:-98px -36px url(../images/sprites.png) no-repeat;cursor:pointer}#searchBar .searchBtn:hover{background:-146px -36px url(../images/sprites.png) no-repeat}#searchBar .cancelSearchBtn{font-size:30px;color:#ce8888;background:#fff;height:42px;border:0;border-left:#deded0 1px solid;text-align:center;width:35px;cursor:pointer}#searchBar .cancelSearchBtn:hover{color:#d84040}body.anon #searchBar{width:500px}body.anon #searchBar .searchInput{width:440px}body.anon #searchBar .searchInputCancelable{width:405px}#askButton{line-height:44px;margin-top:6px;float:right;text-transform:uppercase;width:200px;height:42px;font-size:23px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363}#askButton:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}#ContentLeft{width:730px;float:left;position:relative;padding-bottom:10px}#ContentRight{width:200px;float:right;padding:0 0 10px 0}#ContentFull{float:left;width:960px}.box{background:#fff;padding:4px 0 10px 0;width:200px}.box p{margin-bottom:4px}.box p.info-box-follow-up-links{text-align:right;margin:0}.box h2{padding-left:0;background:#eceeeb;height:30px;line-height:30px;text-align:right;font-size:18px!important;font-weight:normal;color:#656565;padding-right:10px;margin-bottom:10px;font-family:'Yanone Kaffeesatz',sans-serif;width:190px}.box h3{color:#4a757f;font-size:18px;text-align:left;font-weight:normal;font-family:'Yanone Kaffeesatz',sans-serif;padding-left:0}.box .contributorback{background:#eceeeb url(../images/contributorsback.png) no-repeat center left}.box label{color:#707070;font-size:15px;display:block;float:right;text-align:left;font-family:'Yanone Kaffeesatz',sans-serif;width:80px;margin-right:18px}.box #displayTagFilterControl label{width:160px}.box ul{margin-left:22px}.box li{list-style-type:disc;font-size:13px;line-height:20px;margin-bottom:10px;color:#707070}.box ul.tags{list-style:none;margin:0;padding:0;line-height:170%;display:block}.box #displayTagFilterControl p label{color:#707070;font-size:15px}.box .inputs #interestingTagInput,.box .inputs #ignoredTagInput{width:153px;padding-left:5px;border:#c9c9b5 1px solid;height:25px}.box .inputs #interestingTagAdd,.box .inputs #ignoredTagAdd{border:0;font-weight:bold;margin-top:-2px;width:30px;height:27px;font-size:12px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;text-shadow:0 1px 0 #e6f6fa;-moz-text-shadow:0 1px 0 #e6f6fa;-webkit-text-shadow:0 1px 0 #e6f6fa}.box .inputs #interestingTagAdd:hover,.box .inputs #ignoredTagAdd:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}.box img.gravatar{margin:1px}.box a.followed,.box a.follow{line-height:34px;border:0;font-weight:normal;margin-top:3px;display:block;width:120px;height:34px;font-size:21px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;margin:0 auto;padding:0}.box a.followed:hover,.box a.follow:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}.box a.followed div.unfollow{display:none}.box a.followed:hover div{display:none}.box a.followed:hover div.unfollow{display:inline;color:#a05736}.box .favorite-number{padding:5px 0 0 5px;font-size:100%;font-family:Arial;font-weight:bold;color:#777;text-align:center}.box .notify-sidebar #question-subscribe-sidebar{margin:7px 0 0 3px}.statsWidget p{color:#707070;font-size:16px;border-bottom:#ccc 1px solid;font-size:13px}.statsWidget p strong{float:right;padding-right:10px}.questions-related{word-wrap:break-word}.questions-related p{line-height:20px;padding:4px 0 4px 0;font-size:16px;font-weight:normal;border-bottom:#ccc 1px solid}.questions-related a{font-size:13px}#tips li{color:#707070;font-size:13px;list-style-image:url(../images/tips.png)}#tips a{font-size:16px}#markdownHelp li{color:#707070;font-size:13px}#markdownHelp a{font-size:16px}.tabBar{background-color:#eff5f6;height:30px;margin-bottom:3px;margin-top:3px;float:right;font-family:Georgia,serif;font-size:16px;border-radius:5px;-ms-border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px}.tabBar h2{float:left}.tabsA,.tabsC{float:right;position:relative;display:block;height:20px}.tabsA{float:right}.tabsC{float:left}.tabsA a,.tabsC a{border-left:1px solid #d0e1e4;color:#7ea9b3;display:block;float:left;height:20px;line-height:20px;padding:4px 7px 4px 7px;text-decoration:none}.tabsA a.on,.tabsC a.on,.tabsA a:hover,.tabsC a:hover{color:#4a757f}.tabsA .label,.tabsC .label{float:left;color:#646464;margin-top:4px;margin-right:5px}.main-page .tabsA .label{margin-left:8px}.tabsB a{background:#eee;border:1px solid #eee;color:#777;display:block;float:left;height:22px;line-height:28px;margin:5px 0 0 4px;padding:0 11px 0 11px;text-decoration:none}.tabsC .first{border:0}.rss{float:right;font-size:16px;color:#f57900;margin:5px 0 3px 7px;width:52px;padding-left:2px;padding-top:3px;background:#fff url(../images/feed-icon-small.png) no-repeat center right;float:right;font-family:Georgia,serif;font-size:16px}.rss:hover{color:#f4a731!important}#questionCount{font-weight:bold;font-size:23px;color:#7ea9b3;width:200px;float:left;margin-bottom:8px;padding-top:6px;font-family:'Yanone Kaffeesatz',sans-serif}#listSearchTags{float:left;margin-top:3px;color:#707070;font-size:16px;font-family:'Yanone Kaffeesatz',sans-serif}ul#searchTags{margin-left:10px;float:right;padding-top:2px}.search-tips{font-size:16px;line-height:17px;color:#707070;margin:5px 0 10px 0;padding:0;float:left;font-family:'Yanone Kaffeesatz',sans-serif}.search-tips a{text-decoration:underline;color:#1b79bd}#question-list{float:left;position:relative;background-color:#FFF;padding:0;width:100%}.short-summary{position:relative;filter:inherit;padding:10px;border-bottom:1px solid #dddbce;margin-bottom:1px;overflow:hidden;width:710px;float:left;background:url(../images/summary-background.png) repeat-x}.short-summary h2{font-size:24px;font-weight:normal;line-height:26px;padding-left:0;margin-bottom:6px;display:block;font-family:'Yanone Kaffeesatz',sans-serif}.short-summary a{color:#464646}.short-summary .userinfo{text-align:right;line-height:16px;font-family:Arial;padding-right:4px}.short-summary .userinfo .relativetime,.short-summary span.anonymous{font-size:11px;clear:both;font-weight:normal;color:#555}.short-summary .userinfo a{font-weight:bold;font-size:11px}.short-summary .counts{float:right;margin:4px 0 0 5px;font-family:'Yanone Kaffeesatz',sans-serif}.short-summary .counts .item-count{padding:0 5px 0 5px;font-size:25px;font-family:'Yanone Kaffeesatz',sans-serif}.short-summary .counts .votes div,.short-summary .counts .views div,.short-summary .counts .answers div,.short-summary .counts .favorites div{margin-top:3px;font-size:14px;line-height:14px;color:#646464}.short-summary .tags{margin-top:0}.short-summary .votes,.short-summary .answers,.short-summary .favorites,.short-summary .views{text-align:center;margin:0 3px;padding:8px 2px 0 2px;width:51px;float:right;height:44px;border:#dbdbd4 1px solid}.short-summary .votes{background:url(../images/vote-background.png) repeat-x}.short-summary .answers{background:url(../images/answers-background.png) repeat-x}.short-summary .views{background:url(../images/view-background.png) repeat-x}.short-summary .no-votes .item-count{color:#b1b5b6}.short-summary .some-votes .item-count{color:#4a757f}.short-summary .no-answers .item-count{color:#b1b5b6}.short-summary .some-answers .item-count{color:#eab243}.short-summary .no-views .item-count{color:#b1b5b6}.short-summary .some-views .item-count{color:#d33f00}.short-summary .accepted .item-count{background:url(../images/accept.png) no-repeat top right;display:block;text-align:center;width:40px;color:#eab243}.short-summary .some-favorites .item-count{background:#338333;color:#d0f5a9}.short-summary .no-favorites .item-count{background:#eab243;color:yellow}.evenMore{font-size:13px;color:#707070;padding:15px 0 10px 0;clear:both}.evenMore a{text-decoration:underline;color:#1b79bd}.pager{margin-top:10px;margin-bottom:16px}.pagesize{margin-top:10px;margin-bottom:16px;float:right}.paginator{padding:5px 0 10px 0;font-size:13px;margin-bottom:10px}.paginator .prev a,.paginator .prev a:visited,.paginator .next a,.paginator .next a:visited{background-color:#fff;color:#777;padding:2px 4px 3px 4px}.paginator a{color:#7ea9b3}.paginator .prev{margin-right:.5em}.paginator .next{margin-left:.5em}.paginator .page a,.paginator .page a:visited,.paginator .curr{padding:.25em;background-color:#fff;margin:0 .25em;color:#ff}.paginator .curr{background-color:#8ebcc7;color:#fff;font-weight:bold}.paginator .next a,.paginator .prev a{color:#7ea9b3}.paginator .page a:hover,.paginator .curr a:hover,.paginator .prev a:hover,.paginator .next a:hover{color:#8c8c8c;background-color:#e1e1e1;text-decoration:none}.paginator .text{color:#777;padding:.3em}.paginator .paginator-container-left{padding:5px 0 10px 0}.tag-size-1{font-size:12px}.tag-size-2{font-size:13px}.tag-size-3{font-size:14px}.tag-size-4{font-size:15px}.tag-size-5{font-size:16px}.tag-size-6{font-size:17px}.tag-size-7{font-size:18px}.tag-size-8{font-size:19px}.tag-size-9{font-size:20px}.tag-size-10{font-size:21px}ul.tags,ul.tags.marked-tags,ul#related-tags{list-style:none;margin:0;padding:0;line-height:170%;display:block}ul.tags li{float:left;display:block;margin:0 8px 8px 0;padding:0;height:20px}.wildcard-tags{clear:both}ul.tags.marked-tags li,.wildcard-tags ul.tags li{margin-bottom:5px}#tagSelector div.inputs{clear:both;float:none;margin-bottom:10px}.tags-page ul.tags li,ul#ab-user-tags li{width:160px;margin:5px}ul#related-tags li{margin:0 5px 8px 0;float:left;clear:left}.tag-left{cursor:pointer;display:block;float:left;height:17px;margin:0 5px 0 0;padding:0;-webkit-box-shadow:0 0 5px #d3d6d7;-moz-box-shadow:0 0 5px #d3d6d7;box-shadow:0 0 5px #d3d6d7}.tag-right{background:#f3f6f6;border:#fff 1px solid;border-top:#fff 2px solid;outline:#cfdbdb 1px solid;display:block;float:left;height:17px;line-height:17px;font-weight:normal;font-size:11px;padding:0 8px 0 8px;text-decoration:none;text-align:center;white-space:nowrap;vertical-align:middle;font-family:Arial;color:#717179}.deletable-tag{margin-right:3px;white-space:nowrap;border-top-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-webkit-border-top-right-radius:4px}.tags a.tag-right,.tags span.tag-right{color:#585858;text-decoration:none}.tags a:hover{color:#1a1a1a}.users-page h1,.tags-page h1{float:left}.main-page h1{margin-right:5px}.delete-icon{margin-top:-1px;float:left;height:21px;width:18px;display:block;line-height:20px;text-align:center;background:#bbcdcd;cursor:default;color:#fff;border-top:#cfdbdb 1px solid;font-family:Arial;border-top-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;-webkit-border-top-right-radius:4px;text-shadow:0 1px 0 #7ea0a0;-moz-text-shadow:0 1px 0 #7ea0a0;-webkit-text-shadow:0 1px 0 #7ea0a0}.delete-icon:hover{background:#b32f2f}.tag-number{font-weight:normal;float:left;font-size:16px;color:#5d5d5d}.badges .tag-number{float:none;display:inline;padding-right:15px}.section-title{color:#7ea9b3;font-family:'Yanone Kaffeesatz',sans-serif;font-weight:bold;font-size:24px}#fmask{margin-bottom:30px;width:100%}#askFormBar{display:inline-block;padding:4px 7px 5px 0;margin-top:0}#askFormBar p{margin:0 0 5px 0;font-size:14px;color:#525252;line-height:1.4}#askFormBar .questionTitleInput{font-size:24px;line-height:24px;height:36px;margin:0;padding:0 0 0 5px;border:#cce6ec 3px solid;width:725px}.ask-page div#question-list,.edit-question-page div#question-list{float:none;border-bottom:#f0f0ec 1px solid;float:left;margin-bottom:10px}.ask-page div#question-list a,.edit-question-page div#question-list a{line-height:30px}.ask-page div#question-list h2,.edit-question-page div#question-list h2{font-size:13px;padding-bottom:0;color:#1b79bd;border-top:#f0f0ec 1px solid;border-left:#f0f0ec 1px solid;height:30px;line-height:30px;font-weight:normal}.ask-page div#question-list span,.edit-question-page div#question-list span{width:28px;height:26px;line-height:26px;text-align:center;margin-right:10px;float:left;display:block;color:#fff;background:#b8d0d5;border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px}.ask-page label,.edit-question-page label{color:#525252;font-size:13px}.ask-page #id_tags,.edit-question-page #id_tags{border:#cce6ec 3px solid;height:25px;padding-left:5px;width:395px;font-size:14px}.title-desc{color:#707070;font-size:13px}#fmanswer input.submit,.ask-page input.submit,.edit-question-page input.submit{float:left;font-weight:normal;margin-top:3px;width:160px;height:34px;font-size:21px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;margin-right:7px}#fmanswer input.submit:hover,.ask-page input.submit:hover,.edit-question-page input.submit:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}#editor{font-size:100%;min-height:200px;line-height:18px;margin:0;border-left:#cce6ec 3px solid;border-bottom:#cce6ec 3px solid;border-right:#cce6ec 3px solid;border-top:0;padding:10px;margin-bottom:10px;width:710px}@media screen and (-webkit-min-device-pixel-ratio:0){#editor{width:717px}}#id_title{width:100%}.wmd-preview{margin:3px 0 5px 0;padding:6px;background-color:#f5f5f5;min-height:20px;overflow:auto;font-size:13px;font-family:Arial}.wmd-preview p{margin-bottom:14px;line-height:1.4;font-size:14px}.wmd-preview pre{background-color:#e7f1f8}.wmd-preview blockquote{background-color:#eee}.wmd-preview IMG{max-width:600px}.preview-toggle{width:100%;color:#b6a475;text-align:left}.preview-toggle span:hover{cursor:pointer}.after-editor{margin-top:15px;margin-bottom:15px}.checkbox{margin-left:5px;font-weight:normal;cursor:help}.question-options{margin-top:1px;color:#666;line-height:13px;margin-bottom:5px}.question-options label{vertical-align:text-bottom}.edit-content-html{border-top:1px dotted #d8d2a9;border-bottom:1px dotted #d8d2a9;margin:5px 0 5px 0}.edit-question-page,#fmedit,.wmd-preview{color:#525252}.edit-question-page #id_revision,#fmedit #id_revision,.wmd-preview #id_revision{font-size:14px;margin-top:5px;margin-bottom:5px}.edit-question-page #id_title,#fmedit #id_title,.wmd-preview #id_title{font-size:24px;line-height:24px;height:36px;margin:0;padding:0 0 0 5px;border:#cce6ec 3px solid;width:725px;margin-bottom:10px}.edit-question-page #id_summary,#fmedit #id_summary,.wmd-preview #id_summary{border:#cce6ec 3px solid;height:25px;padding-left:5px;width:395px;font-size:14px}.edit-question-page .title-desc,#fmedit .title-desc,.wmd-preview .title-desc{margin-bottom:10px}.question-page h1{padding-top:0;font-family:'Yanone Kaffeesatz',sans-serif}.question-page h1 a{color:#464646;font-size:30px;font-weight:normal;line-height:1}.question-page p.rss{float:none;clear:both;padding:3px 0 0 23px;font-size:15px;width:110px;background-position:center left;margin-left:0!important}.question-page p.rss a{font-family:'Yanone Kaffeesatz',sans-serif;vertical-align:top}.question-page .question-content{float:right;width:682px;margin-bottom:10px}.question-page #question-table{float:left;border-top:#f0f0f0 1px solid}.question-page #question-table,.question-page .answer-table{margin:6px 0 6px 0;border-spacing:0;width:670px;padding-right:10px}.question-page .answer-table{margin-top:0;border-bottom:1px solid #d4d4d4;float:right}.question-page .answer-table td,.question-page #question-table td{width:20px;vertical-align:top}.question-page .question-body,.question-page .answer-body{overflow:auto;margin-top:10px;font-family:Arial;color:#4b4b4b}.question-page .question-body p,.question-page .answer-body p{margin-bottom:14px;line-height:1.4;font-size:14px;padding:0 5px 5px 0}.question-page .question-body a,.question-page .answer-body a{color:#1b79bd}.question-page .question-body li,.question-page .answer-body li{margin-bottom:7px}.question-page .question-body IMG,.question-page .answer-body IMG{max-width:600px}.question-page .post-update-info-container{float:right;width:175px}.question-page .post-update-info{background:#fff url(../images/background-user-info.png) repeat-x bottom;float:right;font-size:9px;font-family:Arial;width:158px;padding:4px;margin:0 0 5px 5px;line-height:14px;border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:0 2px 1px #bfbfbf;-moz-box-shadow:0 2px 1px #bfbfbf;box-shadow:0 2px 1px #bfbfbf}.question-page .post-update-info p{line-height:13px;font-size:11px;margin:0 0 2px 1px;padding:0}.question-page .post-update-info a{color:#444}.question-page .post-update-info .gravatar{float:left;margin-right:4px}.question-page .post-update-info p.tip{color:#444;line-height:13px;font-size:10px}.question-page .post-controls{font-size:11px;line-height:12px;min-width:200px;padding-left:5px;text-align:right;clear:left;float:right;margin-top:10px;margin-bottom:8px}.question-page .post-controls a{color:#777;padding:0 7px 3px 18px;cursor:pointer;border:0;font-size:12px;font-family:Arial;text-decoration:none;height:18px;display:block;float:right;line-height:18px;margin-top:-2px;margin-left:4px}.question-page .post-controls a:hover{background-color:#f5f0c9;border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px}.question-page .post-controls .sep{color:#ccc;float:right;height:18px;font-size:18px}.question-page .post-controls .question-delete,.question-page .answer-controls .question-delete{background:url(../images/delete.png) no-repeat center left;padding-left:11px}.question-page .post-controls .question-flag,.question-page .answer-controls .question-flag{background:url(../images/flag.png) no-repeat center left}.question-page .post-controls .question-edit,.question-page .answer-controls .question-edit{background:url(../images/edit2.png) no-repeat center left}.question-page .post-controls .question-retag,.question-page .answer-controls .question-retag{background:url(../images/retag.png) no-repeat center left}.question-page .post-controls .question-close,.question-page .answer-controls .question-close{background:url(../images/close.png) no-repeat center left}.question-page .post-controls .permant-link,.question-page .answer-controls .permant-link{background:url(../images/link.png) no-repeat center left}.question-page .tabBar{width:100%}.question-page #questionCount{float:left;font-family:'Yanone Kaffeesatz',sans-serif;line-height:15px}.question-page .question-img-upvote,.question-page .question-img-downvote,.question-page .answer-img-upvote,.question-page .answer-img-downvote{width:25px;height:20px;cursor:pointer}.question-page .question-img-upvote,.question-page .answer-img-upvote{background:url(../images/vote-arrow-up-new.png) no-repeat}.question-page .question-img-downvote,.question-page .answer-img-downvote{background:url(../images/vote-arrow-down-new.png) no-repeat}.question-page .question-img-upvote:hover,.question-page .question-img-upvote.on,.question-page .answer-img-upvote:hover,.question-page .answer-img-upvote.on{background:url(../images/vote-arrow-up-on-new.png) no-repeat}.question-page .question-img-downvote:hover,.question-page .question-img-downvote.on,.question-page .answer-img-downvote:hover,.question-page .answer-img-downvote.on{background:url(../images/vote-arrow-down-on-new.png) no-repeat}.question-page #fmanswer_button{margin:8px 0}.question-page .question-img-favorite:hover{background:url(../images/vote-favorite-on.png)}.question-page div.comments{padding:0}.question-page #comment-title{font-weight:bold;font-size:23px;color:#7ea9b3;width:200px;float:left;font-family:'Yanone Kaffeesatz',sans-serif}.question-page .comments{font-size:12px;clear:both}.question-page .comments div.controls{clear:both;float:left;width:100%;margin:3px 0 20px 5px}.question-page .comments .controls a{color:#988e4c;padding:0 3px 2px 22px;font-family:Arial;font-size:13px;background:url(../images/comment.png) no-repeat center left}.question-page .comments .controls a:hover{background-color:#f5f0c9;text-decoration:none}.question-page .comments .button{color:#988e4c;font-size:11px;padding:3px;cursor:pointer}.question-page .comments a{background-color:inherit;color:#1b79bd;padding:0}.question-page .comments form.post-comments{margin:3px 26px 0 42px}.question-page .comments form.post-comments textarea{font-size:13px;line-height:1.3}.question-page .comments textarea{height:42px;width:100%;margin:7px 0 5px 1px;font-family:Arial;outline:0;overflow:auto;font-size:12px;line-height:140%;padding-left:2px;padding-top:3px;border:#cce6ec 3px solid}@media screen and (-webkit-min-device-pixel-ratio:0){textarea{padding-left:3px!important}}.question-page .comments input{margin-left:10px;margin-top:1px;vertical-align:top;width:100px}.question-page .comments button{line-height:25px;margin-bottom:5px;width:100px;height:27px;font-size:12px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;font-family:Arial;font-weight:bold}.question-page .comments button:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}.question-page .comments .counter{display:inline-block;width:245px;float:right;color:#b6a475!important;vertical-align:top;font-family:Arial;float:right;text-align:right}.question-page .comments .comment{border-bottom:1px solid #edeeeb;clear:both;margin:0;margin-top:8px;padding-bottom:4px;overflow:auto;font-family:Arial;font-size:11px;min-height:25px;background:#fff url(../images/comment-background.png) bottom repeat-x;border-radius:5px;-ms-border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px}.question-page .comments div.comment:hover{background-color:#efefef}.question-page .comments a.author{background-color:inherit;color:#1b79bd;padding:0}.question-page .comments a.author:hover{text-decoration:underline}.question-page .comments span.delete-icon{background:url(../images/close-small.png) no-repeat;border:0;width:14px;height:14px}.question-page .comments span.delete-icon:hover{border:#bc564b 2px solid;border-radius:10px;-ms-border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-khtml-border-radius:10px;margin:-3px 0 0 -2px}.question-page .comments .content{margin-bottom:7px}.question-page .comments .comment-votes{float:left;width:37px;line-height:130%;padding:6px 5px 6px 3px}.question-page .comments .comment-body{line-height:1.3;margin:3px 26px 0 46px;padding:5px 3px;color:#666;font-size:13px}.question-page .comments .comment-body .edit{padding-left:6px}.question-page .comments .comment-body p{font-size:13px;line-height:1.3;margin-bottom:3px;padding:0}.question-page .comments .comment-delete{float:right;width:14px;line-height:130%;padding:8px 6px}.question-page .comments .upvote{margin:0;padding-right:17px;padding-top:2px;text-align:right;height:20px;font-size:13px;font-weight:bold;color:#777}.question-page .comments .upvote.upvoted{color:#d64000}.question-page .comments .upvote.hover{background:url(../images/go-up-grey.png) no-repeat;background-position:right 1px}.question-page .comments .upvote:hover{background:url(../images/go-up-orange.png) no-repeat;background-position:right 1px}.question-page .comments .help-text{float:right;text-align:right;color:gray;margin-bottom:0;margin-top:0;line-height:50%}.question-page #questionTools{font-size:22px;margin-top:11px;text-align:left}.question-page .question-status{margin-top:10px;margin-bottom:15px;padding:20px;background-color:#fef7cc;text-align:center;border:#e1c04a 1px solid}.question-page .question-status h3{font-size:20px;color:#707070;font-weight:normal}.question-page .vote-buttons{float:left;text-align:center;padding-top:2px;margin:10px 10px 0 3px;*margin:0;*height:210px;*width:30px}.question-page .vote-buttons IMG{cursor:pointer}.question-page .vote-number{font-family:'Yanone Kaffeesatz',sans-serif;padding:0 0 5px 0;font-size:25px;font-weight:bold;color:#777}.question-page .vote-buttons .notify-sidebar{text-align:left;width:120px}.question-page .vote-buttons .notify-sidebar label{vertical-align:top}.question-page .tabBar-answer{margin-bottom:15px;padding-left:7px;width:723px;margin-top:10px}.question-page .answer .vote-buttons{float:left}.question-page .accepted-answer{background-color:#f7fecc;border-bottom-color:#9bd59b}.question-page .accepted-answer .vote-buttons{width:27px;margin-right:10px;margin-top:10px}.question-page .answer .post-update-info a{color:#444}.question-page .answered{background:#CCC;color:#999}.question-page .answered-accepted{background:#dcdcdc;color:#763333}.question-page .answered-accepted strong{color:#e1e818}.question-page .answered-by-owner{background:#f1f1ff}.question-page .answered-by-owner .comments .button{background-color:#e6ecff}.question-page .answered-by-owner .comments{background-color:#e6ecff}.question-page .answered-by-owner .vote-buttons{margin-right:10px}.question-page .answer-img-accept{background:url(../images/vote-accepted.png);width:23px;height:23px}.question-page .accepted-answer .answer-img-accept,.question-page .answer-img-accept:hover{background:url(../images/vote-accepted-on.png)}.question-page .answer-body a{color:#1b79bd}.question-page .answer-body li{margin-bottom:.7em}.question-page #fmanswer{color:#707070;line-height:1.2;margin-top:10px}.question-page #fmanswer h2{font-family:'Yanone Kaffeesatz',sans-serif;color:#7ea9b3;font-size:24px}.question-page #fmanswer label{font-size:13px}.question-page .message{padding:5px;margin:0 0 10px 0}.facebook-share.icon,.twitter-share.icon,.linkedin-share.icon,.identica-share.icon{background:url(../images/socialsprite.png) no-repeat;display:block;text-indent:-100em;height:25px;width:25px;margin-bottom:3px}.facebook-share.icon:hover,.twitter-share.icon:hover,.linkedin-share.icon:hover,.identica-share.icon:hover{opacity:.8;filter:alpha(opacity=80)}.facebook-share.icon{background-position:-26px 0}.identica-share.icon{background-position:-78px 0}.twitter-share.icon{margin-top:10px;background-position:0 0}.linkedin-share.icon{background-position:-52px 0}.openid-signin,.meta,.users-page,.user-profile-edit-page{font-size:13px;line-height:1.3;color:#525252}.openid-signin p,.meta p,.users-page p,.user-profile-edit-page p{font-size:13px;color:#707070;line-height:1.3;font-family:Arial;color:#525252;margin-bottom:12px}.openid-signin h2,.meta h2,.users-page h2,.user-profile-edit-page h2{color:#525252;padding-left:0;font-size:16px}.openid-signin form,.meta form,.users-page form,.user-profile-edit-page form,.user-profile-page form{margin-bottom:15px}.openid-signin input[type="text"],.meta input[type="text"],.users-page input[type="text"],.user-profile-edit-page input[type="text"],.user-profile-page input[type="text"],.openid-signin input[type="password"],.meta input[type="password"],.users-page input[type="password"],.user-profile-edit-page input[type="password"],.user-profile-page input[type="password"],.openid-signin select,.meta select,.users-page select,.user-profile-edit-page select,.user-profile-page select{border:#cce6ec 3px solid;height:25px;padding-left:5px;width:395px;font-size:14px}.openid-signin select,.meta select,.users-page select,.user-profile-edit-page select,.user-profile-page select{width:405px;height:30px}.openid-signin textarea,.meta textarea,.users-page textarea,.user-profile-edit-page textarea,.user-profile-page textarea{border:#cce6ec 3px solid;padding-left:5px;padding-top:5px;width:395px;font-size:14px}.openid-signin input.submit,.meta input.submit,.users-page input.submit,.user-profile-edit-page input.submit,.user-profile-page input.submit{font-weight:normal;margin:5px 0;width:100px;height:26px;font-size:15px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;font-family:Arial}.openid-signin input.submit:hover,.meta input.submit:hover,.users-page input.submit:hover,.user-profile-edit-page input.submit:hover,.user-profile-page input.submit:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}.openid-signin .cancel,.meta .cancel,.users-page .cancel,.user-profile-edit-page .cancel,.user-profile-page .cancel{background:url(../images/small-button-cancel.png) repeat-x top!important;color:#525252!important}.openid-signin .cancel:hover,.meta .cancel:hover,.users-page .cancel:hover,.user-profile-edit-page .cancel:hover,.user-profile-page .cancel:hover{background:url(../images/small-button-cancel.png) repeat-x bottom!important}#email-input-fs,#local_login_buttons,#password-fs,#openid-fs{margin-top:10px}#email-input-fs #id_email,#local_login_buttons #id_email,#password-fs #id_email,#openid-fs #id_email,#email-input-fs #id_username,#local_login_buttons #id_username,#password-fs #id_username,#openid-fs #id_username,#email-input-fs #id_password,#local_login_buttons #id_password,#password-fs #id_password,#openid-fs #id_password{font-size:12px;line-height:20px;height:20px;margin:0;padding:0 0 0 5px;border:#cce6ec 3px solid;width:200px}#email-input-fs .submit-b,#local_login_buttons .submit-b,#password-fs .submit-b,#openid-fs .submit-b{width:100px;height:24px;font-size:15px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363;font-family:Arial;font-weight:bold;padding-right:10px;border:0}#email-input-fs .submit-b:hover,#local_login_buttons .submit-b:hover,#password-fs .submit-b:hover,#openid-fs .submit-b:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd}.openid-input{background:url(../images/openid.gif) no-repeat;padding-left:15px;cursor:pointer}.openid-login-input{background-position:center left;background:url(../images/openid.gif) no-repeat 0 50%;padding:5px 5px 5px 15px;cursor:pointer;font-family:Trebuchet MS;font-weight:300;font-size:150%;width:500px}.openid-login-submit{height:40px;width:80px;line-height:40px;cursor:pointer;border:1px solid #777;font-weight:bold;font-size:120%}.tabBar-user{width:375px}.user{padding:5px;line-height:140%;width:166px;border:#eee 1px solid;margin-bottom:5px;border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px}.user .user-micro-info{color:#525252}.user ul{margin:0;list-style-type:none}.user .thumb{clear:both;float:left;margin-right:4px;display:inline}.tabBar-tags{width:270px;margin-bottom:15px}a.medal{font-size:17px;line-height:250%;margin-right:5px;color:#333;text-decoration:none;background:url(../images/medala.gif) no-repeat;border-left:1px solid #EEE;border-top:1px solid #EEE;border-bottom:1px solid #CCC;border-right:1px solid #CCC;padding:4px 12px 4px 6px}a:hover.medal{color:#333;text-decoration:none;background:url(../images/medala_on.gif) no-repeat;border-left:1px solid #e7e296;border-top:1px solid #e7e296;border-bottom:1px solid #d1ca3d;border-right:1px solid #d1ca3d}#award-list .user{float:left;margin:5px}.tabBar-profile{width:100%;margin-bottom:15px;float:left}.user-profile-page{font-size:13px;color:#525252}.user-profile-page p{font-size:13px;line-height:1.3;color:#525252}.user-profile-page .avatar img{border:#eee 1px solid;padding:5px}.user-profile-page h2{padding:10px 0 10px 0;font-family:'Yanone Kaffeesatz',sans-serif}.user-details{font-size:13px}.user-details h3{font-size:16px}.user-about{background-color:#eee;height:200px;line-height:20px;overflow:auto;padding:10px;width:90%}.user-about p{font-size:13px}.follow-toggle,.submit{border:0!important;font-weight:bold;line-height:26px;margin-top:-2px;width:100px;height:26px;font-size:12px;text-align:center;text-decoration:none;cursor:pointer;color:#4a757f;font-family:'Yanone Kaffeesatz',sans-serif;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;border-top:#eaf2f3 1px solid;background-color:#d1e2e5;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#d1e2e5),color-stop(25%,#d1e2e5),to(#a9c2c7));background-image:-webkit-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-moz-linear-gradient(top,#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-ms-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:-o-linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);background-image:linear-gradient(#d1e2e5,#d1e2e5 25%,#a9c2c7);border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;-webkit-box-shadow:1px 1px 2px #636363;-moz-box-shadow:1px 1px 2px #636363;box-shadow:1px 1px 2px #636363}.follow-toggle:hover,.submit:hover{background-color:#cde5e9;background-repeat:no-repeat;background-image:-webkit-gradient(linear,0 0,0 100%,from(#cde5e9),color-stop(25%,#cde5e9),to(#94b3ba));background-image:-webkit-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-moz-linear-gradient(top,#cde5e9,#cde5e9 25%,#94b3ba);background-image:-ms-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:-o-linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);background-image:linear-gradient(#cde5e9,#cde5e9 25%,#94b3ba);text-decoration:none;text-shadow:0 1px 0 #c6d9dd;-moz-text-shadow:0 1px 0 #c6d9dd;-webkit-text-shadow:0 1px 0 #c6d9dd;text-decoration:none!important}.follow-toggle .follow{font-color:#000;font-style:normal}.follow-toggle .unfollow div.unfollow-red{display:none}.follow-toggle .unfollow:hover div.unfollow-red{display:inline;color:#fff;font-weight:bold;color:#a05736}.follow-toggle .unfollow:hover div.unfollow-green{display:none}.count{font-family:'Yanone Kaffeesatz',sans-serif;font-size:200%;font-weight:700;color:#777}.scoreNumber{font-family:'Yanone Kaffeesatz',sans-serif;font-size:35px;font-weight:800;color:#777;line-height:40px;margin-top:3px}.vote-count{font-family:Arial;font-size:160%;font-weight:700;color:#777}.answer-summary{display:block;clear:both;padding:3px}.answer-votes{background-color:#eee;color:#555;float:left;font-family:Arial;font-size:15px;font-weight:bold;height:17px;padding:2px 4px 5px;text-align:center;text-decoration:none;width:20px;margin-right:10px;border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px}.karma-summary{padding:5px;font-size:13px}.karma-summary h3{text-align:center;font-weight:bold;padding:5px}.karma-diagram{width:477px;height:300px;float:left;margin-right:10px}.karma-details{float:right;width:450px;height:250px;overflow-y:auto;word-wrap:break-word}.karma-details p{margin-bottom:10px}.karma-gained{font-weight:bold;background:#eee;width:25px;margin-right:5px;color:green;padding:3px;display:block;float:left;text-align:center;border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px}.karma-lost{font-weight:bold;background:#eee;width:25px;color:red;padding:3px;display:block;margin-right:5px;float:left;text-align:center;border-radius:3px;-ms-border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;-khtml-border-radius:3px}.submit-row{margin-bottom:10px}.revision{margin:10px 0 10px 0;font-size:13px;color:#525252}.revision p{font-size:13px;line-height:1.3;color:#525252}.revision h3{font-family:'Yanone Kaffeesatz',sans-serif;font-size:21px;padding-left:0}.revision .header{background-color:#f5f5f5;padding:5px;cursor:pointer}.revision .author{background-color:#e9f3f5}.revision .summary{padding:5px 0 10px 0}.revision .summary span{background-color:#fde785;padding:6px;border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px;display:inline;-webkit-box-shadow:1px 1px 4px #cfb852;-moz-box-shadow:1px 1px 4px #cfb852;box-shadow:1px 1px 4px #cfb852}.revision .answerbody{padding:10px 0 5px 10px}.revision .revision-mark{width:150px;text-align:left;display:inline-block;font-size:11px;overflow:hidden}.revision .revision-mark .gravatar{float:left;margin-right:4px;padding-top:5px}.revision .revision-number{font-size:300%;font-weight:bold;font-family:sans-serif}del,del .post-tag{color:#c34719}ins .post-tag,ins p,ins{background-color:#e6f0a2}.vote-notification{z-index:1;cursor:pointer;display:none;position:absolute;font-family:Arial;font-size:14px;font-weight:normal;color:white;background-color:#8e0000;text-align:center;padding-bottom:10px;-webkit-box-shadow:0 2px 4px #370000;-moz-box-shadow:0 2px 4px #370000;box-shadow:0 2px 4px #370000;border-radius:4px;-ms-border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-khtml-border-radius:4px}.vote-notification h3{background:url(../images/notification.png) repeat-x top;padding:10px 10px 10px 10px;font-size:13px;margin-bottom:5px;border-top:#8e0000 1px solid;color:#fff;font-weight:normal;border-top-right-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px}.vote-notification a{color:#fb7321;text-decoration:underline;font-weight:bold}#ground{width:100%;clear:both;border-top:1px solid #000;padding:6px 0 0 0;background:#16160f;font-size:16px;font-family:'Yanone Kaffeesatz',sans-serif}#ground p{margin-bottom:0}.footer-links{color:#EEE;text-align:left;width:500px;float:left}.footer-links a{color:#e7e8a8}.powered-link{width:500px;float:left;text-align:left}.powered-link a{color:#8ebcc7}.copyright{color:#616161;width:450px;float:right;text-align:right}.copyright a{color:#8ebcc7}.copyright img.license-logo{margin:6px 0 20px 10px;float:right}.notify-me{float:left}span.text-counter{margin-right:20px}span.form-error{color:#900;font-weight:normal;margin-left:5px}ul.errorlist{margin-bottom:0}p.form-item{margin:0}.deleted{background:#f4e7e7 none repeat scroll 0 0}.form-row{line-height:25px}table.form-as-table{margin-top:5px}table.form-as-table ul{list-style-type:none;display:inline}table.form-as-table li{display:inline}table.form-as-table td{text-align:right}table.form-as-table th{text-align:left;font-weight:normal}table.ab-subscr-form{width:45em}table.ab-tag-filter-form{width:45em}.submit-row{line-height:30px;padding-top:10px;display:block;clear:both}.errors{line-height:20px;color:red}.error{color:darkred;margin:0;font-size:10px}label.retag-error{color:darkred;padding-left:5px;font-size:10px}.fieldset{border:0;margin-top:10px;padding:10px}span.form-error{color:#900;font-size:90%;font-weight:normal;margin-left:5px}.favorites-empty{width:32px;height:45px;float:left}.user-info-table{margin-bottom:10px;border-spacing:0}.user-stats-table .narrow{width:660px}.narrow .summary h3{padding:0;margin:0}.relativetime{font-weight:bold;text-decoration:none}.narrow .tags{float:left}.user-action-1{font-weight:bold;color:#333}.user-action-2{font-weight:bold;color:#CCC}.user-action-3{color:#333}.user-action-4{color:#333}.user-action-5{color:darkred}.user-action-6{color:darkred}.user-action-7{color:#333}.user-action-8{padding:3px;font-weight:bold;background-color:#CCC;color:#763333}.revision-summary{background-color:#fffe9b;padding:2px}.question-title-link a{font-weight:bold;color:#07c}.answer-title-link a{color:#333}.post-type-1 a{font-weight:bold}.post-type-3 a{font-weight:bold}.post-type-5 a{font-weight:bold}.post-type-2 a{color:#333}.post-type-4 a{color:#333}.post-type-6 a{color:#333}.post-type-8 a{color:#333}.hilite{background-color:#ff0}.hilite1{background-color:#ff0}.hilite2{background-color:#f0f}.hilite3{background-color:#0ff}.gold,.badge1{color:#fc0}.silver,.badge2{color:#ccc}.bronze,.badge3{color:#c93}.score{font-weight:800;color:#333}a.comment{background:#EEE;color:#930;padding:5px}a.offensive{color:#999}.message h1{padding-top:0;font-size:15px}.message p{margin-bottom:0}p.space-above{margin-top:10px}.warning{color:red}button::-moz-focus-inner{padding:0;border:0}.submit{cursor:pointer;background-color:#d4d0c8;height:30px;border:1px solid #777;font-weight:bold;font-size:120%}.submit:hover{text-decoration:underline}.submit.small{margin-right:5px;height:20px;font-weight:normal;font-size:12px;padding:1px 5px}.submit.small:hover{text-decoration:none}.question-page a.submit{display:-moz-inline-stack;display:inline-block;line-height:30px;padding:0 5px;*display:inline}.noscript{position:fixed;top:0;left:0;width:100%;z-index:100;padding:5px 0;text-align:center;font-family:sans-serif;font-size:120%;font-weight:Bold;color:#fff;background-color:#ae0000}.big{font-size:14px}.strong{font-weight:bold}.orange{color:#d64000;font-weight:bold}.grey{color:#808080}.about div{padding:10px 5px 10px 5px;border-top:1px dashed #aaa}.highlight{background-color:#fff8c6}.nomargin{margin:0}.margin-bottom{margin-bottom:10px}.margin-top{margin-top:10px}.inline-block{display:inline-block}.action-status{margin:0;border:0;text-align:center;line-height:10px;font-size:12px;padding:0}.action-status span{padding:3px 5px 3px 5px;background-color:#fff380;font-weight:normal;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px}.list-table td{vertical-align:top}table.form-as-table .errorlist{display:block;margin:0;padding:0 0 0 5px;text-align:left;font-size:10px;color:darkred}table.form-as-table input{display:inline;margin-left:4px}table.form-as-table th{vertical-align:bottom;padding-bottom:4px}.form-row-vertical{margin-top:8px;display:block}.form-row-vertical label{margin-bottom:3px;display:block}.text-align-right{text-align:center}ul.form-horizontal-rows{list-style:none;margin:0}ul.form-horizontal-rows li{position:relative;height:40px}ul.form-horizontal-rows label{display:inline-block}ul.form-horizontal-rows ul.errorlist{list-style:none;color:darkred;font-size:10px;line-height:10px;position:absolute;top:2px;left:180px;text-align:left;margin:0}ul.form-horizontal-rows ul.errorlist li{height:10px}ul.form-horizontal-rows label{position:absolute;left:0;bottom:6px;margin:0;line-height:12px;font-size:12px}ul.form-horizontal-rows li input{position:absolute;bottom:0;left:180px;margin:0}.narrow .summary{float:left}.user-profile-tool-links{font-weight:bold;vertical-align:top}ul.post-tags{margin-left:3px}ul.post-tags li{margin-top:4px;margin-bottom:3px}ul.post-retag{margin-bottom:0;margin-left:5px}#question-controls .tags{margin:0 0 3px 0}#tagSelector{padding-bottom:2px;margin-bottom:0}#related-tags{padding-left:3px}#hideIgnoredTagsControl{margin:5px 0 0 0}#hideIgnoredTagsControl label{font-size:12px;color:#666}#hideIgnoredTagsCb{margin:0 2px 0 1px}#recaptcha_widget_div{width:318px;float:left;clear:both}p.signup_p{margin:20px 0 0 0}.simple-subscribe-options ul{list-style:none;list-style-position:outside;margin:0}.wmd-preview a{color:#1b79bd}.wmd-preview li{margin-bottom:7px;font-size:14px}.search-result-summary{font-weight:bold;font-size:18px;line-height:22px;margin:0;padding:2px 0 0 0;float:left}.faq-rep-item{text-align:right;padding-right:5px}.user-info-table .gravatar{margin:0}#responses{clear:both;line-height:18px;margin-bottom:15px}#responses div.face{float:left;text-align:center;width:54px;padding:3px;overflow:hidden}.response-parent{margin-top:18px}.response-parent strong{font-size:20px}.re{min-height:57px;clear:both;margin-top:10px}#responses input{float:left}#re_tools{margin-bottom:10px}#re_sections{margin-bottom:6px}#re_sections .on{font-weight:bold}.avatar-page ul{list-style:none}.avatar-page li{display:inline}.user-profile-page .avatar p{margin-bottom:0}.user-profile-page .tabBar a#stats{margin-left:0}.user-profile-page img.gravatar{margin:2px 0 3px 0}.user-profile-page h3{padding:0;margin-top:-3px}.userList{font-size:13px}img.flag{border:1px solid #eee;vertical-align:text-top}.main-page img.flag{vertical-align:text-bottom}a.edit{padding-left:3px;color:#145bff}.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun{color:#660}.pln{color:#000}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec{color:#606}pre.prettyprint{clear:both;padding:3px;border:0 solid #888}@media print{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun{color:#440}.pln{color:#000}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}#leading-sidebar{float:left}body.lang-es #searchBar{width:398px}body.lang-es #searchBar .searchInput{width:337px}body.lang-es #searchBar .searchInputCancelable{width:302px}body.anon.lang-es #searchBar{width:485px}body.anon.lang-es #searchBar .searchInput{width:425px}body.anon.lang-es #searchBar .searchInputCancelable{width:390px}a.re_expand{color:#616161;text-decoration:none}a.re_expand .re_content{display:none;margin-left:77px}
\ No newline at end of file diff --git a/askbot/skins/default/media/style/style.less b/askbot/skins/default/media/style/style.less index e63ff373..0d1e8112 100644 --- a/askbot/skins/default/media/style/style.less +++ b/askbot/skins/default/media/style/style.less @@ -154,6 +154,7 @@ h1 { padding: 10px 0 5px 0px; } + /* ----- Extra space above for messages ----- */ body.user-messages { @@ -463,24 +464,15 @@ body.anon { #askButton{ /* check blocks/secondary_header.html and widgets/ask_button.html*/ - background: url(../images/bigbutton.png) repeat-x bottom; line-height:44px; - text-align:center; - width:200px; - height:42px; - font-size:23px; - color:@button-label; - margin-top:7px; + margin-top:6px; float:right; text-transform:uppercase; - .rounded-corners(5px); - .box-shadow(1px, 1px, 2px, #636363) + .button-style(200px, 42px, 23px); } #askButton:hover{ - text-decoration:none; - background: url(../images/bigbutton.png) repeat-x top; - .text-shadow(0px, 1px, 0px, #c6d9dd) + .button-style-hover; } /* ----- Content layout, check two_column_body.html or one_column_body.html ----- */ @@ -531,6 +523,7 @@ body.anon { padding-right:10px; margin-bottom:10px; font-family:@main-font; + width:190px; } h3{ color:#4a757f; @@ -590,23 +583,15 @@ body.anon { height:25px; } #interestingTagAdd, #ignoredTagAdd{ - background:url(../images/small-button-blue.png) repeat-x top; border:0; - color:@button-label; font-weight:bold; - font-size:12px; - width:30px; - height:27px; margin-top:-2px; - cursor:pointer; + .button-style(30px,27px,12px); .rounded-corners(4px); - .text-shadow(0px,1px,0px,#E6F6FA); - .box-shadow(1px, 1px, 2px, #808080); - - + .text-shadow(0px,1px,0px,#E6F6FA); } #interestingTagAdd:hover, #ignoredTagAdd:hover{ - background:url(../images/small-button-blue.png) repeat-x bottom; + .button-style-hover; } } @@ -617,28 +602,17 @@ body.anon { /* widgets for question template */ a.followed, a.follow{ - background: url(../images/medium-button.png) top repeat-x; - height:34px; line-height:34px; - text-align:center; border:0; - font-family:@main-font; - color:@button-label; font-weight:normal; - font-size:21px; margin-top:3px; - display:block; - width:120px; - text-decoration:none; - .rounded-corners(4px); - .box-shadow(1px, 1px, 2px, #636363); + .button-style(120px,34px,21px); .center; } a.followed:hover, a.follow:hover{ - text-decoration:none; - background: url(../images/medium-button.png) bottom repeat-x; + .button-style-hover; .text-shadow(0px, 1px, 0px, #c6d9dd); } @@ -1133,7 +1107,7 @@ ul#related-tags { ul.tags li { float:left; display: block; - margin: 0 8px 0 0; + margin: 0 8px 8px 0; padding: 0; height:20px; } @@ -1352,24 +1326,16 @@ ul#related-tags li { .ask-page input.submit, .edit-question-page input.submit { float: left; - background: url(../images/medium-button.png) top repeat-x; - height:34px; - border:0; - font-family:@main-font; - color:@button-label; font-weight:normal; - font-size:21px; margin-top:3px; - .rounded-corners(4px); - .box-shadow(1px, 1px, 2px, #636363); + .button-style(160px,34px,21px); margin-right:7px; } #fmanswer input.submit:hover, .ask-page input.submit:hover, .edit-question-page input.submit:hover{ - text-decoration:none; - background: url(../images/medium-button.png) bottom repeat-x; + .button-style-hover; .text-shadow(0px, 1px, 0px, #c6d9dd) } #editor { /*adjustment for editor preview*/ @@ -1383,7 +1349,13 @@ ul#related-tags li { border-top:0; padding:10px; margin-bottom:10px; - width:717px; + width:710px; +} + +@media screen and (-webkit-min-device-pixel-ratio:0){ + #editor{ + width:717px; + } } #id_title { @@ -1796,24 +1768,14 @@ ul#related-tags li { width: 100px; } button{ - background:url(../images/small-button-blue.png) repeat-x top; - border:0; - color:@button-label; - font-family:@body-font; - font-size:13px; - width:100px; - font-weight:bold; - height:27px; line-height:25px; margin-bottom:5px; - cursor:pointer; - .rounded-corners(4px); - .text-shadow(0px,1px,0px,#E6F6FA); - .box-shadow(1px, 1px, 2px, #808080); + .button-style(100px,27px,12px); + font-family:@body-font; + font-weight:bold; } button:hover{ - background: url(../images/small-button-blue.png) bottom repeat-x; - .text-shadow(0px, 1px, 0px, #c6d9dd); + .button-style-hover; } .counter { display: inline-block; @@ -1958,6 +1920,10 @@ ul#related-tags li { text-align: center; padding-top: 2px; margin:10px 10px 0px 3px; + /* smalls IE fixes */ + *margin:0; + *height:210px; + *width:30px; } .vote-buttons IMG { @@ -2155,23 +2121,13 @@ ul#related-tags li { font-size:14px; } input.submit{ - background:url(../images/small-button-blue.png) repeat-x top; - border:0; - color:@button-label; - font-weight:bold; - font-size:13px; - font-family:@body-font; - height:26px; + font-weight:normal; margin:5px 0px; - width:100px; - cursor:pointer; - .rounded-corners(4px); - .text-shadow(0px,1px,0px,#E6F6FA); - .box-shadow(1px, 1px, 2px, #808080); + .button-style(100px,26px,15px); + font-family:@body-font; } input.submit:hover{ - background:url(../images/small-button-blue.png) repeat-x bottom; - text-decoration:none; + .button-style-hover; } .cancel{ background:url(../images/small-button-cancel.png) repeat-x top !important; @@ -2194,25 +2150,19 @@ ul#related-tags li { width:200px; } .submit-b{ - background:url(../images/small-button-blue.png) repeat-x top; - border:0; - color:@button-label; - font-weight:bold; - font-size:13px; + .button-style(100px,24px,15px); font-family:@body-font; - height:24px; - margin-top:-2px; - padding-left:10px; + font-weight:bold; padding-right:10px; - cursor:pointer; - .rounded-corners(4px); - .text-shadow(0px,1px,0px,#E6F6FA); - .box-shadow(1px, 1px, 2px, #808080) + border:0; } + .submit-b:hover{ - background:url(../images/small-button-blue.png) repeat-x bottom; + .button-style-hover; } } + + .openid-input { background: url(../images/openid.gif) no-repeat; padding-left: 15px; @@ -2357,23 +2307,14 @@ a:hover.medal { .follow-toggle,.submit { border:0 !important; - color:@button-label; font-weight:bold; - font-size:12px; - height:26px; line-height:26px; margin-top:-2px; - font-size:15px; - cursor:pointer; - font-family:@main-font; - background:url(../images/small-button-blue.png) repeat-x top; - .rounded-corners(4px); - .text-shadow(0px,1px,0px,#E6F6FA); - .box-shadow(1px, 1px, 2px, #808080) + .button-style(100px,26px,12px); } .follow-toggle:hover, .submit:hover { - background:url(../images/small-button-blue.png) repeat-x bottom; + .button-style-hover; text-decoration:none !important; } @@ -3383,3 +3324,12 @@ body.anon.lang-es { } } } +a.re_expand{ + color: #616161; + text-decoration:none; +} + +a.re_expand .re_content{ + display:none; + margin-left:77px; +} diff --git a/askbot/skins/default/templates/main_page/tab_bar.html b/askbot/skins/default/templates/main_page/tab_bar.html index 8b666155..17ab810e 100644 --- a/askbot/skins/default/templates/main_page/tab_bar.html +++ b/askbot/skins/default/templates/main_page/tab_bar.html @@ -3,9 +3,9 @@ {% cache 0 "scope_sort_tabs" search_tags request.user author_name scope sort query context.page language_code %} <a class="rss" {% if feed_url %} - href="{{settings.APP_URL}}{{feed_url}}" + href="{{feed_url}}" {% else %} - href="{{settings.APP_URL}}/feeds/rss/" + href="/feeds/rss/" {% endif %} title="{% trans %}subscribe to the questions feed{% endtrans %}" >{% trans %}RSS{% endtrans %} diff --git a/askbot/skins/default/templates/question/question_card.html b/askbot/skins/default/templates/question/question_card.html index 08f7ccee..dd52ea0f 100644 --- a/askbot/skins/default/templates/question/question_card.html +++ b/askbot/skins/default/templates/question/question_card.html @@ -29,4 +29,4 @@ </div> </div> -<div class="clean"></div> + diff --git a/askbot/skins/utils.py b/askbot/skins/utils.py index a07b1fa9..dee14e56 100644 --- a/askbot/skins/utils.py +++ b/askbot/skins/utils.py @@ -3,7 +3,7 @@ the lookup resolution process for templates and media works as follows: * look up item in selected skin * if not found look in 'default' -* raise an exception +* raise an exception """ import os import logging @@ -56,7 +56,7 @@ def get_available_skins(selected=None): #re-insert default as a last item skins['default'] = default_dir - skins['common'] = common_dir + skins['common'] = common_dir return skins @@ -71,7 +71,7 @@ def get_path_to_skin(skin): return skin_dirs.get(skin, None) def get_skin_choices(): - """returns a tuple for use as a set of + """returns a tuple for use as a set of choices in the form""" skin_names = list(reversed(get_available_skins().keys())) return zip(skin_names, skin_names) @@ -86,7 +86,7 @@ def resolve_skin_for_media(media=None, preferred_skin = None): def get_media_url(url, ignore_missing = False): """returns url prefixed with the skin name - of the first skin that contains the file + of the first skin that contains the file directories are searched in this order: askbot_settings.ASKBOT_DEFAULT_SKIN, then 'default', then 'commmon' if file is not found - returns None @@ -156,7 +156,7 @@ def get_media_url(url, ignore_missing = False): url = django_settings.STATIC_URL + use_skin + '/media/' + url url = os.path.normpath(url).replace('\\', '/') - + if resource_revision: url += '?v=%d' % resource_revision @@ -174,7 +174,7 @@ def update_media_revision(skin = None): if skin in get_skin_choices(): skin_path = get_path_to_skin(skin) else: - raise MediaNotFound('Skin %s not found' % skin) + raise MediaNotFound('Skin %s not found' % skin) else: skin = 'default' skin_path = get_path_to_skin(askbot_settings.ASKBOT_DEFAULT_SKIN) @@ -193,6 +193,6 @@ def update_media_revision(skin = None): if current_hash != askbot_settings.MEDIA_RESOURCE_REVISION_HASH: askbot_settings.update('MEDIA_RESOURCE_REVISION', resource_revision + 1) - askbot_settings.update('MEDIA_RESOURCE_REVISION_HASH', current_hash) + askbot_settings.update('MEDIA_RESOURCE_REVISION_HASH', current_hash) logging.debug('MEDIA_RESOURCE_REVISION changed') askbot_settings.MEDIA_RESOURCE_REVISION diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py index e890fb89..82eae060 100644 --- a/askbot/startup_procedures.py +++ b/askbot/startup_procedures.py @@ -11,7 +11,8 @@ import sys import os import re import askbot -from django.db import transaction +import south +from django.db import transaction, connection from django.conf import settings as django_settings from django.core.exceptions import ImproperlyConfigured from askbot.utils.loading import load_module @@ -166,7 +167,7 @@ def try_import(module_name, pypi_package_name): try: load_module(module_name) except ImportError, error: - message = 'Error: ' + unicode(error) + message = 'Error: ' + unicode(error) message += '\n\nPlease run: >pip install %s' % pypi_package_name message += '\n\nTo install all the dependencies at once, type:' message += '\npip install -r askbot_requirements.txt\n' @@ -305,10 +306,10 @@ class SettingsTester(object): ) if len(self.messages) != 0: raise AskbotConfigError( - '\n\nTime to do some maintenance of your settings.py:\n\n* ' + + '\n\nTime to do some maintenance of your settings.py:\n\n* ' + '\n\n* '.join(self.messages) ) - + def test_staticfiles(): """tests configuration of the staticfiles app""" errors = list() @@ -349,7 +350,7 @@ def test_staticfiles(): if static_url is None or str(static_url).strip() == '': errors.append( 'Add STATIC_URL setting to your settings.py file. ' - 'The setting must be a url at which static files ' + 'The setting must be a url at which static files ' 'are accessible.' ) url = urlparse(static_url).path @@ -406,7 +407,7 @@ def test_staticfiles(): ' python manage.py collectstatic\n' ) - + print_errors(errors) if django_settings.STATICFILES_STORAGE == \ 'django.contrib.staticfiles.storage.StaticFilesStorage': @@ -466,7 +467,26 @@ def test_settings_for_test_runner(): 'from MIDDLEWARE_CLASSES' ) print_errors(errors) - + +def test_mysql_south_bug(): + conflicting_mysql = [] + conn = connection.connection + if hasattr(conn, '_server_version') or\ + 'mysql' in connection.settings_dict['ENGINE']: + #checks for conflicting mysql version according to http://south.aeracode.org/ticket/747 + mysql_version = getattr(conn, '_server_version', (5,0)) + south_version = south.__version__ + if mysql_version >= (5,0) and south_version <= '0.7.4': + #just warns because some versions works and it's not possible + #to detect the full version number from thee connection object + message = 'Warning: There is a bug in south with mysql database engine,' + message += '\nmigrations might not work, to fix it please install south from their mercurial repository' + message += '\nmore information here: http://askbot.org/en/question/6902/error-while-setting-up-askbot?answer=6964#answer-container-6964' + askbot_warning(message) + else: + #not mysql + pass + def run_startup_tests(): """function that runs @@ -483,6 +503,7 @@ def run_startup_tests(): test_celery() #test_csrf_cookie_domain() test_staticfiles() + test_mysql_south_bug() settings_tester = SettingsTester({ 'CACHE_MIDDLEWARE_ANONYMOUS_ONLY': { 'value': True, |