sharebox.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. @charset "utf-8";
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. font-size: 100%;
  6. }
  7. a {
  8. text-decoration: none;
  9. word-break: break-word;
  10. color: inherit;
  11. }
  12. a:hover {
  13. text-decoration: underline;
  14. }
  15. ul, ol {
  16. list-style: none;
  17. padding: 0;
  18. margin: 0;
  19. }
  20. img {
  21. vertical-align: top;
  22. border: 0;
  23. max-width: 100%;
  24. max-height: 100%;
  25. }
  26. button {
  27. font-size: 100%;
  28. }
  29. .clear {
  30. clear: both;
  31. }
  32. .red {
  33. color: red!important;
  34. }
  35. .invisible {
  36. display: none!important;
  37. }
  38. .ellipsis:after {
  39. content:"...";
  40. }
  41. .no-events {
  42. pointer-events: none;
  43. }
  44. .disallow_select {
  45. user-select: none;
  46. -ms-user-select: none;
  47. -webkit-user-select: none;
  48. -moz-user-select: none;
  49. }
  50. .text_ellipsis {
  51. text-overflow: ellipsis;
  52. overflow: hidden;
  53. white-space: nowrap;
  54. }
  55. h1, h2, h3, h4, h5, h6 {
  56. font-weight: normal;
  57. line-height: normal;
  58. margin: 0;
  59. padding: 0;
  60. }
  61. blockquote, q {
  62. quotes: none;
  63. margin: 0;
  64. }
  65. blockquote * {
  66. margin: 0;
  67. word-break: break-all;
  68. }
  69. blockquote:before, blockquote:after,
  70. q:before, q:after {
  71. content:'';
  72. content:none;
  73. }
  74. article,aside,details,figcaption,figure,
  75. footer,header,hgroup,menu,nav,section {
  76. display:block;
  77. }
  78. textarea {
  79. width: 100%;
  80. }
  81. input {
  82. max-width: 100%;
  83. }
  84. button, input[type="submit"], input[type="button"]{
  85. background-color: transparent;
  86. border: none;
  87. cursor: pointer;
  88. outline: none;
  89. padding: 0;
  90. appearance: none;
  91. }
  92. img.emoji {
  93. height: 1em;
  94. width: 1em;
  95. margin: 0 .05em 0 .1em;
  96. vertical-align: -0.1em;
  97. }
  98. .emoji_poss .auth_emoji {
  99. display: inline-block;
  100. height: 100%;
  101. margin: auto;
  102. margin-left: 4px;
  103. }
  104. html {
  105. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  106. font-size: 100%;
  107. line-height: normal;
  108. color: #333;
  109. min-width: 100%;
  110. min-height: 100%;
  111. }
  112. body {
  113. margin: 0;
  114. padding: 0;
  115. min-width: 100%;
  116. min-height: 100%;
  117. word-wrap:break-word;
  118. background-color: #F5F8FA;
  119. }
  120. #header {
  121. display: flex;
  122. position: fixed;
  123. z-index: 999;
  124. width: 100%;
  125. height: 47px;
  126. color: #66757F;
  127. background-color: #fff;
  128. box-shadow: 0 1px 1px rgba(0,0,0,0.26);
  129. }
  130. #header .header_nav_wrap {
  131. box-sizing: border-box;
  132. display: flex;
  133. width: 680px;
  134. height: 100%;
  135. margin: auto;
  136. padding: 0 5px;
  137. }
  138. #header .header_nav_wrap .header_left_box {
  139. display: flex;
  140. justify-content: flex-start;
  141. height: 100%;
  142. }
  143. #header .header_nav_wrap .header_left_box ul.header_nav_list {
  144. display: flex;
  145. width: 100%;
  146. height: 100%;
  147. }
  148. #header .header_nav_wrap .header_left_box ul.header_nav_list li.header_nav_item {
  149. display: flex;
  150. align-items: center;
  151. height: 100%;
  152. position: relative;
  153. }
  154. #header .header_nav_wrap .header_left_box ul.header_nav_list li.header_nav_item a {
  155. display: flex;
  156. justify-content: center;
  157. align-items: center;
  158. width: 100%;
  159. height: 100%;
  160. color: #66757F;
  161. box-sizing: border-box;
  162. padding-right: 18px;
  163. padding-left: 9px;
  164. border-top: 0px solid transparent;
  165. border-bottom: 0px solid #189EFC;
  166. }
  167. #header .header_nav_wrap .header_right_box {
  168. flex: 2;
  169. box-sizing: border-box;
  170. padding: 8px 0;
  171. height: 100%;
  172. }
  173. #header .header_nav_wrap .header_right_box ul.header_nav_list {
  174. display: flex;
  175. justify-content: flex-end;
  176. align-items: center;
  177. width: 100%;
  178. height: 100%;
  179. }
  180. #header .header_nav_wrap .header_right_box ul.header_nav_list li.header_nav_item {
  181. display: flex;
  182. height: 100%;
  183. justify-content: center;
  184. align-items: center;
  185. padding-right: 16px;
  186. }
  187. #header .header_nav_wrap .header_right_box .my_account_wrap {
  188. position: relative;
  189. padding-right:5px !important;
  190. }
  191. #header .header_nav_wrap .header_right_box .my_account_wrap .my_account {
  192. height: 35px;
  193. width: 35px;
  194. margin: auto;
  195. display: flex;
  196. justify-content: center;
  197. align-items: center;
  198. }
  199. #header .header_nav_wrap .header_right_box .my_account_wrap .my_account img {
  200. width: 32px;
  201. height: 32px;
  202. overflow: hidden;
  203. border-radius: 50%;
  204. transition: 0.15s ease-out;
  205. }
  206. #main {
  207. padding-top: 47px;
  208. background-color:#ffffff;
  209. box-shadow:0 1px 1px rgba(0,0,0,0.26);
  210. }
  211. #main.dark {
  212. background-color:#8899a6;
  213. color:#FFFFFF;
  214. border-top:1px solid #f5f8fa;
  215. padding-top:0;
  216. }
  217. #main.dark p {
  218. font-size:14px;
  219. margin-top:10px;
  220. }
  221. #main .article_wrap {
  222. display: flex;
  223. flex-wrap: nowrap;
  224. width: 680px;
  225. margin:auto;
  226. }
  227. #main .article_wrap .content {
  228. margin:20px;
  229. width:100%;
  230. }
  231. #main .article_wrap .content.first {
  232. margin-top:100px;
  233. }
  234. #main .article_wrap .pageheading {
  235. font-size:25px;
  236. color:#66757F;
  237. }
  238. #main.dark .article_wrap .pageheading {
  239. color:#FFFFFF;
  240. }
  241. .status_textarea,#username {
  242. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  243. width:calc(100% - 12px);
  244. border:1px solid #e1e8ed;
  245. border-radius:3px;
  246. resize:none;
  247. padding:6px;
  248. }
  249. .status_textarea {
  250. height:65px;
  251. }
  252. .status_textarea:focus,#username:focus {
  253. border:2px solid #189EFC;
  254. padding:5px;
  255. }
  256. .usernamebox {
  257. float:left;
  258. margin-top:5px;
  259. }
  260. .usernamebox label {
  261. font-size:12px;
  262. }
  263. .toot_button {
  264. width: 90px;
  265. height: 40px;
  266. border-radius: 4px;
  267. color: #fff;
  268. background-color: #2588D0;
  269. transition: 0.15s ease-out;
  270. float:right;
  271. margin-top:10px;
  272. margin-bottom:20px;
  273. }
  274. .toot_button.loggedout {
  275. width:150px;
  276. }
  277. .toot_button:hover {
  278. background-color: #2571D0;
  279. transition: 0.15s ease-out;
  280. }
  281. .toot_button:active {
  282. background-color: #255ED0;
  283. transition: 0.15s ease-out;
  284. }
  285. .toot_button .toot_button_label {
  286. display: flex;
  287. justify-content: center;
  288. align-items: center;
  289. }
  290. .toot_button span {
  291. font-size: 18px;
  292. font-weight: 500;
  293. }
  294. .dark .toot_button {
  295. margin-top:0;
  296. color:#292f33;
  297. background-color: #fab81e;
  298. }
  299. .dark .toot_button:hover {
  300. background-color: #e99110;
  301. }
  302. .dark .toot_button:active {
  303. background-color: #f2a330;
  304. }