84 lines
1.2 KiB
PHP
84 lines
1.2 KiB
PHP
|
<?php include("../colors.php"); ?>
|
||
|
65;6002;1cbody{
|
||
|
background-color: <?= $color_bg ?>;
|
||
|
}
|
||
|
#parent-container{
|
||
|
width: 80%;
|
||
|
margin: 50px auto;
|
||
|
/*background-color: <?= $color_main ?>;*/
|
||
|
}
|
||
|
#header{
|
||
|
text-align: right;
|
||
|
padding: 20px;
|
||
|
background-color: <?= $color_main ?>;
|
||
|
}
|
||
|
|
||
|
.columns-container{
|
||
|
display: flex;
|
||
|
}
|
||
|
.column{
|
||
|
flex: 25%;
|
||
|
}
|
||
|
.question-container{
|
||
|
flex: 75%;
|
||
|
}
|
||
|
|
||
|
/* user profile styling */
|
||
|
#user-container{
|
||
|
/*background-color: black;*/
|
||
|
text-align: center;
|
||
|
background-color: <?= $color_3 ?>;
|
||
|
padding: 30px;
|
||
|
margin: 0px;
|
||
|
}
|
||
|
#user-name{
|
||
|
font-size: 30px;
|
||
|
font-weight: bold;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
#user-bio{
|
||
|
|
||
|
}
|
||
|
|
||
|
/* Form column */
|
||
|
.form-column{
|
||
|
background-color: <?= $color_2 ?>;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
.form-column textarea{
|
||
|
width: 100%;
|
||
|
height: 80px;
|
||
|
}
|
||
|
|
||
|
/* Questions */
|
||
|
.question-container{
|
||
|
padding: 10px;
|
||
|
background-color: <?= $color_main ?>;
|
||
|
}
|
||
|
.question{
|
||
|
margin: 20px;
|
||
|
margin-bottom: 10px;
|
||
|
}
|
||
|
.question-username{
|
||
|
font-size: 20px;
|
||
|
font-weight: bold;
|
||
|
padding-bottom: 15px;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.question-text{
|
||
|
margin-bottom: 15px;
|
||
|
}
|
||
|
.question-date{
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.answer{
|
||
|
padding: 10px;
|
||
|
margin-top: 15px;
|
||
|
margin-left: 40px;
|
||
|
}
|
||
|
|
||
|
/* Footer */
|
||
|
#footer{
|
||
|
background-color: <?= $color_bg ?>;
|
||
|
}
|