fe-codebeautify.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @import url("syntax-highlighter.css");
  2. @import url('fe-common.css');
  3. html {
  4. background:url(../img/baidufe_bj.gif);
  5. font-size: 14px;
  6. color:#333;
  7. }
  8. .mod-code {
  9. width:980px;
  10. margin:0 auto;
  11. position: relative;
  12. }
  13. .mod-code .syntaxhighlighter {
  14. max-height: 500px;
  15. overflow-y: auto;
  16. }
  17. .mod-code fieldset {
  18. border : 1px solid #bbb;
  19. margin:0 0 10px;
  20. }
  21. .mod-code fieldset legend {
  22. padding:0 5px;
  23. }
  24. .mod-code fieldset legend span {
  25. color: #f00;
  26. font-weight: bold;
  27. }
  28. .mod-code .format-item {
  29. line-height: 16px;
  30. }
  31. .mod-code .format-item textarea{
  32. width:945px;
  33. height:120px;
  34. padding:2px 5px;
  35. margin:0 auto;
  36. resize:none;
  37. }
  38. .mod-code .format-item button{
  39. width:80px;
  40. height:30px;
  41. float: right;
  42. }
  43. .mod-code .rst-item {
  44. position: relative;
  45. padding-top:0px;
  46. }
  47. .mod-code .btn-opts {
  48. -webkit-user-select:none;
  49. }
  50. /* ref fe-endecode.css */
  51. .-e-btn {
  52. float:right;
  53. height:30px;
  54. width:70px;
  55. font-size:13px;
  56. padding:5px;
  57. cursor:pointer;
  58. background: #f1f1f1;
  59. border: 1px solid #aaa;
  60. color: #b00;
  61. margin-top: 6px;
  62. }
  63. .-e-x-btn .-e-btn:hover {
  64. background: #fff;
  65. }
  66. /* ref fe-endecode.css END */