mystyles.css 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @import url('https://fonts.googleapis.com/css?family=Nunito+Sans:200,200i,400,400i,600,600i,700,700i');
  2. html.CSS1Compat {
  3. background: #f1f1f1;
  4. }
  5. body.document-editor {
  6. width: 21cm;
  7. min-height: 29.7cm;
  8. padding: 1cm 2cm 2cm;
  9. margin: 0.5cm auto;
  10. border: 1px #D3D3D3 solid;
  11. border-radius: 5px;
  12. background: #ffffff;
  13. box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  14. margin-top: 30px;
  15. margin-bottom: 30px;
  16. font-size: 16px;
  17. line-height: 24px;
  18. font-family: "Nunito Sans", Verdana, Helvetica, sans-serif;
  19. }
  20. body.document-editor td, body.document-editor th {
  21. font-size: 0.9em;
  22. }
  23. body.document-editor h1 {
  24. margin-bottom:1cm;
  25. }
  26. body.document-editor table {
  27. margin-top:0.5cm;
  28. margin-bottom:0.5cm;
  29. }
  30. body.document-editor table td {
  31. border-right: 1px solid #d0d0d0;
  32. border-bottom: 1px solid #d0d0d0;
  33. }
  34. body.document-editor table td:first-of-type {
  35. border-left: 1px solid #d0d0d0;
  36. }
  37. body.document-editor table tr:first-of-type td {
  38. border-top: 1px solid #d0d0d0;
  39. }
  40. body.document-editor table thead th {
  41. border-top: 1px solid #d0d0d0;
  42. border-right: 1px solid #d0d0d0;
  43. }
  44. body.document-editor table thead th:first-of-type {
  45. border-left: 1px solid #d0d0d0;
  46. }