Project_Camper/vagus/static/css/style.css
2021-01-27 20:09:55 +01:00

287 lines
4.4 KiB
CSS

body {
margin: 0 auto;
color: black;
font-family: 'Poppins';
}
body a {
color:black;
text-decoration: none;
}
body a:hover {
color:black;
text-decoration: none;
}
.link {
color:black;
text-decoration: none;
}
.link:hover {
color:black;
text-decoration: none;}
.container {
width: 1380px;
max-width: 100%;
margin: 0 auto;
}
/* HEADER SMART BANER */
.header-smart-baner {
width: 100%;
height: 40px;
background-color: rgb(248,244,244);
}
.header-smart-baner-text {
padding-top: 10px;
padding-bottom: 10px;
text-decoration: underline;
text-align: center;
color: black;
font-weight: 400;
font-size: 13px;
}
/* END SMART BANER */
/* --------------- */
.header {
overflow: hidden;
color: black;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
height: 80px;
max-height: 100%;
}
/* HEADER LOGO */
.header-logo{
padding-bottom: 12px;
padding-left: 15px;
max-width: 85px;
}
.header-logo a {
font-family: 'Dosis';
font-size: 32px;
font-weight: 600;
}
/* HEADER NAV */
.header-nav {
display: inline-block;
padding-right: 15px;
max-width: 90%;
}
.header-nav a {
font-family: 'Poppins';
font-size: 14px;
font-weight: 500;
padding-left: 15px;
padding-right: 15px;
}
.header-nav a:active {
opacity: 85%;
}
.header-nav a:hover {
opacity: 85%;
}
.header-nav-bar {
display: inline-block;
max-height: 85px;
max-width: 300px;
min-width: 50px;
}
.header-nav-bar-container {
display: flex;
margin: 0;
}
/* ------------------------ */
/* ------------------------ */
.header-nav-bar-text {
margin: auto;
text-align: center;
}
.header-nav-bar-text a {
font-size: 1em;
font-weight: 600!important;
}
.header-nav-bar-avatar {
min-width: 36px;
max-height: 36px;
padding-left: 10px;
}
.header-nav-bar img {
width: 36px;
border-radius: 50%;
}
@media(min-width:840px){
.header-nav-bar {
padding-left: 20px;
padding-right: 15px;
font-size: 16px;
}
}
@media(max-width: 840px) {
.header-smart-baner{
display: none;
}
.header-nav a {
display: none;
}
.header-logo a {
float: none;
display: block;
text-align: left;
}
}
.main-content {
padding-left: 20px;
padding-right: 20px;
}
/* OFFERS BOX */
.offer-box-wrapper{
margin-top: 50px;
margin-bottom: 50px;
}
.offer-box-row{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content:flex-start;
}
.offer-box-row div {
margin-left:6px;
}
.offer-box-wrapper-photo{
flex:10%;
}
.offer-box-wrapper-photo img {
width:400px;
border-radius: 5%;
display: block;
height: auto; /* maintain aspect ratio*/
margin: auto;
}
.offer-box-wrapper-content{
margin-top: 10px;
flex:50%;
}
.offer-box-wrapper-content h2 {
font-size:19px;
font-weight: 500;
}
.offer-box-wrapper-content p {
font-size: 12px;
}
.offer-box-wrapper-content a {
color:black;
font-size: 15px;
font-family: 'Poppins';
text-decoration: none;
}
.offer-box-wrapper-content ul {
white-space:wrap;
margin-left: 0; padding-left: 0;
}
.offer-box-wrapper-content li {
display: inline;
font-size:11px;
}
/* OFFERS PAGINATION */
.page-item.active .page-link {
z-index: 1;
color: #fff;
background-color: #070707 !important;
border-color: #000000 !important;
}
/* PROFILE */
.profile-wrapper {
margin-top: 50px;
width: 100%;
}
.profile-wrapper-row{
display: flex;
flex-flow:row wrap;
justify-content:flex-start;
min-height: 600px;
}
.profile-wrapper-row-information {
flex:20%;
background-color: crimson;
}
.profile-wrapper-row-content {
flex:70%;
}
.profile-information-row {
display: flex;
flex-flow:row wrap;
}
.profile-information-avatar{
display: flex;
justify-content: center;
align-items: center;
flex:1 100%;
}
.profile-information-avatar img {
width: 200px;
height: 200px;
margin:5px;
border-radius: 50%;
border: 0.5px solid black;
}
.profile-information-content {
margin-top:10px;
flex:1 100%;
}
.profile-email, .profile-date-joined {
color:#48484898;
text-align: center;
}
.profile-date-joined{
font-size: 0.9em;
}
.profile-logout {
color:black;
text-align: center;
font-weight: 600;
}