style.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461
  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-all;
  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. .no-events {
  39. pointer-events: none!important;
  40. }
  41. .no-underline,
  42. .no-underline:hover {
  43. text-decoration: none!important;
  44. }
  45. .disallow_select {
  46. user-select: none;
  47. -ms-user-select: none;
  48. -webkit-user-select: none;
  49. -moz-user-select: none;
  50. }
  51. .text_ellipsis {
  52. text-overflow: ellipsis;
  53. overflow: hidden;
  54. white-space: nowrap;
  55. }
  56. .pointer {
  57. cursor: pointer;
  58. }
  59. .khmer_font {
  60. font-family: "Khmer MN", Helvetica, Arial, sans-serif!important;
  61. }
  62. .gill_font {
  63. font-family: "Gill Sans", Helvetica, Arial, sans-serif!important;
  64. }
  65. .trebuchet_font {
  66. font-family: "Trebuchet MS", Helvetica, Arial, sans-serif!important;
  67. }
  68. h1, h2, h3, h4, h5, h6 {
  69. font-weight: normal;
  70. line-height: 1;
  71. margin: 0;
  72. padding: 0;
  73. }
  74. blockquote, q {
  75. quotes: none;
  76. margin: 0;
  77. }
  78. blockquote * {
  79. margin: 0;
  80. word-break: break-all;
  81. }
  82. blockquote:before, blockquote:after,
  83. q:before, q:after {
  84. content:'';
  85. content:none;
  86. }
  87. article,aside,details,figcaption,figure,
  88. footer,header,hgroup,menu,nav,section {
  89. display:block;
  90. }
  91. textarea {
  92. width: 100%;
  93. }
  94. input {
  95. max-width: 100%;
  96. }
  97. button,
  98. input[type="submit"],
  99. input[type="button"],
  100. input[type="text"],
  101. input[type="password"],
  102. textarea,
  103. select{
  104. background-color: transparent;
  105. border: none;
  106. cursor: pointer;
  107. outline: none;
  108. padding: 0;
  109. appearance: none;
  110. }
  111. input:-webkit-autofill {
  112. -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  113. }
  114. img.emoji {
  115. height: 1em;
  116. width: 1em;
  117. margin: 0 .05em 0 .1em;
  118. vertical-align: -0.1em;
  119. }
  120. html {
  121. font-family : "Trebuchet MS",Helvetica,Arial,sans-serif;
  122. font-size : 100%;
  123. line-height : 1;
  124. color: #333;
  125. min-width: 100%;
  126. min-height: 100%;
  127. }
  128. body {
  129. margin: 0;
  130. padding: 0;
  131. min-width: 100%;
  132. min-height: 100%;
  133. word-wrap:break-word;
  134. background-color: #F5F8FA;
  135. }
  136. #header {
  137. width: 100%;
  138. height: 56px;
  139. color: #fff;
  140. background-color: #222;
  141. box-shadow: 0px 3px 5px rgba(0,0,0,0.26);
  142. position: fixed;
  143. z-index: 999;
  144. }
  145. #header #header_wrap {
  146. display: flex;
  147. justify-content: flex-start;
  148. align-items: center;
  149. width: 100%;
  150. height: 100%;
  151. }
  152. #header #header_wrap > .header_box {
  153. height: 100%;
  154. flex-grow: 1;
  155. flex-shrink: 0;
  156. }
  157. #header #header_wrap .header_box.header_right_box {
  158. display: flex;
  159. justify-content: flex-start;
  160. }
  161. #header #header_wrap .header_box.header_right_box .title_box {
  162. height: 100%;
  163. margin-left: 24px;
  164. box-sizing: border-box;
  165. }
  166. #header #header_wrap .header_box.header_left_box {
  167. display: flex;
  168. justify-content: flex-end;
  169. }
  170. #header #header_wrap .header_box.header_left_box nav {
  171. height: 100%;
  172. }
  173. #header #header_wrap .header_box.header_left_box .nav_box ul {
  174. display: block;
  175. height: 100%;
  176. width: 100%;
  177. }
  178. #header #header_wrap .header_box.header_left_box .nav_box ul a {
  179. height: 100%;
  180. }
  181. #header #header_wrap .header_box.header_left_box .nav_box ul li {
  182. display: block;
  183. float: left;
  184. cursor: pointer;
  185. height: calc(100% - 5px*2 );
  186. margin-top: 5px;
  187. border-bottom: 0px solid #007BD0;
  188. }
  189. #header #header_wrap .header_box.header_left_box .nav_box ul li span {
  190. display: block;
  191. height: 100%;
  192. margin: auto;
  193. padding: 15px 24px;
  194. font-size: 14px;
  195. box-sizing: border-box;
  196. }
  197. #header #header_wrap .header_box.header_left_box .nav_box ul li span i {
  198. margin-right: 4px;
  199. }
  200. #header #header_wrap .header_box.header_left_box .nav_box ul li:hover {
  201. color: #189EFC;
  202. border-bottom-width: 5px;
  203. transition: 0.15s ease-out;
  204. }
  205. #main {
  206. padding-top: 56px;
  207. }
  208. #main #login_form_wrap {
  209. width: 100%;
  210. height: 560px;
  211. padding: 56px 0;
  212. margin-bottom: -200px;
  213. box-sizing: border-box;
  214. background-image: url("/login/assets/images/background.jpg");
  215. background-size: cover;
  216. background-repeat: no-repeat;
  217. }
  218. #main #login_form_wrap .login_form {
  219. position: relative;
  220. width: 640px;
  221. height: 220px;
  222. padding: 36px 24px;
  223. margin: auto;
  224. overflow: hidden;
  225. background: inherit;
  226. box-sizing: border-box;
  227. border-radius: 4px;
  228. border: 1px solid #C9EFF8;
  229. text-align: center;
  230. box-shadow: 0px 5px 5px rgba(0,0,0,0.26);
  231. transition: 0.25s ease-out;
  232. }
  233. #main #login_form_wrap .login_form.expand {
  234. width: 780px;
  235. transition: 0.25s ease-out;
  236. }
  237. #main #login_form_wrap .login_form::before {
  238. display: block;
  239. position: absolute;
  240. content: "";
  241. top: -3px;
  242. left: -3px;
  243. right: -3px;
  244. bottom: -3px;
  245. background: inherit;
  246. background-position: top center;
  247. filter: blur(3px);
  248. border-radius: 5px;
  249. z-index: 0;
  250. }
  251. #main #login_form_wrap .login_form form {
  252. position: relative;
  253. margin: auto;
  254. z-index: 1;
  255. color: #C9EFF8;
  256. }
  257. #main #login_form_wrap .login_form form a {
  258. color: #fff;
  259. }
  260. #main #login_form_wrap .login_form h2 {
  261. font-size: 32px;
  262. font-weight: 600;
  263. margin-bottom: 16px;
  264. transition: 0.25s ease-out;
  265. }
  266. #main #login_form_wrap .login_form.expand h2 {
  267. font-size: 42px;
  268. transition: 0.25s ease-out;
  269. }
  270. #main #login_form_wrap .login_form p {
  271. margin-bottom: 16px;
  272. transition: 0.25s ease-out;
  273. }
  274. #main #login_form_wrap .login_form.expand p {
  275. opacity: 0;
  276. margin-bottom: 0;
  277. transition: 0.25s ease-out;
  278. }
  279. #main #login_form_wrap .login_form .login_form_main {
  280. display: flex;
  281. flex-wrap: nowrap;
  282. justify-content: flex-start;
  283. align-items: center;
  284. margin: auto;
  285. height: 32px;
  286. width: 276px;
  287. border: 1px solid #C9EFF8;
  288. border-radius: 32px;
  289. background-color: rgba(0,0,0,.3);
  290. transition: 0.25s ease-out;
  291. }
  292. #main #login_form_wrap .login_form.expand .login_form_main {
  293. width: 360px;
  294. height: 42px;
  295. transition: 0.25s ease-out;
  296. }
  297. #main #login_form_wrap .login_form .login_form_main.active {
  298. box-shadow: 0px 3px 5px rgba(0,0,0,0.26);
  299. }
  300. #main #login_form_wrap .login_form .login_form_main input[name="acct"] {
  301. display: block;
  302. -webkit-appearance : none;
  303. flex-grow: 1;
  304. padding: 4px 0 4px 14px;
  305. color: #C9EFF8;
  306. border: none;
  307. background: none;
  308. box-sizing: border-box;
  309. transition: 0.25s ease-out;
  310. }
  311. #main #login_form_wrap .login_form.expand .login_form_main input[name="acct"]{
  312. flex-grow: 2;
  313. padding: 8px 0 8px 14px;
  314. transition: 0.25s ease-out;
  315. }
  316. #main #login_form_wrap .login_form .login_form_main .login_form_continue {
  317. display: block;
  318. flex-grow: 1;
  319. color: #C9EFF8;
  320. }
  321. #main #login_form_wrap .login_form .login_form_main .login_form_continue:hover {
  322. color: #fff;
  323. }
  324. #main #login_form_wrap .login_form .login_form_agree {
  325. margin: 16px auto 0;
  326. }
  327. #main #login_form_wrap .login_form .login_form_agree label:before {
  328. color: #fff;
  329. }
  330. #article {
  331. position: relative;
  332. width: 640px;
  333. margin: auto;
  334. margin-bottom: 56px;
  335. padding: 24px 36px 36px;
  336. border-radius: 4px;
  337. background-color: #fff;
  338. box-sizing: border-box;
  339. box-shadow: 3px 3px 5px rgba(0,0,0,0.26);
  340. }
  341. #article h2 {
  342. font-size: 32px;
  343. font-weight: 600;
  344. margin: 16px 0;
  345. }
  346. #article p {
  347. display: inline-block;
  348. margin-bottom: 16px;
  349. font-size: 16px;
  350. line-height: 1.2;
  351. }
  352. #article .image_wrap {
  353. display: block;
  354. position: relative;
  355. margin: 0 -36px 24px;
  356. border-top: 0.5px solid #555;
  357. border-bottom: 0.5px solid #555;
  358. }
  359. #article .image_wrap ul {
  360. display: block;
  361. position: relative;
  362. width: 100%;
  363. height: 370px;
  364. overflow: hidden;
  365. }
  366. #article .image_wrap ul li {
  367. position: absolute;
  368. top: 0;
  369. left: 0;
  370. }
  371. @keyframes fadeout {
  372. 0% {opacity: 1;}
  373. 100% {opacity: 0;}
  374. }
  375. @keyframes fadein {
  376. 0% {opacity: 0;}
  377. 100% {opacity: 1;}
  378. }
  379. #article .image_wrap ul li.fadeout {
  380. animation-name: fadeout;
  381. animation-duration: 0.5s;
  382. animation-fill-mode: forwards;
  383. }
  384. #article .image_wrap ul li.fadein {
  385. animation-name: fadein;
  386. animation-duration: 0.5s;
  387. animation-fill-mode: forwards;
  388. }
  389. #article .image_wrap .switch_button {
  390. display: block;
  391. opacity: 0;
  392. position: absolute;
  393. top: 0;
  394. width: 30px;
  395. height: 100%;
  396. color: #fff;
  397. background-color: rgba(0, 0, 0, .3);
  398. transition: 0.15s ease-out;
  399. }
  400. #article .image_wrap:hover .switch_button {
  401. opacity: 1;
  402. transition: 0.15s ease-out;
  403. }
  404. @keyframes switching_image_list {
  405. 0% {background-color: rgba(0, 0, 0, .3);}
  406. 50% {background-color: rgba(0, 0, 0, .8);}
  407. 100% {background-color: rgba(0, 0, 0, .3);}
  408. }
  409. #article .image_wrap:hover .switch_button.active {
  410. animation-name: switching_image_list;
  411. animation-duration: 0.35s;
  412. }
  413. #article .image_wrap .switch_button.prev_button {
  414. left: 0;
  415. }
  416. #article .image_wrap .switch_button.next_button {
  417. right: 0;
  418. }
  419. #article a {
  420. color: #189EFC;
  421. }
  422. #footer {
  423. width: 640px;
  424. padding: 24px 36px 12px;
  425. box-sizing: border-box;
  426. margin: auto;
  427. border-top-right-radius: 4px;
  428. border-top-left-radius: 4px;
  429. box-shadow: 3px 3px 5px rgba(0,0,0,0.26);
  430. background-color: #222;
  431. }
  432. #footer .footer_anchor {
  433. display: flex;
  434. justify-content: center;
  435. align-items: center;
  436. color: #444;
  437. font-size: 36px;
  438. transition: 0.15s ease-out;
  439. }
  440. #footer .footer_anchor:hover {
  441. color: #555;
  442. transition: 0.15s ease-out;
  443. }
  444. #footer span {
  445. font-size: 14px;
  446. color: #ddd;
  447. margin: auto;
  448. display: block;
  449. text-align: center;
  450. }
  451. input[type=checkbox] {display:none}
  452. input[type=checkbox] + label:before {
  453. font-family: FontAwesome;
  454. display: inline-block;
  455. }
  456. input[type=checkbox] + label:before {content: "\f096"}
  457. input[type=checkbox] + label:before {letter-spacing: 3px}
  458. input[type=checkbox]:checked + label:before {content: "\f046"}
  459. input[type=checkbox]:checked + label:before {letter-spacing: 0}