mobile.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. /* overall */
  2. * {
  3. font-family: arial, helvetica, sans-serif;
  4. font-size: 12pt;
  5. }
  6. html,body{
  7. height:100%;
  8. }
  9. body {
  10. margin: 0;
  11. background-attachment: fixed;
  12. background-size: auto 100%;
  13. background-repeat: no-repeat;
  14. background-position: center top;
  15. }
  16. a {
  17. text-decoration:none;
  18. }
  19. h1 {
  20. font-size:20px;
  21. }
  22. p {
  23. margin: 0px !important;
  24. }
  25. ul{
  26. padding:0px;
  27. margin:0px;
  28. }
  29. select{
  30. padding:5px;
  31. margin-top:5px;
  32. border:0px;
  33. font-weight:bold;
  34. font-family:fontello, sans-serif;
  35. }
  36. option{
  37. font-family:fontello, sans-serif;
  38. }
  39. label {
  40. margin-left: 5px;
  41. margin-right: 5px;
  42. cursor: pointer;
  43. }
  44. input[type="file"], .nloadmore {
  45. cursor:pointer;
  46. }
  47. textarea {
  48. resize: none;
  49. }
  50. /* omnipresent */
  51. .desktop{
  52. display:none !important;
  53. }
  54. .link {
  55. text-decoration: none;
  56. }
  57. .external:after{
  58. font-family:fontello;
  59. font-weight:normal;
  60. content: ' ';
  61. }
  62. /* basic structure */
  63. .topbar {
  64. width: 100vw;
  65. height: 45px;
  66. margin: 0;
  67. position: relative;
  68. }
  69. .wrapper {
  70. width: 100vw;
  71. clear: both;
  72. display: inline-block;
  73. text-align: center;
  74. }
  75. .container {
  76. width: 100% !important;
  77. display: inline-block;
  78. text-align: center;
  79. }
  80. #posts {
  81. width: 100% !important;
  82. }
  83. .content {
  84. width: 100%;
  85. display: inline-block;
  86. margin:0px !important;
  87. text-align: left;
  88. word-break: break-all;
  89. }
  90. aside {
  91. display:none !important;
  92. }
  93. .gotop {
  94. width: 30px;
  95. height: 30px;
  96. padding: 5px;
  97. position: fixed;
  98. display: table;
  99. text-align: center;
  100. right: 20px;
  101. bottom: 20px;
  102. border-radius: 10px;
  103. z-index:50;
  104. }
  105. .gotop a {
  106. text-align: center;
  107. display: table-cell;
  108. vertical-align: middle;
  109. opacity: 0.7;
  110. font-size: 20px;
  111. }
  112. #hiddenside {
  113. background-color: rgba(255, 255, 255, 0);
  114. position: fixed;
  115. left: 0px;
  116. bottom: 0px;
  117. width: 100vw;
  118. height: auto;
  119. z-index: 99;
  120. }
  121. /* topbar elements */
  122. .mid {
  123. display:none;
  124. }
  125. .topbutton {
  126. vertical-align: middle;
  127. display: table-cell;
  128. line-height: 45px;
  129. height: 100%;
  130. width: 50px;
  131. position: relative;
  132. }
  133. .topicon {
  134. text-decoration: none;
  135. display: inline;
  136. font-size: 20px;
  137. }
  138. .badge {
  139. text-decoration: none;
  140. }
  141. .alert {
  142. border-radius: 90px;
  143. width: 10px;
  144. height: 10px;
  145. position: absolute;
  146. right: 15px;
  147. top: 15px;
  148. display: none;
  149. }
  150. #notifications {
  151. position: fixed;
  152. left: 0px;
  153. top: 45px;
  154. width: 100vw;
  155. max-height: 400px;
  156. display: none;
  157. line-height:12px;
  158. overflow-y:scroll;
  159. border-radius:3px;
  160. }
  161. .notif{
  162. width:100%;
  163. height:80px;
  164. display:inline-block;
  165. text-align:left;
  166. position:relative;
  167. }
  168. #quicksend {
  169. border-radius: 3px;
  170. font-weight: bold;
  171. }
  172. .notifContents{
  173. margin:10px;
  174. display:flex;
  175. height:60px;
  176. max-width:325px;
  177. }
  178. .nloadmore {
  179. display:inline-block;
  180. height:20px;
  181. padding-top:10px;
  182. }
  183. /* sidebar */
  184. .side_element {
  185. display:none;
  186. width: 92%;
  187. margin: 10px;
  188. display: inline-block;
  189. text-align: center;
  190. color: lightgray;
  191. }
  192. .side_element a {
  193. color: lightgray;
  194. }
  195. /* posts area elements */
  196. .uploadedImage {
  197. width: 60px;
  198. margin: 10px 0px 10px 10px;
  199. height: 60px;
  200. border: 1px solid #ccc;
  201. display: inline-block;
  202. box-shadow: 3px 3px 3px grey;
  203. float: left;
  204. background-size: cover;
  205. }
  206. .uploadBox {
  207. width: 100%;
  208. display: inline-block;
  209. border-bottom: 1px solid #ddd;
  210. }
  211. .delpic {
  212. border-radius:90px;
  213. display:inline-block;
  214. cursor:pointer;
  215. }
  216. #send {
  217. padding:5px;
  218. border-radius:3px;
  219. font-weight:bold;
  220. margin-top:5px;
  221. }
  222. .formbtn {
  223. background-color:transparent;
  224. border: 0px;
  225. margin-top:11px;
  226. margin-left:15px;
  227. float:left;
  228. width:20px;
  229. height:20px;
  230. line-height:20px;
  231. text-align:center;
  232. overflow:hidden;
  233. font-size:20px;
  234. }
  235. .formbtn label{
  236. margin:-5px;
  237. font-size:20px;
  238. }
  239. .element {
  240. width: 90% !important;
  241. clear: both;
  242. display: inline-block;
  243. margin-top: 3px;
  244. }
  245. .element {
  246. width: 800px;
  247. clear: both;
  248. display: inline-block;
  249. margin-top: -4px;
  250. }
  251. .element_pad {
  252. margin-top: 10px;
  253. margin-bottom: 10px;
  254. }
  255. .profile {
  256. float:left;
  257. background-color:white;
  258. border-radius:5px;
  259. //width:650px;
  260. width:100%;
  261. }
  262. .profileButton{
  263. padding: 5px;
  264. border-radius: 5px;
  265. font-family: fontello, sans-serif;
  266. }
  267. #usermenu .menu {
  268. display: none;
  269. width: 150px;
  270. height: 100px;
  271. position: absolute;
  272. top: 45px;
  273. left: -80px;
  274. transition: 0.4s;
  275. }
  276. #usermenu:hover>.menu,
  277. #usermenu:active>.menu {
  278. display: block;
  279. transition: 0.4s;
  280. }
  281. .postMenu,.listmenu {
  282. cursor: pointer;
  283. position:relative;
  284. }
  285. .postMenu div{
  286. border-radius: 3px;
  287. }
  288. .postMenu li {
  289. margin:0px;
  290. width:100%;
  291. height:35px;
  292. display:block;
  293. text-align:center;
  294. line-height:35px;
  295. }
  296. .postMenu:hover > div{
  297. display:block !important;
  298. }
  299. .postMenu ul {
  300. margin:0px;
  301. width:100%;
  302. padding:0px;
  303. }
  304. .profileMenu:hover > div, .listmenu:hover > div{
  305. display:block !important;
  306. }
  307. .listmenu li {
  308. font-family: fontello, sans-serif;
  309. height:30px;
  310. line-height:30px;
  311. text-align:left;
  312. padding-left:12px;
  313. list-style-type: none;
  314. }
  315. .felem {
  316. margin-left: 10px;
  317. float: left;
  318. }
  319. .avatar {
  320. display:none;
  321. width: 50px;
  322. background-size: cover;
  323. height: 50px;
  324. float: left;
  325. margin: 15px;
  326. border-radius: 10px;
  327. }
  328. .post,
  329. .loader,
  330. .loadmore,
  331. .rb,
  332. .textonly,
  333. .profile {
  334. width: 100% !important;
  335. float: left;
  336. text-align: center;
  337. position: relative;
  338. border-radius: 3px;
  339. }
  340. .postform,.searchmobile {
  341. position:fixed;
  342. width: 100vw !important;
  343. left:0px;
  344. top:45px;
  345. text-align: center;
  346. border-radius: 3px;
  347. z-index: 99;
  348. }
  349. #postform,#searchmobile {
  350. display:none;
  351. }
  352. .postHeader {
  353. width: 100%;
  354. display: inline-block;
  355. height: 40px;
  356. text-align: left;
  357. }
  358. .postHeader *,.post_footer *{
  359. font-size:small;
  360. }
  361. .previewpost {
  362. display: none;
  363. position: absolute;
  364. margin-top: -100px;
  365. width: 400px;
  366. border-radius:3px;
  367. }
  368. .user {
  369. position:relative;
  370. }
  371. .userinfo {
  372. display: none;
  373. position: absolute;
  374. left:0px;
  375. top:-198px;
  376. width: 300px;
  377. height: 200px;
  378. border-radius:3px;
  379. }
  380. .userinfo_co {
  381. width: 280px;
  382. margin: 10px;
  383. }
  384. .userinfo_he {
  385. width: 300px;
  386. height: 100px;
  387. }
  388. .media {
  389. width: 100%;
  390. display: inline-block;
  391. }
  392. .img {
  393. width: 600px;
  394. text-align: center;
  395. }
  396. .blur {
  397. -webkit-filter: blur(25px) brightness(70%) grayscale(100%);
  398. /* Safari 6.0 - 9.0 */
  399. filter: blur(25px) brightness(70%) grayscale(100%);
  400. opacity: 0.5;
  401. transition: 0.4s;
  402. }
  403. .toggleblur {
  404. display:none;
  405. cursor: pointer;
  406. font-family: sans, fontello;
  407. }
  408. .small {
  409. width: 48% !important;
  410. height: 321px;
  411. line-height: 321px;
  412. background-color: black;
  413. float:left;
  414. margin:2px !important;
  415. }
  416. .smaller {
  417. width: 31% !important;
  418. height: 212px;
  419. line-height: 212px;
  420. background-color: black;
  421. float:left;
  422. margin:2px !important;
  423. }
  424. .icon {
  425. width: 80px !important;
  426. height: 80px !important;
  427. line-height: 80px;
  428. float:left;
  429. text-align:center;
  430. margin:2px !important;
  431. }
  432. .postbody {
  433. margin: 15px;
  434. }
  435. .post_footer {
  436. width: 630px;
  437. display: table-cell;
  438. clear: both;
  439. padding: 10px;
  440. height: 20px;
  441. text-align: left;
  442. border-radius: 3px;
  443. }
  444. .post_buttons {
  445. font-family: fontello;
  446. float: right;
  447. display: inline-block;
  448. text-align: right;
  449. font-size: 15pt;
  450. }
  451. .post_buttons a,
  452. .post_buttons span {
  453. font-family: inherit;
  454. text-decoration: none;
  455. color: inherit;
  456. font-size: inherit;
  457. }
  458. .reply {
  459. width: 100%;
  460. clear: both;
  461. text-align: left;
  462. display: block;
  463. }
  464. .note {
  465. width: 640px;
  466. float: left;
  467. text-align: left;
  468. border-radius: 5px;
  469. padding: 5px;
  470. }
  471. .button {
  472. padding: 15px;
  473. float: left;
  474. text-align: center;
  475. border-radius: 5px;
  476. font-size: 20pt;
  477. }
  478. /* pages */
  479. .setting label {
  480. display: block;
  481. width: 40px;
  482. height: 20px;
  483. padding: 5px;
  484. float: left;
  485. margin: 0px;
  486. text-align: center;
  487. transition: all 0.3s ease-in-out;
  488. }
  489. .setting input[type="radio"]:checked+label {
  490. font-weight: bold;
  491. }
  492. /* other stuff */
  493. /* <lightbox> */
  494. .lightbox-opened {
  495. /* background-color: #333; */
  496. background-color: rgba(50, 50, 50, 0.85);
  497. cursor: pointer;
  498. height: 100%;
  499. /* left: 0; */
  500. overflow-y: scroll;
  501. position: fixed;
  502. text-align: center;
  503. top: 0;
  504. width: 100%;
  505. z-index:105;
  506. &:before {
  507. background-color: #333;
  508. background-color: rgba(#333, 0.9);
  509. color: #eee;
  510. content: "x";
  511. font-family: sans-serif;
  512. padding: 6px 12px;
  513. position: fixed;
  514. text-transform: uppercase;
  515. }
  516. img {
  517. box-shadow: 0 0 6px 3px #333;
  518. }
  519. }
  520. /*
  521. .lightbox-opened {
  522. //background-color: #333;
  523. background-color: rgba(50, 50, 50, 0.85);
  524. cursor: pointer;
  525. height: 100%;
  526. left: 0;
  527. overflow-y: scroll;
  528. padding: 24px;
  529. position: fixed;
  530. text-align: center;
  531. top: 0;
  532. width: 100%;
  533. &:before {
  534. background-color: #333;
  535. background-color: rgba(#333, 0.9);
  536. color: #eee;
  537. content: "x";
  538. font-family: sans-serif;
  539. padding: 6px 12px;
  540. position: fixed;
  541. text-transform: uppercase;
  542. }
  543. img {
  544. box-shadow: 0 0 6px 3px #333;
  545. }
  546. }
  547. */
  548. .no-scroll {
  549. overflow: hidden;
  550. }
  551. /* </lightbox> */
  552. .fontello {
  553. font-family: fontello, sans-serif;
  554. }
  555. .loading {
  556. font-family: fontello;
  557. color: black;
  558. content: "\E822";
  559. animation-name: spin;
  560. animation-duration: 5000ms;
  561. animation-iteration-count: infinite;
  562. animation-timing-function: linear;
  563. /* transform: rotate(3deg); */
  564. /* transform: rotate(0.3rad);/ */
  565. /* transform: rotate(3grad); */
  566. /* transform: rotate(.03turn); */
  567. }
  568. @keyframes spin {
  569. from {
  570. transform: rotate(0deg);
  571. }
  572. to {
  573. transform: rotate(360deg);
  574. }
  575. }
  576. .disabled {
  577. background-color: black;
  578. }