main.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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. color: black;
  91. background-color: white;
  92. padding: 10px;
  93. display: inline-block;
  94. margin-left: -6px;
  95. }
  96. .menu_item_link:hover {
  97. background-color: #eee;
  98. }
  99. input.search {
  100. height: 35px;
  101. vertical-align: middle;
  102. border: 0;
  103. padding: 10px;
  104. }
  105. input.only_mobile.search {
  106. width: calc(100% - 70px);
  107. display: inline-block;
  108. }
  109. input.search:focus-visible {
  110. outline: none;
  111. }
  112. button.search_button {
  113. width: 35px;
  114. height: 35px;
  115. vertical-align: middle;
  116. margin-left: -6px;
  117. border: 0;
  118. font-size: 20px;
  119. line-height: 0px;
  120. cursor: pointer;
  121. }
  122. button.search_button#goto {
  123. background-color: #ccffbb;
  124. }
  125. button.search_button#goto:hover {
  126. background-color: #99bf8c;
  127. }
  128. button.search_button#search {
  129. background-color: #ffeecc;
  130. }
  131. button.search_button#search:hover {
  132. background-color: #bcb097;
  133. }
  134. aside {
  135. width: 250px;
  136. display: block;
  137. padding-top: 10px;
  138. padding-left: 20px;
  139. padding-right: 20px;
  140. padding-bottom: 20px;
  141. background-color: #ffeaee;
  142. min-height: calc(100vh - (50px + 12px));
  143. }
  144. .do_fixed {
  145. float: left;
  146. }
  147. aside button {
  148. width: 33.33%;
  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_content {
  166. margin-top: 20px;
  167. }
  168. section {
  169. width: calc(100% - (250px + 40px));
  170. display: inline-block;
  171. border-left: 0px solid;
  172. background-color: white;
  173. }
  174. header#section {
  175. padding-top: 11px;
  176. padding-bottom: 11px;
  177. border-bottom: 0px solid;
  178. background-color: #cceeff;
  179. }
  180. article.main {
  181. max-width: 1000px;
  182. padding-left: 20px;
  183. padding-right: 20px;
  184. margin: auto;
  185. }
  186. article.main#main_data {
  187. padding-top: 20px;
  188. min-height: 400px;
  189. }
  190. article.main#title h1 {
  191. margin: 0;
  192. font-size: 32px;
  193. }
  194. .only_mobile, header#main form.only_mobile {
  195. display: none;
  196. }
  197. @media screen and (max-width: 1000px) {
  198. aside {
  199. float: none;
  200. border-top: 0px solid;
  201. width: calc(100vw - 40px);
  202. height: 100%;
  203. padding: 20px;
  204. }
  205. section {
  206. width: 100vw;
  207. padding-bottom: 20px;
  208. border-left: 0;
  209. }
  210. .not_mobile, header#main form.not_mobile {
  211. display: none;
  212. }
  213. .only_mobile, header#main form.only_mobile {
  214. display: block;
  215. }
  216. .top_cel_in {
  217. left: 0;
  218. width: 100%;
  219. }
  220. .do_fixed {
  221. position: inherit;
  222. margin-bottom: 20px;
  223. }
  224. }
  225. footer {
  226. border-top: 0px solid;
  227. margin-top: 20px;
  228. background: #eee;
  229. padding: 20px;
  230. }
  231. footer.only_mobile {
  232. margin-top: 0px;
  233. }
  234. #b_logo {
  235. width: 100px;
  236. }
  237. input, textarea, button, select {
  238. border: 1px solid #aaa;
  239. padding: 10px;
  240. background-color: white;
  241. }
  242. .opennamu_main input,
  243. .opennamu_main textarea {
  244. width: calc(100% - 22px);
  245. }
  246. #main_data button:hover {
  247. background-color: #eee;
  248. cursor: pointer;
  249. }
  250. #opennamu_save_button {
  251. background: antiquewhite;
  252. }
  253. /* nav_bar */
  254. #nav_bar {
  255. z-index: 100;
  256. font-size: 25px;
  257. position: fixed;
  258. bottom: 0;
  259. right: 0;
  260. background: #f7dfff;
  261. text-align: center;
  262. }
  263. #go_toc {
  264. display: inline-block;
  265. padding-right: 10px;
  266. padding-left: 10px;
  267. padding-top: 5px;
  268. padding-bottom: 5px;
  269. width: 25px;
  270. }
  271. #go_top {
  272. display: inline-block;
  273. padding-right: 10px;
  274. padding-left: 10px;
  275. width: 25px;
  276. }
  277. #go_bottom {
  278. display: inline-block;
  279. padding-right: 10px;
  280. padding-left: 10px;
  281. width: 25px;
  282. }
  283. #nav_bar a {
  284. color: black;
  285. }
  286. pre#syntax, pre#syntax code {
  287. border: 0;
  288. }
  289. a {
  290. text-decoration: none;
  291. color: dodgerblue;
  292. }
  293. a:hover {
  294. color: #105292;
  295. }