#parent-container{ width: 80%; margin: 50px auto 30px; /*background-color: ;*/ } #header{ text-align: right; padding: 20px; background-color: ; } .columns-container{ display: flex; } .column{ flex: 25%; } .question-container{ flex: 75%; } /* user profile styling */ #user-container{ text-align: center; background-color: ; padding: 30px; margin: 0px; } #user-name{ font-size: 30px; font-weight: bold; margin-bottom: 20px; } #user-bio{ } /* Form column */ .form-column{ background-color: ; padding: 10px; overflow: hidden; } .form-column textarea{ width: 100%; height: 80px; margin-bottom: 10px; } .form-column input[type="submit"]{ margin: 10px; float: right; } .form-column input[type="submit"]:hover{ background-color: } /* Highlighted post (?p=id) */ .highlighted-post{ background-color: ; padding: 10px; margin-bottom: 50px; } .highlighted-post .question-body{ margin: 30px; } .highlighted-post .question-date{ margin-top: 40px; float: none; } .highlighted-post .question-text{ margin: 15px; } .highlighted-post .answer{ background-color: ; margin: 0px; padding: 30px; } .highlighted-post .answer .title{ font-weight: bold; margin-bottom: 15px; } .highlighted-post .answer-text{ padding: 15px; } .highlighted-post .answer-date{ color: ; } /* Questions */ .question-container{ padding: 10px; background-color: ; } .question{ margin: 20px; margin-bottom: 40px; } .question-username{ font-size: 20px; font-weight: bold; padding-bottom: 15px; text-decoration: none; } .question-text{ margin-bottom: 15px; } .question-date{ float: right; margin-bottom: 20px; } .question-footer, .question-footer a{ color: } .question-footer a:hover{ color: white; } .answer{ clear: both; padding: 10px; margin-left: 40px; background-color: ; } .answer-date{ margin-top: 20px; } /* Footer */ #footer{ padding: 10px; /*background-color: ;*/ text-align: center; margin-bottom: 30px; } @media screen and (max-width: 800px){ .columns-container{ display: block; } }