librecat/themes/minimalpunk/css/user.css.php

172 lines
2.5 KiB
PHP
Raw Normal View History

2020-05-30 20:23:04 +00:00
<?php include("../colors.php"); ?>
#parent-container{
width: 80%;
margin: 50px auto 30px;
/*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{
text-align: center;
background-color: <?= $color_3 ?>;
padding: 30px;
margin: 0px;
}
#user-name{
font-size: 30px;
font-weight: bold;
margin-bottom: 20px;
}
#user-bio{
}
2020-08-29 12:31:09 +00:00
/* Form column */
2020-05-30 20:23:04 +00:00
.form-column{
background-color: <?= $color_2 ?>;
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: <?= $color_main ?>
}
2020-08-29 12:31:09 +00:00
/* Highlighted post (?p=p) */
.highlighted-post{
background-color: <?= $color_2 ?>;
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: <?= $color_main ?>;
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: <?= $color_4 ?>;
}
2020-08-29 12:31:09 +00:00
/* Questions */
2020-05-30 20:23:04 +00:00
.question-container{
padding: 10px;
background-color: <?= $color_main ?>;
}
.question{
margin: 20px;
margin-bottom: 40px;
2020-05-30 20:23:04 +00:00
}
.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: <?= $color_4 ?>
}
.question-footer a:hover{
color: white;
}
2020-05-30 20:23:04 +00:00
.question-private{
font-size: 15px;
font-weight: normal;
color: <?= $color_4 ?>
}
2020-05-30 20:23:04 +00:00
.answer{
clear: both;
padding: 10px;
margin-left: 40px;
background-color: <?= $color_2 ?>;
}
.answer-date{
margin-top: 20px;
}
2020-08-29 12:31:09 +00:00
/* Page selector */
.page-selector{
text-align: center;
color: <?= $color_4 ?>;
}
.ps_item{
display: inline-block;
}
.ps_item a{
padding: 5px;
font-weight: bold;
text-decoration: none;
}
/* Footer */
2020-05-30 20:23:04 +00:00
#footer{
padding: 10px;
/*background-color: <?= $color_3 ?>;*/
text-align: center;
margin-bottom: 30px;
}
@media screen and (max-width: 800px){
.columns-container{
display: block;
}
}