style.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. * Style.css - presentation styles for MyWiki, the Simple Wiki
  3. *
  4. * Feel free to modify this at will, especially if you made changes to the
  5. * main template yourself.
  6. *
  7. */
  8. html {
  9. background: #383634;
  10. padding: 0;
  11. }
  12. body {
  13. font-family: Verdana, Helvetica, Arial, sans-serif;
  14. font-size: 12pt;
  15. margin: 0;
  16. background: #D2CCC3;
  17. color: #262524;
  18. }
  19. a, a:visited {
  20. text-decoration: none;
  21. color: #2D738F;
  22. }
  23. a:hover {
  24. text-decoration: underline;
  25. }
  26. p, blockquote, li {
  27. line-height: 1.3em;
  28. }
  29. body > header h1 {
  30. padding: 0.5em 0.4em;
  31. margin: 0;
  32. background: #C2B499
  33. }
  34. body > header nav ul {
  35. list-style-type: none;
  36. float: left;
  37. width: 12em;
  38. padding: 0;
  39. margin: 0;
  40. }
  41. body > header nav ul li {
  42. background: #D7B677;
  43. }
  44. body > header nav ul li a {
  45. display: block;
  46. color: #4D412A;
  47. padding: 0.8em;
  48. margin-right: 0.3em;
  49. transition: color 0.2s, background 0.2s;
  50. }
  51. body > header nav ul li a:hover {
  52. color: #AEC9F3;
  53. background: #4372BD;
  54. text-decoration: none;
  55. }
  56. body > header nav ul li a.active {
  57. color: #AEC9F3;
  58. background: #225097;
  59. text-decoration: none;
  60. }
  61. body > section#content {
  62. margin: 0 1em 0 13em;
  63. }
  64. input[type="text"], textarea {
  65. padding: 5px 0;
  66. border: 1px solid #334433;
  67. }
  68. input[type="text"]:focus, textarea:focus {
  69. box-shadow: 0px 0px 5px #DD1111;
  70. }
  71. textarea[name="newcontent"] {
  72. width: 90%;
  73. height: 10em;
  74. }
  75. body > footer {
  76. clear: both;
  77. text-align: center;
  78. padding: 1em;
  79. background: #383634;
  80. color: #FEFEFE
  81. }
  82. body > header nav div.menutrigger {
  83. display: none;
  84. }
  85. @media screen and (max-width: 900px) {
  86. body > header nav {
  87. background: #8F97CB;
  88. }
  89. body > header nav ul {
  90. width: 100%;
  91. list-style-type: none;
  92. padding: 0;
  93. margin: 0 0 10px 0;
  94. background: #CCBC9E;
  95. }
  96. /* Menu Button */
  97. body > header nav div.menutrigger {
  98. padding: 15px 10px;
  99. background: #2B5AA6;
  100. display: block;
  101. width: 80px;
  102. text-align: center;
  103. color: #EEEEEE;
  104. cursor: pointer;
  105. }
  106. body > header nav ul li {
  107. background: #D7B677;
  108. float: left;
  109. width: 50%;
  110. }
  111. body > header nav ul li.active {
  112. width: 100%;
  113. }
  114. body > header nav ul li:after {
  115. content: '.';
  116. height: 0;
  117. visibility: hidden;
  118. clear: both;
  119. }
  120. body > section#content {
  121. margin: 0.3em;
  122. }
  123. textarea, input[type="text"] {
  124. width: 95%;
  125. }
  126. }