style.css 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. @import url('https://fonts.googleapis.com/css2?family=Roboto&family=Ubuntu&display=swap');
  2. @media only screen and (min-width: 2001px) {
  3. .maincontain { max-width: 100%; min-height: 50%; }
  4. .contain { width: 95%; min-height: 50%; }
  5. .youtube-video { width: 70%; }
  6. #msgs { width: 98%; }
  7. #navcontainer { width: 170px; }
  8. }
  9. @media only screen and (min-width: 700px) {
  10. .maincontain { max-width: 100%; min-height: 50%; }
  11. .contain { width: 95%; min-height: 50%; }
  12. .youtube-video { width: 70%; }
  13. #msgs { width: 98%; }
  14. #navcontainer { width: 170px; }
  15. }
  16. html, body {
  17. background-color: #d5d5d5;
  18. background-repeat: no-repeat;
  19. background-attachment: fixed;
  20. background-position: center;
  21. background-image: url('data/bg.jpg');
  22. color: #e3e3e3;
  23. font-size: 20px;
  24. margin: 0 auto;
  25. font-family: "Ubuntu", "Roboto", sans-serif;
  26. padding-bottom: 40px;
  27. }
  28. p {
  29. font-size: 22px;
  30. }
  31. h1 {
  32. font-size: 40px;
  33. }
  34. h2 {
  35. font-size: 34px;
  36. }
  37. h3 {
  38. font-size: 28px;
  39. }
  40. h4 {
  41. font-size: 28px;
  42. }
  43. .title {
  44. font-size: 26px;
  45. text-align: center;
  46. padding: 8px;
  47. }
  48. .date {
  49. font-size: 14px;
  50. padding-left: 8px;
  51. color: #808080;
  52. }
  53. /* Style The Dropdown Button */
  54. .dropbtn {
  55. font-family: "Ubuntu", "Roboto", sans-serif;
  56. background-color: #212121;
  57. color: white;
  58. padding: 12px 16px;
  59. font-size: 24px;
  60. border: none;
  61. cursor: pointer;
  62. }
  63. /* The container <div> - needed to position the dropdown content */
  64. /* Dropdown Content (Hidden by Default) */
  65. .dropdown-content {
  66. display: none;
  67. position: absolute;
  68. background-color: #f9f9f9;
  69. min-width: 160px;
  70. box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  71. z-index: 1;
  72. }
  73. /* Links inside the dropdown */
  74. .dropdown-content a {
  75. color: black;
  76. padding: 16px 20px;
  77. text-decoration: none;
  78. display: block;
  79. }
  80. #navbar, .dropdown {
  81. margin: 0 auto;
  82. background-color: #212121;
  83. padding: 2px;
  84. position: relative;
  85. display: inline-block;
  86. }
  87. #navbar a, .dropdown a {
  88. font-family: "Ubuntu", "Roboto", sans-serif;
  89. background-color: #212121;
  90. font-size: 24px;
  91. padding: 16px 20px;
  92. color: #5577ff;
  93. }
  94. #navbar a:hover {
  95. text-decoration: none;
  96. color: #99aaff;
  97. }
  98. /* Show the dropdown menu on hover */
  99. .dropdown:hover .dropdown-content {
  100. display: block;
  101. }
  102. /* Change the background color of the dropdown button when the dropdown content is shown */
  103. .dropdown:hover .dropbtn {
  104. background-color: #212121;
  105. }
  106. #footer {
  107. background-color: #121212;
  108. border-radius: 0 0 8px 8px;
  109. padding-top: 2px;
  110. padding-bottom: 2px;
  111. text-align: center;
  112. color: #dddddd;
  113. width: 100%;
  114. }
  115. .notifications {
  116. font-size: 1.2em;
  117. padding: 0px;
  118. margin: 0;
  119. border-collapse: collapse;
  120. }
  121. textarea {
  122. background-color: #222222;
  123. border-radius: 10px;
  124. border: 1px solid #323232;
  125. font-family: "Roboto Sans", Ubuntu, sans-serif;
  126. outline: none;
  127. resize: none;
  128. color: #d7d7d7;
  129. width: 98%;
  130. padding: 4px;
  131. }
  132. .dllink {
  133. margin: 0 auto;
  134. width: 100%;
  135. text-align: center;
  136. }
  137. input[type="file"] {
  138. display: none;
  139. }
  140. input, button, select, label {
  141. background-color: #222222;
  142. border: solid 1px #323232;
  143. outline: none;
  144. border-radius: 6px;
  145. color: #d7d7d7;
  146. padding: 6px;
  147. padding-left: 12px;
  148. padding-right: 12px;
  149. font-size: 22px;
  150. }
  151. .input-upload {
  152. display: inline-block;
  153. cursor: pointer;
  154. padding: 4px;
  155. }
  156. .button {
  157. background-color: #222222;
  158. border: solid 1px #323232;
  159. text-align: center;
  160. outline: none;
  161. border-radius: 4px;
  162. color: #d7d7d7;
  163. margin: auto;
  164. padding: 3px;
  165. padding-left: 10px;
  166. padding-right: 10px;
  167. display: inline-flex;
  168. cursor: pointer;
  169. }
  170. .avatar {
  171. border-radius: 50%;
  172. background: 50% 50% no-repeat; /* 50% 50% centers image in div */
  173. background-position: center;
  174. background-repeat: no-repeat;
  175. background-size: cover;
  176. object-fit: cover;
  177. width: 180px;
  178. height: 180px;
  179. }
  180. .avatar_small {
  181. border-radius: 50%;
  182. background: 50% 50% no-repeat; /* 50% 50% centers image in div */
  183. background-position: center;
  184. background-repeat: no-repeat;
  185. background-size: cover;
  186. object-fit: cover;
  187. width: 56px;
  188. height: 56px;
  189. }
  190. .avatar_chat {
  191. border-radius: 50%;
  192. background: 50% 50% no-repeat; /* 50% 50% centers image in div */
  193. background-position: center;
  194. background-repeat: no-repeat;
  195. background-size: cover;
  196. object-fit: cover;
  197. width: 28px;
  198. height: 28px;
  199. }
  200. #msgbox {
  201. display: block;
  202. margin: 0 auto;
  203. width: 98%;
  204. }
  205. .message {
  206. padding: 6px;
  207. border-radius: 5px 11px 11px;
  208. background-color: #2255ff;
  209. margin: 2px;
  210. color: #ffffff;
  211. overflow-wrap: break-word;
  212. }
  213. #msgs {
  214. background: #222222;
  215. border-radius: 5px;
  216. border: solid 1px #323232;
  217. padding: 6px;
  218. height: 400px;
  219. font-size: 20px;
  220. overflow-y: scroll;
  221. }
  222. .replycontain {
  223. margin: 0 auto;
  224. padding: 10px;
  225. }
  226. .attachment {
  227. /*max-height: 250px;*/
  228. display: block;
  229. margin: 0 auto;
  230. padding: 6px;
  231. border-radius: 5px;
  232. border: solid 1px #424242;
  233. background-color: #333333;
  234. }
  235. .attachment img {
  236. max-width: 400px;
  237. margin: 0 auto;
  238. display: block;
  239. max-height: 600px;
  240. }
  241. .attachment_chat {
  242. max-width: 280px;
  243. margin: 0 auto;
  244. display: block;
  245. max-height: 200px;
  246. }
  247. .page-controls {
  248. text-align: center;
  249. }
  250. .post {
  251. padding: 6px;
  252. border-radius: 5px;
  253. border: solid 1px #424242;
  254. background-color: #333333;
  255. color: #ffffff;
  256. font-size: 20px;
  257. overflow-x: hidden;
  258. }
  259. .post-footer {
  260. font-size: 20px;
  261. padding-top: 10px;
  262. border-top: solid 1px #424242;
  263. }
  264. .reply {
  265. background-color: #222222;
  266. border-radius: 4px 10px 10px;
  267. border: solid 1px #323232;
  268. padding: 6px;
  269. color: #d7d7d7;
  270. }
  271. .reply_content {
  272. font-size: 20px;
  273. padding: 6px;
  274. }
  275. .reacts {
  276. position: relative;
  277. display: inline-block;
  278. }
  279. .react-list {
  280. color: #cccccc;
  281. display: none;
  282. font-size: 14px;
  283. position: absolute;
  284. max-width: 160px;
  285. background-color: #222222;
  286. border: solid 1px #434343;
  287. border-radius: 4px;
  288. padding: 5px;
  289. }
  290. .reacts:hover .react-list {
  291. display: block;
  292. }
  293. a {
  294. color: #5577ff;
  295. text-decoration: none;
  296. }
  297. a:hover {
  298. color: #aabbff;
  299. text-decoration: none;
  300. }
  301. .contain {
  302. background-color: #121212;
  303. margin: 0 auto;
  304. padding: 5px;
  305. border-radius: 0 8px 0 0;
  306. }
  307. .friendslist {
  308. padding: 4px;
  309. text-align: center;
  310. }
  311. .friendslist tr,td {
  312. padding-left: 10px;
  313. padding-right: 10px;
  314. }
  315. .friendslist a {
  316. display: inline-block;
  317. text-align: center;
  318. width: 160px;
  319. }
  320. .maincontain {
  321. margin: 0 auto;
  322. border: solid 1px #343434;
  323. background-color: #212121;
  324. border-radius: 8px;
  325. box-shadow: 0px 0px 15px 5px #121212;
  326. }