settings.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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. #main {
  188. padding-top: 47px;
  189. background-color:#ffffff;
  190. box-shadow:0 1px 1px rgba(0,0,0,0.26);
  191. }
  192. #main .article_wrap {
  193. display: flex;
  194. flex-wrap: nowrap;
  195. width: 680px;
  196. margin:auto;
  197. }
  198. #main .article_wrap .content {
  199. margin:20px;
  200. width:100%;
  201. }
  202. #main .article_wrap .content.first {
  203. margin-top:100px;
  204. }
  205. #main .article_wrap .pageheading {
  206. font-size:25px;
  207. color:#66757F;
  208. }
  209. #instance {
  210. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  211. width:calc(100% - 12px);
  212. border:1px solid #e1e8ed;
  213. border-radius:3px;
  214. resize:none;
  215. padding:6px;
  216. }
  217. #instance:focus {
  218. border:2px solid #189EFC;
  219. padding:5px;
  220. }
  221. .settingsbox {
  222. margin-top:5px;
  223. }
  224. .settingsbox label {
  225. font-size:12px;
  226. }
  227. .toot_button {
  228. width: 150px;
  229. height: 40px;
  230. border-radius: 4px;
  231. color: #fff;
  232. background-color: #2588D0;
  233. transition: 0.15s ease-out;
  234. float:right;
  235. margin-top:10px;
  236. margin-bottom:20px;
  237. }
  238. .toot_button:hover {
  239. background-color: #2571D0;
  240. transition: 0.15s ease-out;
  241. }
  242. .toot_button:active {
  243. background-color: #255ED0;
  244. transition: 0.15s ease-out;
  245. }
  246. .toot_button .toot_button_label {
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. }
  251. .toot_button span {
  252. font-size: 18px;
  253. font-weight: 500;
  254. }
  255. .switch {
  256. width:60px;
  257. height:30px;
  258. margin:10px;
  259. }
  260. .switch input {
  261. width: 60px;
  262. height: 30px;
  263. position: absolute;
  264. filter: alpha(opacity=0);
  265. opacity: 0;
  266. outline: none;
  267. z-index: 9;
  268. }
  269. .switch input:hover {
  270. cursor: pointer;
  271. }
  272. .switch-btn {
  273. background: #AAB8C2;
  274. width: 100%;
  275. height: 100%;
  276. border-radius: 20px;
  277. position: relative;
  278. }
  279. .switch-btn span {
  280. background: #fff;
  281. width: 26px;
  282. height: 26px;
  283. display: block;
  284. border-radius: 50%;
  285. position: absolute;
  286. top: 2px;
  287. left: 2px;
  288. -webkit-transition: all .5s;
  289. -moz-transition: all .5s;
  290. -o-transition: all .5s;
  291. transition: all .5s;
  292. }
  293. .switch input:checked + .switch-btn span {
  294. left: 32px;
  295. }
  296. .switch input:checked + .switch-btn {
  297. background: #189EFC;
  298. }