_help.less 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #help-panel, #feedback-panel {
  2. .dock(50px, 0, 0, 0);
  3. overflow-y: auto;
  4. h2 {
  5. font-weight: normal;
  6. color: @theme-color;
  7. margin: 10px 0;
  8. }
  9. .shortcut-content {
  10. font-family: 'Microsoft Yahei';
  11. margin-left: 50px;
  12. section {
  13. min-width: 300px;
  14. margin: 0 20px 20px 0;
  15. float: left;
  16. h3 {
  17. border-bottom: 1px solid #EEE;
  18. }
  19. div.shortcut-group {
  20. margin: 5px auto;
  21. span.shortcut {
  22. display: inline-block;
  23. width: 220px;
  24. text-align: right;
  25. margin-right: 10px;
  26. }
  27. }
  28. }
  29. }
  30. .contact-content {
  31. list-style: none;
  32. padding-left: 0;
  33. li {
  34. display: block;
  35. float: left;
  36. padding: 0;
  37. width: 150px;
  38. height: 150px;
  39. margin: 20px;
  40. text-align: center;
  41. position: relative;
  42. a {
  43. -webkit-user-select: initial;
  44. cursor: text;
  45. color: @theme-color;
  46. &[href] {
  47. cursor: pointer;
  48. }
  49. }
  50. &:before {
  51. transition: all .3s ease;
  52. opacity: 0.6;
  53. content: ' ';
  54. display: block;
  55. width: 150px;
  56. height: 150px;
  57. background: white url(../images/feedback.png) no-repeat;
  58. }
  59. &:hover:before {
  60. transform: translate3d(0, -5px, 0);
  61. opacity: 1;
  62. }
  63. &.email:before {
  64. background-position: -150px 0;
  65. }
  66. &.github:before {
  67. background-position: -300px 0;
  68. }
  69. &.tieba:before {
  70. background-position: -450px 0;
  71. }
  72. }
  73. }
  74. }