main.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. html {
  2. background: #eee;
  3. }
  4. body {
  5. font-family: 'SUIT', sans-serif;
  6. font-size: 14px;
  7. margin: 0;
  8. }
  9. h1, h2, h3, h4, h5, h6 {
  10. border-bottom: 1px solid gainsboro;
  11. padding-bottom: 10px;
  12. }
  13. select {
  14. font-family: 'SUIT', sans-serif;
  15. }
  16. textarea {
  17. font-family: 'SUIT', monospace;
  18. }
  19. h1.blank, h2.blank, h3.blank, h4.blank, h5.blank, h6.blank {
  20. border-bottom: none;
  21. padding-bottom: 0px;
  22. }
  23. header#main {
  24. border-bottom: 0;
  25. line-height: 50px;
  26. padding-left: 20px;
  27. padding-right: 20px;
  28. background-color: #99ddff;
  29. }
  30. header#main a {
  31. color: black;
  32. }
  33. header#main span#right {
  34. float: right;
  35. }
  36. header#main form.not_mobile input.search {
  37. display: inline-block;
  38. width: 200px;
  39. }
  40. header#main form.not_mobile {
  41. display: inline-block;
  42. }
  43. header a#logo {
  44. height: 52px;
  45. display: inline-block;
  46. padding-left: 20px;
  47. padding-right: 20px;
  48. margin-left: -20px;
  49. }
  50. header a#logo:hover {
  51. background-color: #95c3df;
  52. }
  53. .top_cel {
  54. display: inline-block;
  55. }
  56. .top_cel a {
  57. display: inline-block;
  58. height: 52px;
  59. padding-left: 10px;
  60. padding-right: 10px;
  61. }
  62. .top_cel a:hover {
  63. background-color: #95c3df;
  64. }
  65. .top_cel_in {
  66. position: absolute;
  67. background: #efd8f7;
  68. line-height: initial;
  69. z-index: 1;
  70. }
  71. .top_cel_in a {
  72. padding: 10px;
  73. display: block;
  74. height: inherit;
  75. padding-top: 10px;
  76. padding-bottom: 10px;
  77. }
  78. .top_cel_in a:hover {
  79. background-color: #e3baf1;
  80. }
  81. div#menu {
  82. margin-top: 10px;
  83. margin-left: 6px;
  84. }
  85. .menu_item_link {
  86. border: 0;
  87. background-color: white;
  88. padding: 10px;
  89. display: inline-block;
  90. margin-left: -6px;
  91. }
  92. .menu_item_link:hover {
  93. background-color: #eee;
  94. }
  95. input.search {
  96. height: 35px;
  97. vertical-align: middle;
  98. border: 0;
  99. padding: 10px;
  100. }
  101. input.only_mobile.search {
  102. width: calc(100% - 70px);
  103. display: inline-block;
  104. }
  105. input.search:focus-visible {
  106. outline: none;
  107. }
  108. button.search_button {
  109. width: 35px;
  110. height: 35px;
  111. vertical-align: middle;
  112. margin-left: -6px;
  113. border: 0;
  114. font-size: 20px;
  115. line-height: 0px;
  116. cursor: pointer;
  117. }
  118. button.search_button#goto {
  119. background-color: #ccffbb;
  120. }
  121. button.search_button#goto:hover {
  122. background-color: #99bf8c;
  123. }
  124. button.search_button#search {
  125. background-color: #ffeecc;
  126. }
  127. button.search_button#search:hover {
  128. background-color: #bcb097;
  129. }
  130. aside {
  131. width: 250px;
  132. display: block;
  133. padding-top: 10px;
  134. padding-left: 20px;
  135. padding-right: 20px;
  136. background-color: #ffeaee;
  137. min-height: calc(100vh - (50px + 12px));
  138. }
  139. .aside_width {
  140. width: 290px;
  141. float: left;
  142. }
  143. .do_fixed {
  144. position: fixed;
  145. top: 52px;
  146. }
  147. aside button {
  148. width: 25%;
  149. }
  150. aside .side_button {
  151. border: 0;
  152. background-color: white;
  153. padding: 10px;
  154. overflow: hidden;
  155. white-space: nowrap;
  156. }
  157. aside .side_button:hover {
  158. background-color: #eee;
  159. cursor: pointer;
  160. }
  161. #side_button_2 {
  162. border-left: 0;
  163. border-right: 0;
  164. }
  165. #side_button_3 {
  166. border-right: 0;
  167. }
  168. #side_content {
  169. margin-top: 20px;
  170. }
  171. section {
  172. width: calc(100% - (250px + 40px));
  173. display: inline-block;
  174. border-left: 0px solid;
  175. background-color: white;
  176. }
  177. header#section {
  178. padding-top: 11px;
  179. padding-bottom: 11px;
  180. border-bottom: 0px solid;
  181. background-color: #cceeff;
  182. }
  183. article.main {
  184. max-width: 1000px;
  185. padding-left: 20px;
  186. padding-right: 20px;
  187. margin: auto;
  188. }
  189. article.main#main_data {
  190. padding-top: 20px;
  191. min-height: 400px;
  192. }
  193. article.main#title h1 {
  194. margin: 0;
  195. font-size: 32px;
  196. }
  197. .only_mobile, header#main form.only_mobile {
  198. display: none;
  199. }
  200. @media screen and (max-width: 1000px) {
  201. aside {
  202. float: none;
  203. border-top: 0px solid;
  204. width: calc(100vw - 40px);
  205. height: 100%;
  206. padding: 20px;
  207. }
  208. section {
  209. width: 100vw;
  210. padding-bottom: 20px;
  211. border-left: 0;
  212. }
  213. .not_mobile, header#main form.not_mobile {
  214. display: none;
  215. }
  216. .only_mobile, header#main form.only_mobile {
  217. display: block;
  218. }
  219. .top_cel_in {
  220. left: 0;
  221. width: 100%;
  222. }
  223. .do_fixed {
  224. position: inherit;
  225. }
  226. .aside_width {
  227. display: none;
  228. }
  229. }
  230. footer {
  231. border-top: 0px solid;
  232. margin-top: 20px;
  233. background: #eee;
  234. padding: 20px;
  235. }
  236. footer.only_mobile {
  237. margin-top: 0px;
  238. }
  239. #b_logo {
  240. width: 100px;
  241. }
  242. input, textarea, button, select {
  243. border: 1px solid #aaa;
  244. padding: 10px;
  245. background-color: white;
  246. }
  247. input, textarea {
  248. width: calc(100% - 20px);
  249. }
  250. #main_data button:hover {
  251. background-color: #eee;
  252. cursor: pointer;
  253. }
  254. #opennamu_save_button {
  255. background: antiquewhite;
  256. }
  257. /* nav_bar */
  258. #nav_bar {
  259. z-index: 100;
  260. font-size: 25px;
  261. position: fixed;
  262. bottom: 0;
  263. right: 0;
  264. background: #f7dfff;
  265. text-align: center;
  266. }
  267. #go_toc {
  268. display: inline-block;
  269. padding-right: 10px;
  270. padding-left: 10px;
  271. padding-top: 5px;
  272. padding-bottom: 5px;
  273. width: 25px;
  274. }
  275. #go_top {
  276. display: inline-block;
  277. padding-right: 10px;
  278. padding-left: 10px;
  279. width: 25px;
  280. }
  281. #go_bottom {
  282. display: inline-block;
  283. padding-right: 10px;
  284. padding-left: 10px;
  285. width: 25px;
  286. }
  287. #nav_bar a {
  288. color: black;
  289. }
  290. pre#syntax, pre#syntax code {
  291. border: 0;
  292. }