/* * This is a manifest file that'll automatically include all the stylesheets available in this directory * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at * the top of the compiled file, but it's generally better to create a new file per style scope. *= require_self *= require_tree . */ .hidden { display: none; } #flash_alert.no_results { margin-left: -80px; } #page_wrap { width: 970px; margin: auto; } .text { line-height: 18px; } #page_content { width: 630px; border-right: 1px solid #ccc; padding-right: 100px; } body#questions.index #page_content, body#questions.show #page_content { margin-left: 80px; width: 550px; } #sidebar { float: right; width: 180px; padding: 0 30px; } #sidebar .button { width: 100%; } #sidebar ul { list-style: none; padding: 0; } img.avatar { float: right; box-shadow: 0 1px 4px #666; width: 48px; height: 48px; margin: 0 0 10px 20px; } div#questions { min-height: 250px; } .question { margin-bottom: 43px; border-bottom: dashed 1px #E0E0E0; padding-bottom: 45px; } .question h3 { margin-bottom: 5px; width: 500px; } .question h3 a { color: #333; text-decoration: none; } .question h3 a:hover { color: green; background: transparent; } .question cite { display: block; margin-bottom: 20px; color: #aaa; } .question cite a { font-style: normal; margin-left: 5px; } .question .text { margin-bottom: 25px; min-height: 73px; } .question a.view_more { margin-left: 10px; } .question .tags { color: #aaa; } .question .tags a { margin: 0 3px; } .timestamp { color: #aaa; float: right; } /* questions stats section */ .question .stats { float: left; width: 43px; margin-left: -80px; padding: 7px 4px 10px; background: #e0e0e0; border: 1px solid #aaa; } .question .stats span { display: block; text-align: center; } .question .stats > div { padding: 8px 0 11px; border-top: 1px solid #aaa; } .question .stats .vote_count { padding-top: 0; border-top: none; } .question .stats .views_count { padding-bottom: 0; } .question .stats span.count { font-size: 24px; font-weight: bold; } .question .stats span.type { font-size: 10px; } /* styles for question on question show page */ body#questions.show .question { border-bottom: none; margin-bottom: 20px; } /* answers section */ #answer_count{ border: 1px dashed #ccc; border-left: none; border-right: none; padding: 4px 0; margin-bottom: 20px; } #answers .answer { padding: 15px 0; border-top: 1px dashed #ccc; } #answers .answer:first-child { border-top: none; } #answers .answer cite { color: #aaa; display: block; margin-top: 20px; } #answers .answer cite a { font-style: normal; margin-left: 5px; } #answers .answer .text { clear: right; margin-top: 10px; } /* answer question form */ form#new_rostra_answer { padding-top: 30px; border-top: 2px solid #ccc; margin-top: 50px; } form#new_rostra_answer .field label.text { font-size: 16px; margin-bottom: 10px; } form#new_rostra_answer .field label abbr { display: none; } form#new_rostra_answer .field textarea { height: 150px; width: 100%; margin: 10px 0; } /* comment form */ form.comment { display: none; } form.comment label { display: none; } form.comment textarea { height: 100px; margin-top: 25px !important; } /* comments */ .comments { clear: both; padding: 5px 0 15px; } .comments .comment { background: #E0E0E0; padding: 8px 10px; margin-top: 10px; } .comments .comment .timestamp { float: none; text-align: right; margin-top: 5px } .comments .comment .timestamp a { margin-right: 5px } .comments .comment .timestamp a:first-child { margin-left: 10px } .comments .editable form textarea { min-height: 50px; margin-bottom: 0; } .comments .editable form button { padding: 3px 6px 4px; margin-right: 5px; font-size: 10px; } /*voting styles*/ .vote_wrapper { text-align: center; width: 43px; font-size: 22px; font-weight: bold; line-height: 12px; float: left; margin: -5px 0 0 -66px; } .vote { background-image: url("vote_arrows.png"); background-repeat: no-repeat; width: 43px; height: 43px; display: block; text-indent: -9999px; background-color: transparent; } .vote:hover{ background-color: transparent; } .vote.up{ background-position: 0 0; } .vote.up:hover, .vote.up.selected{ background-position: 0 -43px; } .vote.down{ background-position: 0 -129px; } .vote.down:hover, .vote.down.selected{ background-position: 0 -86px; }