App.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. .App {
  2. @font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
  3. 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
  4. 'Noto Color Emoji';
  5. }
  6. body {
  7. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  8. font-size: 20px;
  9. }
  10. @import '~antd/dist/antd.css';
  11. .Dropzone {
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. padding: 10px;
  16. border-width: 2px;
  17. border-radius: 2px;
  18. background-color: #74d2e7;
  19. color: #1d5b78;
  20. outline: none;
  21. transition: border 0.24s ease-in-out;
  22. font-size: medium;
  23. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  24. transition: 0.3s;
  25. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  26. font-size: 20px;
  27. }
  28. .Links {
  29. margin: 10px;
  30. font-size: xx-large;
  31. color: black;
  32. transition: 0.3s;
  33. }
  34. .Links:hover {
  35. color: white;
  36. opacity: 0.7;
  37. }
  38. .Link{
  39. color: white;
  40. margin-left: 5px;
  41. }
  42. .Link:hover{
  43. text-decoration: underline;
  44. color:rgb(241, 69, 155);
  45. }
  46. .Links:active {
  47. transform: scale(1.1);
  48. }
  49. .Header {
  50. display: flex;
  51. position: fixed;
  52. padding: 10px;
  53. z-index: 4;
  54. width: 100%;
  55. background-color: rgb(206, 227, 255);
  56. top: 0;
  57. transition: 0.3s;
  58. box-shadow: 0 5px 10px rgba(73, 80, 83, 0.25),
  59. 0 10px 5px rgba(191, 194, 196, 0.22);
  60. }
  61. .Recomendations {
  62. margin-left: 20px;
  63. }
  64. .Likes {
  65. margin-left: 20px;
  66. }
  67. .User {
  68. }
  69. .Feed {
  70. margin-right: 20px;
  71. padding: 10px;
  72. border-radius: 25px;
  73. display: 'flex';
  74. align-items: 'center';
  75. justify-content: 'center';
  76. }
  77. .EditSetting {
  78. display: 'flex';
  79. align-items: 'center';
  80. justify-content: 'center';
  81. margin: 0 auto;
  82. }
  83. .Post {
  84. max-width: 450px;
  85. margin: 0 auto;
  86. background-color: white;
  87. border: 6px solid #dbebfa;
  88. padding: 10px;
  89. border-radius: 25px;
  90. display: 'flex';
  91. align-items: 'center';
  92. justify-content: 'center';
  93. margin-top: 100px;
  94. transition: 0.3s;
  95. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  96. box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9);
  97. }
  98. ul {
  99. margin: 0;
  100. padding: 4px;
  101. }
  102. li {
  103. display: inline;
  104. margin-right: 5px;
  105. padding: 3px;
  106. list-style-type: none;
  107. }
  108. main {
  109. margin-top: 130px;
  110. }
  111. .Title {
  112. text-align: left;
  113. margin: 10px;
  114. }
  115. .Input {
  116. display: flex;
  117. width: 90%;
  118. padding: 5px;
  119. border-radius: 20px;
  120. font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  121. font-size: 30px;
  122. }
  123. .container {
  124. padding: 10px;
  125. margin-top: 20px;
  126. }
  127. .AboutMe {
  128. margin-top: 100px;
  129. display: flex;
  130. justify-content: center;
  131. }
  132. .Info {
  133. justify-content: center;
  134. display: flex;
  135. flex-direction: column;
  136. }
  137. .Card {
  138. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25),
  139. 0 10px 10px rgba(0, 0, 0, 0.22);
  140. }
  141. .Wrapper {
  142. margin: 40px;
  143. transition: filter 0.5s;
  144. }
  145. .Wrapper:hover {
  146. -webkit-filter: brightness(40%);
  147. filter: brightness(50%);
  148. }
  149. .Like {
  150. cursor: pointer;
  151. font-size: xx-large;
  152. color: red;
  153. }
  154. .Like:active {
  155. transform: scale(1.1);
  156. }
  157. .UnLike {
  158. cursor: pointer;
  159. font-size: xx-large;
  160. color: white;
  161. transition: filter 0.3s;
  162. }
  163. .UnLike:hover {
  164. opacity: 0.6;
  165. }
  166. .MyCarousel {
  167. display: block;
  168. object-fit: cover;
  169. background: #84898987;
  170. box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  171. box-shadow: inset 2px 2px 5px rgba(128, 125, 125, 0.9);
  172. background-color: white;
  173. border: 6px solid #dbebfa;
  174. margin: 0 10%;
  175. border-radius: 5px;
  176. }
  177. .Modal {
  178. font-size: medium;
  179. display: flex;
  180. flex-direction: column;
  181. margin-bottom: 20px;
  182. }
  183. .PostFeed {
  184. border-width: 20;
  185. border-color: #ffffff;
  186. background: #edf8f89e;
  187. border-radius: 5px;
  188. border-style: solid;
  189. margin-bottom: 40px;
  190. transition: 0.3s;
  191. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25),
  192. 0 10px 10px rgba(0, 0, 0, 0.22);
  193. }
  194. .InputForm {
  195. position: fixed;
  196. color: black;
  197. flex-direction: column;
  198. width: 100%;
  199. height: 100%;
  200. float: right;
  201. background: rgb(58,100,180);
  202. background: linear-gradient(90deg,
  203. rgba(58,100,180,1) 0%, rgba(92,168,221,1) 51%,
  204. rgba(29,253,182,1) 100%);
  205. transition: 0.3s;
  206. right:0;
  207. }
  208. .LoginPage{
  209. margin:150px;
  210. }
  211. .LoginForm{
  212. margin:100px;
  213. padding: 20px 0px;
  214. background: rgba(58,100,180,1);
  215. border-radius: 15px;
  216. text-align: center;
  217. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  218. }
  219. .NextArrow {
  220. font-size: 50px;
  221. color: #41607d;
  222. position: absolute;
  223. left: 100%;
  224. top: 50%;
  225. margin: auto;
  226. padding-left: 20px;
  227. text-shadow: black 1px 0 10px;
  228. transition: opacity 0.3s;
  229. }
  230. .NextArrow:hover{
  231. opacity: 0.6;
  232. }
  233. .NextArrow:active{
  234. transform: scale(1.1);
  235. }
  236. .PostImage {
  237. display: flex;
  238. align-items: center;
  239. width: 700px;
  240. height: 500px;
  241. object-fit: cover;
  242. margin-left: auto;
  243. margin-right: auto;
  244. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  245. }
  246. .Form {
  247. box-shadow: 0 10px 10px rgba(0, 0, 0, 0.22);
  248. background: rgb(142, 199, 239);
  249. border-radius: 10px;
  250. }
  251. .Comments {
  252. position: fixed;
  253. margin: 20px;
  254. width: 30%;
  255. padding: 10px;
  256. }
  257. .Scroll {
  258. display: block;
  259. flex-direction: column;
  260. height: 200px;
  261. overflow-y: scroll;
  262. }
  263. .ScrollForFeed {
  264. display: block;
  265. flex-direction: column;
  266. height: 20s0px;
  267. overflow-y: scroll;
  268. }
  269. .button {
  270. background-color: #dbebfa;
  271. color: rgb(0, 0, 0);
  272. -webkit-transition-duration: 0.4s;
  273. transition-duration: 0.4s;
  274. padding: 15px;
  275. font-size: 15px;
  276. border-radius: 5px;
  277. margin: 15px;
  278. font-weight: 600;
  279. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  280. font-size: 15px;
  281. transition: 0.3s;
  282. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  283. }
  284. .button:hover {
  285. background-color: #fffff7;
  286. color: black;
  287. }
  288. .PostsFeed {
  289. margin: 20px;
  290. padding: 40px;
  291. // overflow-y: scroll;
  292. }
  293. .SpoilerButton {
  294. right: 30px;
  295. margin: 20px;
  296. }
  297. .NumberPosts{
  298. text-shadow: 1px 1px 1px rgb(81, 77, 77),
  299. 3px 3px 5px rgb(72, 72, 76);
  300. // box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  301. }
  302. .Avatar {
  303. margin-left: 20px;
  304. width: 100px;
  305. border: 3px solid #fffff7;
  306. height: 55px;
  307. transition: 0.3s;
  308. // box-shadow: 0 5px 10px rgba(77, 141, 168, 0.25),
  309. // 0 10px 10px rgba(22, 93, 129, 0.22);
  310. }
  311. .Avatar:hover {
  312. box-shadow: 0 5px 10px rgba(21, 46, 57, 0.25),
  313. 0 10px 10px rgba(12, 43, 58, 0.22);
  314. }
  315. .ResultUserFind {
  316. max-width: 500px;
  317. min-width: 320px;
  318. max-height: 500px;
  319. padding: 15px 0;
  320. overflow: auto;
  321. }
  322. .InputOnePost{
  323. display: flex;
  324. width: 40%;
  325. margin-left: 10px;
  326. margin-right: 10px;
  327. }