main.css 6.3 KB

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