@keyframes zoom { from { transform: scale(0.5); } to { transform: scale(1); } } @-webkit-keyframes scroll { 0% { -webkit-transform: translate(0, 0); transform: translate(0, 0); } 100% { -webkit-transform: translate(-100%, 0); transform: translate(-100%, 0); } } @-moz-keyframes scroll { 0% { -moz-transform: translate(0, 0); transform: translate(0, 0); } 100% { -moz-transform: translate(-100%, 0); transform: translate(-100%, 0); } } @keyframes scroll { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } } .App { @font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; background: var(--background-color); } .Body { // font-size: 20px; background: var(--background-color); } @import '~antd/dist/antd.css'; body { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-size: 20px; background: var(--background-color); } .Dropzone { display: flex; flex-direction: column; align-items: center; padding: 10px; border-width: 2px; border-radius: 2px; color: #1d5b78; transition: border 0.24s ease-in-out; font-size: medium; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; transition: 0.3s; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); font-size: 20px; } .Link { color: white; margin-left: 5px; } .Link:hover { text-decoration: underline; color: rgb(241, 69, 155); } .Header { display: flex; position: fixed; padding: 10px; z-index: 4; width: 100%; opacity: 1; background-color: var(--background-color-header); // background-color: rgb(206, 227, 255); top: 0; transition: 0.3s; box-shadow: 0 5px 10px rgba(73, 80, 83, 0.25), 0 10px 5px rgba(191, 194, 196, 0.22); .Links { margin: 0 10px; font-size: xx-large; color: var(--font-color); transition: 0.3s; padding: 0 5px; &:hover { color: var(--font-color-hover); opacity: 0.9; } &:active { transform: scale(1.1); } .Avatar { // margin-left: 20px; width: 50px; border: 3px solid #fffff7; height: 50px; transition: 0.3s; } } } .Save { display: flex; margin-top: 30px; margin-bottom: 30px; align-items: center; align-content: center; justify-content: center; width: 200px; } .Recomendations { margin-left: 20px; } .Likes { margin-left: 20px; } .User { } .Feed { margin-right: 20px; padding: 10px; border-radius: 25px; display: 'flex'; align-items: 'center'; justify-content: 'center'; } .EditSetting { display: 'flex'; align-items: 'center'; justify-content: 'center'; margin: 0 auto; } .Post { max-width: 450px; margin: 0 auto; display: block; background-color: var(--background-color-new-post); border: 6px solid #dbebfa; padding: 30px; border-radius: 25px; // display: 'flex'; align-items: 'center'; justify-content: 'center'; // margin-top: 100px; transition: 0.3s; // margin-bottom: 20px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9); position: absolute; top: 20%; left: 30%; // margin-right: -50%; // transform: translate(-10%, -50%) } ul { margin: 0; padding: 4px; } li { display: inline; margin-right: 5px; padding: 3px; list-style-type: none; } main { margin-top: 130px; } .Title { text-align: left; font-size: 18px; margin: 10px 0px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .Input { display: flex; // padding: 5px; margin: 10px; width: 80%; border-radius: 5px; font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; font-size: 20px; } .container { margin: 10px; background-color: rgb(84, 132, 222); margin-top: 20px; } .ButtonComment:hover { cursor: pointer; } .AboutMe { margin-top: 100px; display: flex; justify-content: center; .ProfileAvatar { margin-right: 20px; width: 150px; height: 150px; } .Info { .Login { font-weight: 600; font-size: 18px; color: var(--font-color); } font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; justify-content: center; display: flex; flex-direction: column; p { font-size: 16px; font-weight: 400; color: var(--font-color); padding: 0 auto; margin-bottom: 3px; } } } .Card { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); width: 250px; height: 250px; object-fit: cover; position: relative; } .EditAvatar { display: flex; align-items: center; flex-direction: column; } .Preview { object-fit: cover; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); height: 100px; width: 100px; margin-bottom: 5px; } .Explore { display: flex; flex-wrap: wrap; padding: 20px; margin: 20px; margin-top: 50px; } .Preloader { display: block; margin: 0 auto; margin-bottom: 200px; padding: 10px; } .Gallery { position: absolute; z-index: 2; // right: 0; width: 50px; height: 50px; margin: 10px; padding: 5px; } .Wrapper { margin: 40px; transition: filter 0.5s; } .Wrapper:hover { -webkit-filter: brightness(40%); filter: brightness(50%); } // .Like { // cursor: pointer; // font-size: xx-large; // color: red; // } // .Like:active { // transform: scale(1.1); // } .OneLike { display: flex; .Like { cursor: pointer; font-size: xx-large; color: black; transition: filter 0.3s; &:active { transform: scale(1.1); } &:hover { opacity: 0.6; } } .LikeStyle { cursor: pointer; padding: 3px; } } // .UnLike:hover { // opacity: 0.6; // } // .MyCarousel { // display: block; // object-fit: cover; // background: #84898987; // box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); // box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9); // background-color: white; // border: 6px solid #dbebfa; // margin: 0 10%; // border-radius: 5px; // } .Modal { background-color: var(--modal-color); font-size: medium; display: flex; flex-direction: column; padding: 10px; // margin-bottom: 20px; } // .PostFeed { // border-width: 20; // border-color: #ffffff; // background: #edf8f89e; // border-radius: 5px; // border-style: solid; // margin-bottom: 40px; // transition: 0.3s; // box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); // } .NextArrow { font-size: 35px; color: var(--arrow-color); position: absolute; left: 100%; top: 50%; margin: auto; padding-left: 10px; text-shadow: black 1px 0 10px; transition: opacity 0.3s; } .NextArrow:hover { opacity: 0.6; } .NextArrow:active { transform: scale(1.1); } .PreviousArrow { color: var(--arrow-color); font-size: 35px; position: absolute; margin: auto; right: 100%; top: 50%; padding-right: 10px; } .PreviousArrow:hover { opacity: 0.6; } .PreviousArrow:active { transform: scale(1.1); } .LoginForm { margin: 120px; padding: 10px; background: rgba(58, 100, 180, 1); border-radius: 15px; text-align: center; align-items: center; justify-content: center; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22); p { font-size: x-large; font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; text-align: center; margin: 0 auto; } .LoginForm-Form { box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22); background: rgb(142, 199, 239); border-radius: 10px; margin: 21px; padding: 20px 50px; Button { margin: 10px 0px; padding: 0px 10px; text-align: center; align-items: center; justify-content: center; } p { color: #0c3d67; margin: 0; padding: 0; font-size: medium; } } } .InputForm { position: fixed; color: black; display: flex; flex-direction: column; width: 100%; height: 100%; text-align: center; float: right; // background: var(--background-color-start); background: var(--background-color-login); transition: 0.3s; // right: 0; text-align: center; align-items: center; justify-content: center; img { margin-top: 200px; } } // .LikeStyle { // cursor: pointer; // padding: 3px; // } .SmileBtn { font-size: xx-large; // margin-right: 15px; } .Send { font-size: xx-large; bottom: 5px; } .SmileBtnFilled { font-size: xx-large; // margin-right: 15px; color: #108ee9; } .FooterFeed { display: flex; margin: 15px 0px; } .Comments { position: fixed; margin: 20px; width: 30%; padding: 10px; } .WithOutScroll { display: block; flex-direction: column; // height: 200px; } .Scroll { display: block; flex-direction: column; height: 200px; overflow-y: scroll; } .ScrollForFeed { display: block; flex-direction: column; height: 200px; overflow-y: scroll; } .button { background-color: #dbebfa; color: rgb(0, 0, 0); -webkit-transition-duration: 0.4s; transition-duration: 0.4s; padding: 15px; font-size: 15px; border-radius: 5px; margin: 15px; font-weight: 600; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 15px; transition: 0.3s; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); } .button:hover { background-color: #fffff7; color: black; } .PostsFeed { margin: 20px; padding: 30px; margin-top: 50px; .PostsFeed-one { border-width: 20; border-color: #ffffff; background: #edf8f89e; border-radius: 5px; border-style: solid; margin-bottom: 40px; transition: 0.3s; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); .Owner { margin: 10px; } } } .MyCarousel { // display: block; object-fit: cover; background: #84898987; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9); background-color: white; border: 6px solid #dbebfa; margin: 0 7%; border-radius: 5px; .PostImage { display: flex; align-items: center; width: 600px; height: 400px; object-fit: cover; margin-left: auto; margin-right: auto; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22); } } .SpoilerButton { right: 30px; margin: 20px; } .ProfilePage { display: flex; flex-wrap: wrap; margin: 20px; } .NumberPosts { float: right; margin-bottom: 10px; } .Avatar { margin-left: 20px; width: 100px; border: 3px solid #fffff7; height: 55px; transition: 0.3s; } .Avatar:hover { box-shadow: 0 5px 10px rgba(21, 46, 57, 0.25), 0 10px 10px rgba(12, 43, 58, 0.22); } .OnePost { margin-top: 100px; } .ResultUserFind { max-width: 500px; min-width: 320px; max-height: 500px; padding: 15px 0; overflow-y: auto; color:black; } .Search { padding: 10px; display: flex; position: fixed; z-index: 4; width: 100%; // background-color: rgb(206, 227, 255); background-color: #ffffff; top: 0; transition: 0.3s; box-shadow: 0 5px 10px rgba(73, 80, 83, 0.25), 0 10px 5px rgba(191, 194, 196, 0.22); } .ResultUserFindMobile { display: flex; flex-direction: column; // align-items: center; // max-width: 500px; // min-width: 320px; // max-height: 500px; margin-top: 50px; padding: 15px 5px; overflow: auto; padding-bottom: 60px; } .InputOnePost { display: flex; width: 40%; margin-left: 10px; margin-right: 10px; } .ProfileAvatar { margin-right: 20px; width: 150px; height: 150px; } .FooterPost { .CommentsPost { height: 250px; } } .ModalLink { display: flex; padding: 5px; flex-direction: row; font-size: 16px; font-weight: bold; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--font-color); color: var(--font-color); .ModalAvatar { width: 50px; height: 50px; } } .ModalEdit { background-color: var(--modal-color); display: flex; padding: 10px 30px; flex-direction: column; font-size: 16px; font-weight: bold; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--font-color); color: var(--font-color); } @media screen and (max-width: 1450px) { .Explore { .Wrapper { margin: 20px; .Card { width: 220px; height: 220px; } } } } /* 992px - 1200px */ @media screen and (max-width: 1200px) { .OneLike { .LikeStyle { width: 60px; } } .LoginForm { p { text-align: center; font-size: xx-large; } section { display: flex; // flex-direction: row; // width: 100%; align-items: center; text-align: center; margin: 0 auto; } } .InputForm { // width: 960px; img { width: 100%; // height: 50%; margin-bottom: 40%; margin-left: 20%; } Title { width: 100%; } } .OneLike { flex-direction: column; margin: 0px auto; .Like { .LikeStyle { padding: 5px; } } } .Explore { .Wrapper { margin: 20px; .Card { width: 220px; height: 220px; } } } .ProfilePage { .Wrapper { .Card { width: 150px; height: 150px; } } } } // /* 768px - 992px */ @media screen and (max-width: 992px) { .OneLike { .LikeStyle { width: 60px; } } .FooterFeed { margin: 10px 0px; } .LoginForm { p { text-align: center; font-size: xx-large; } } .Header { bottom: 0; top: auto; } .AboutMe { margin-top: 20px; } .PostsFeed { margin: 10px; } .ProfilePage { .Wrapper { margin: 10px; .Card { width: 150px; height: 150px; } } } .Explore { .Wrapper { .Gallery { width: 15px; height: 15px; padding: 0px; } margin: 20px; .Card { width: 150px; height: 150px; } } } .Preloader { margin-bottom: 80px; } .AboutMe { .ProfileAvatar { height: 100px; width: 100px; } .Info { .Login { font-size: 16px; } p { font-size: 14px; } } } } /*576px-768px*/ @media screen and (max-width: 768px) { .Header { .Links { // margin: 0 10px; // padding: 5px; font-size: x-large; .Avatar { width: 40px; border: 3px solid #fffff7; height: 40px; transition: 0.3s; } } } .FooterFeed { margin: 10px 0px; } .NextArrow { font-size: 30px; padding-left: 0px; margin-left: 10px; } .PreviousArrow { font-size: 30px; padding-right: 0px; margin-right: 10px; } .LoginForm { width: 70%; align-content: center; justify-content: center; margin: 0 auto; margin: 0 100px; padding: 0; // height: 90%; p { font-size: x-large; margin: 35px; } .LoginForm-Form { width: 90%; // padding: 10px; } } .Preloader { margin-bottom: 40px; } .Explore { margin-top: 0px; .Wrapper { margin: 10px; .Card { width: 120px; height: 120px; } } } .Post { display: block; // left: 0%; top: 20%; left: 20%; padding: 50px; margin-right: -50%; // right: 0%; } .MyCarousel { margin: 0 10%; border-radius: 5px; // .PostImage { // width: 300px; // height: 300px; // } } .OneLike { .LikeStyle { width: 60px; } } } /*320px-576px*/ @media screen and (max-width: 576px) { .Modal { display: flex; flex-direction: column; // margin: 20px; // width: 300px; .ModalAvatar { width: 30px; height: 30px; } } .SmileBtn { font-size: x-large; // margin-right: 15px; } .Send { font-size: x-large; bottom: 5px; } .SmileBtnFilled { font-size: x-large; // margin-right: 15px; color: #108ee9; } .NextArrow { font-size: 25px; padding-left: 0px; margin-left: 10px; } .PreviousArrow { font-size: 25px; padding-right: 0px; margin-right: 10px; } .PostsFeed { margin: 20px; padding: 0px; margin-top: 20px; .PostsFeed-one { padding: 10px; } } .Preview { height: 80px; width: 80px; margin-bottom: 5px; } .Save { width: 150px; } .Title { font-size: 15px; } .Dropzone { padding: 10px; font-size: 10px; font-size: small; } .OnePost { margin-top: 40px; } .ScrollForFeed { height: 150px; } .FooterPost { margin-bottom: 100px; .CommentsPost { height: 180px; } } .OneLike { display: flex; font-size: 12px; .Like { font-size: x-large; color: black; } .LikeStyle { cursor: pointer; padding: 0px; width: 40px; } } .MyCarousel { // display: block; object-fit: cover; background: #84898987; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22); box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9); background-color: white; border: 6px solid #dbebfa; margin: 0 10%; border-radius: 5px; .PostImage { width: 200px; height: 200px; } } .LoginForm { width: 90%; align-content: center; justify-content: center; margin: 30px 20px; // padding: 20px; height: 90%; padding-right: 12px; p { font-size: x-large; margin: 5px; } .LoginForm-Form { padding: 10px 20px; // width: 80%; // padding: 20px; } } .AboutMe { .ProfileAvatar { height: 80px; width: 80px; } .Info { .Login { font-size: 14px; } p { font-size: 12px; } } } .ProfilePage { .Wrapper { .Gallery { width: 15px; height: 15px; padding: 0px; } margin: 10px; .Card { width: 90px; height: 90px; } } } .ModalLink { font-size: 13px; padding: 10px; margin: 10px; } .Post { display: flex; flex-direction: column; max-width: 380px; top: 0%; left: 0%; overflow: hidden; background-color: var(background-color-new-post); // margin-top: 50px; margin: 10% 0; // height: 500px; // margin-top: 40px; // margin-bottom: 40px; } .Explore { margin-top: 0px; margin: 5px; .Wrapper { .Gallery { margin: 5px; width: 20px; height: 20px; } margin: 10px; .Card { width: 120px; height: 120px; } } } }