Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

93 řádky
1.9 KiB

  1. /*
  2. * This is a manifest file that'll be compiled into application.css, which will include all the files
  3. * listed below.
  4. *
  5. * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
  6. * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
  7. *
  8. * You're free to add application-wide styles to this file and they'll appear at the bottom of the
  9. * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
  10. * files in this directory. Styles in this file should be added after the last require_* statement.
  11. * It is generally better to create a new file per style scope.
  12. *
  13. *= require_tree .
  14. *= require_self
  15. */
  16. body, body > p, body > ol, body > ul, body > td {margin: 8px !important}
  17. #banner {
  18. position: relative;
  19. min-height: 40px;
  20. background: #9c9;
  21. padding: 10px;
  22. border-bottom: 2px solid;
  23. font: small-caps 40px/40px "Times New Roman", serif;
  24. color: #282;
  25. text-align: center;
  26. img {
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 192px;
  31. }
  32. }
  33. #notice {
  34. color: #000 !important;
  35. border: 2px solid red;
  36. padding: 1em;
  37. margin-bottom: 2em;
  38. background-color: #f0f0f0;
  39. font: bold smaller sans-serif;
  40. }
  41. #notice:empty {
  42. display: none
  43. }
  44. #columns {
  45. background: #141;
  46. display: flex;
  47. #main {
  48. padding: 1em;
  49. background: white;
  50. flex: 1;
  51. }
  52. #side {
  53. padding: 1em 2em;
  54. background: #141;
  55. ul {
  56. padding: 0;
  57. li {
  58. list-style: none;
  59. a {
  60. color: #bfb;
  61. font-size: small;
  62. }
  63. }
  64. }
  65. }
  66. }
  67. @media all and (max-width: 800px) {
  68. #columns {
  69. flex-direction: column-reverse;
  70. }
  71. }
  72. @media all and (max-width: 500px) {
  73. #banner {
  74. height: 1em;
  75. }
  76. #banner .title {
  77. display: none;
  78. }
  79. }