main.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. html {
  2. background: #eee;
  3. }
  4. body {
  5. font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", sans-serif;
  6. font-size: 14px;
  7. font-feature-settings: "ss18";
  8. text-size-adjust: 100%;
  9. margin: 0;
  10. }
  11. h1, h2, h3, h4, h5, h6 {
  12. border-bottom: 1px solid gainsboro;
  13. padding-bottom: 10px;
  14. }
  15. select {
  16. font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", sans-serif;
  17. font-feature-settings: "ss18";
  18. }
  19. textarea {
  20. font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", monospace;
  21. font-feature-settings: "ss18";
  22. }
  23. h1.blank, h2.blank, h3.blank, h4.blank, h5.blank, h6.blank {
  24. border-bottom: none;
  25. padding-bottom: 0px;
  26. }
  27. header#main {
  28. border-bottom: 0;
  29. line-height: 50px;
  30. padding-left: 20px;
  31. padding-right: 20px;
  32. background-color: #99ddff;
  33. }
  34. header#main a {
  35. color: black;
  36. }
  37. header#main span#right {
  38. float: right;
  39. }
  40. header#main form.not_mobile input.search {
  41. display: inline-block;
  42. width: 200px;
  43. }
  44. header#main form.not_mobile {
  45. display: inline-block;
  46. }
  47. header a#logo {
  48. height: 52px;
  49. display: inline-block;
  50. padding-left: 20px;
  51. padding-right: 20px;
  52. margin-left: -20px;
  53. }
  54. header a#logo:hover {
  55. background-color: #95c3df;
  56. }
  57. .top_cel {
  58. display: inline-block;
  59. }
  60. .top_cel a {
  61. display: inline-block;
  62. height: 52px;
  63. padding-left: 10px;
  64. padding-right: 10px;
  65. }
  66. .top_cel a:hover {
  67. background-color: #95c3df;
  68. }
  69. .top_cel_in {
  70. position: absolute;
  71. background: #efd8f7;
  72. line-height: initial;
  73. z-index: 1;
  74. }
  75. .top_cel_in a {
  76. padding: 10px;
  77. display: block;
  78. height: inherit;
  79. padding-top: 10px;
  80. padding-bottom: 10px;
  81. }
  82. .top_cel_in a:hover {
  83. background-color: #e3baf1;
  84. }
  85. div#menu {
  86. margin-top: 10px;
  87. margin-left: 6px;
  88. }
  89. .menu_item_link {
  90. border: 0;
  91. color: black;
  92. background-color: white;
  93. padding: 10px;
  94. display: inline-block;
  95. margin-left: -6px;
  96. }
  97. .menu_item_link:hover {
  98. background-color: #eee;
  99. }
  100. input.search {
  101. height: 35px;
  102. vertical-align: middle;
  103. border: 0;
  104. padding: 10px;
  105. }
  106. input.only_mobile.search {
  107. width: calc(100% - 70px);
  108. display: inline-block;
  109. }
  110. input.search:focus-visible {
  111. outline: none;
  112. }
  113. button.search_button {
  114. width: 35px;
  115. height: 35px;
  116. vertical-align: middle;
  117. margin-left: -6px;
  118. border: 0;
  119. font-size: 20px;
  120. line-height: 0px;
  121. cursor: pointer;
  122. }
  123. button.search_button#goto {
  124. background-color: #ccffbb;
  125. }
  126. button.search_button#goto:hover {
  127. background-color: #99bf8c;
  128. }
  129. button.search_button#search {
  130. background-color: #ffeecc;
  131. }
  132. button.search_button#search:hover {
  133. background-color: #bcb097;
  134. }
  135. aside {
  136. width: 250px;
  137. display: block;
  138. padding-top: 10px;
  139. padding-left: 20px;
  140. padding-right: 20px;
  141. padding-bottom: 20px;
  142. background-color: #ffeaee;
  143. min-height: calc(100vh - (50px + 12px));
  144. }
  145. .do_fixed {
  146. float: left;
  147. }
  148. aside button {
  149. width: 33.33%;
  150. }
  151. aside .side_button {
  152. border: 0;
  153. background-color: white;
  154. padding: 10px;
  155. overflow: hidden;
  156. white-space: nowrap;
  157. }
  158. aside .side_button:hover {
  159. background-color: #eee;
  160. cursor: pointer;
  161. }
  162. #side_button_2 {
  163. border-left: 0;
  164. border-right: 0;
  165. }
  166. #side_content {
  167. margin-top: 20px;
  168. }
  169. section {
  170. width: calc(100% - (250px + 40px));
  171. display: inline-block;
  172. border-left: 0px solid;
  173. background-color: white;
  174. }
  175. header#section {
  176. padding-top: 11px;
  177. padding-bottom: 11px;
  178. border-bottom: 0px solid;
  179. background-color: #cceeff;
  180. }
  181. article.main {
  182. max-width: 1000px;
  183. padding-left: 20px;
  184. padding-right: 20px;
  185. margin: auto;
  186. }
  187. article.main#main_data {
  188. padding-top: 20px;
  189. min-height: 400px;
  190. }
  191. article.main#title h1 {
  192. margin: 0;
  193. font-size: 32px;
  194. }
  195. .only_mobile, header#main form.only_mobile {
  196. display: none;
  197. }
  198. @media screen and (max-width: 1000px) {
  199. aside {
  200. float: none;
  201. border-top: 0px solid;
  202. width: calc(100vw - 40px);
  203. height: 100%;
  204. padding: 20px;
  205. }
  206. section {
  207. width: 100vw;
  208. padding-bottom: 20px;
  209. border-left: 0;
  210. }
  211. .not_mobile, header#main form.not_mobile {
  212. display: none;
  213. }
  214. .only_mobile, header#main form.only_mobile {
  215. display: block;
  216. }
  217. .top_cel_in {
  218. left: 0;
  219. width: 100%;
  220. }
  221. .do_fixed {
  222. position: inherit;
  223. margin-bottom: 20px;
  224. }
  225. }
  226. footer {
  227. border-top: 0px solid;
  228. margin-top: 20px;
  229. background: #eee;
  230. padding: 20px;
  231. }
  232. footer.only_mobile {
  233. margin-top: 0px;
  234. }
  235. #b_logo {
  236. width: 100px;
  237. }
  238. input, textarea, button, select {
  239. border: 1px solid #aaa;
  240. padding: 10px;
  241. background-color: white;
  242. }
  243. .opennamu_main input,
  244. .opennamu_main textarea {
  245. width: calc(100% - 22px);
  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. a {
  291. text-decoration: none;
  292. color: dodgerblue;
  293. }
  294. a:hover {
  295. color: #105292;
  296. }