@import "../node_modules/flatpickr/dist/flatpickr.min"; @import "./fonts"; .flatpickr-input{ outline: none; } * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #fafafa; font-size: 15px; } .container { max-width: 935px; margin: 0 auto; width: 100%; } .decoration img{ position: absolute; z-index: -2; } .decoration img:first-child { top: 0; left: -3%; } .decoration img:last-child { right: 0; bottom: -75%; } header { width: 100%; position: absolute; top: 0; left: 0; right: 0; height: 200px; background-color: rgba(255, 255, 255, 0.6); box-shadow: 0px 6px 24px 0px rgba(0,0,0,0.06); } header > .container { display: flex; padding: 15px 70px 0 70px; } header .logo { margin-right: 100px; } .profile { display: flex; flex-direction: column; justify-content: space-between; height: 116px; margin-top: 30px; } .profile .profile__info { display: flex; align-items: center; } .profile .profile__username { font-family: 'MyriadProRegular', serif; font-size: 2.3em; text-transform: lowercase; margin-right: 20px; } .profile .profile__start-date { font-family: 'HelveticaNeueRegular', serif; font-size: 1em; text-transform: capitalize; color: #4090db; border: 1px solid #4090db; padding: 10px 12px; border-radius: 3px; } .profile .profile__stats p { font-family: 'ProximaNovaRegular', serif; font-size: 1.1em; display: inline-block; margin-right: 30px; } .profile .profile__stats p > span { font-family: 'ProximaNovaBold', serif; } .profile .profile__date-select > .profile__date-select__name { font-family: 'Tahoma', serif; } .profile__date-select__input { display: inline-block; position: relative; } .profile .profile__date-select input { width: 180px; padding: 8px 9px; border-radius: 3px; border: 1px solid #cccccc; margin-left: 25px; } .profile .profile__date-select button { position: absolute; top: 1px; bottom: 1px; right: 1px; border-radius: 0 2px 2px 0; border: none; border-left: 1px solid #cccccc; padding: 6px; background-color: #ebebeb; color: #7c7c7c; user-select: none; cursor: pointer; outline: none; } main { margin-top: 200px; } .mode-switcher { padding: 20px 0; } .mode-switcher .container { display: flex; justify-content: flex-end; } .mode-switcher .mode-switcher__items{ display: flex; } .mode-switcher__items-grid, .mode-switcher__items-list { margin-left: 20px; width: 25px; height: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; cursor: pointer; } .mode-switcher__items-grid.active div, .mode-switcher__items-list.active div { background-color: #3b8ede; } .mode-switcher__items-grid div, .mode-switcher__items-list div { width: 7px; height: 7px; background-color: #cccccc; border-radius: 1px; } .mode-switcher__items-list div:nth-child(2n) { width: 16px; } /* ===========================DISPLAY LIST================= */ .content.display_list .content__item { width: 100%; background-color: #fff; border-radius: 2px; display: flex; margin-bottom: 10px; } .content.display_list .content__item-img { display: inline-block; width: 95px; height: 95px; } .content.display_list .content__item-img img { width: 100%; height: 100%; } .content.display_list .content__item-info { width: 90%; display: flex; justify-content: space-around; /* margin: 0 auto; */ } .content .content__item-info .content__item-info__data { margin-top: 15px; font-family: 'HelveticaNeueBold'; /* HELWETICA CE BOLD*/ font-size: 1.1em; } .content.display_list .content__item-info .content__item-info__data p:first-child { margin-bottom: 15px; } .content .content__item-info .content__item-info__data p:last-child { display: flex!important; align-items: center; } .content .content__item-info .content__item-info__data p:last-child span.material-icons { margin-right: 6px; } .content .content__item-info .content__item-info__data p:last-child span.comments { margin-left: 30px; transform: scale(-1,1); } /* ===========================DISPLAY GRID================= */ .content.display_grid .container{ display: flex; justify-content: space-between; flex-wrap: wrap; } .content.display_grid .content__item { width: 293px; height: 293px; position: relative; margin-bottom: 30px; cursor: pointer; } .content.display_grid .content__item-img { position: absolute; top: 0; left: 0; width: 100%; z-index: -1; height: 100%; } .content.display_grid .content__item-info { opacity: 0; /* display: none; */ position: absolute; background-color: rgba(0,0,0,0.5); padding: 20px; height: 100%; width: 100%; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; transition: opacity 0.3s ease-in; } .content.display_grid .content__item:hover .content__item-info { opacity: 1; } .content.display_grid .content__item-info .content__item-info__data { width: 100%; display: flex; } .content.display_grid .content__item-info .content__item-info__data:last-child { justify-content: center; } .content.display_grid .content__item-info .content__item-info__data p { color: #fff; } .content.display_grid .content__item-info .content__item-info__data p:first-child { width: 40%; display: inline-block; color: #fff; } .content.display_grid .content__item-info .content__item-info__data:last-child p:first-child { width: auto; } .content.display_grid .content__item-info .content__item-info__data:last-child p:first-child::after { content: ':'; margin-right: 7px; } /* BUTTON */ .load-more { width: 100%; margin: 45px 0 75px 0; } .load-more .load-more__button { outline: none; display: block; margin: 0 auto; font-family: 'ProximaNovaRegular'; font-size: 0.8em; text-transform: uppercase; background: none; border: 1px solid #000; border-radius: 30px; padding: 10px 30px; cursor: pointer; }