okami.mom/web-extract-go
git clone https://git.nkp.pet/okami.mom/web-extract-go
5a90548
main
1@import "tailwindcss" source( none); 2@source "./" ; 3 4@theme inline { 5--color-background : var ( --background ); --color-foreground : var ( --foreground ); 6--color-primary : var ( --primary ); --color-primary-foreground : var ( --primary-foreground ); 7--color-secondary : var ( --secondary ); --color-secondary-foreground : var ( --foreground ); 8--color-muted : var ( --secondary ); --color-muted-foreground : var ( --muted ); 9--color-accent : var ( --secondary ); --color-accent-foreground : var ( --foreground ); 10--color-destructive : # b42318 ; --color-destructive-foreground : # fff ; 11--color-border : var ( --border ); --color-input : # c9cdd2 ; --color-ring : # 525a66 ; 12} 13 14: root { --background : # fff ; --foreground : # 20242a ; --primary : # 24282e ; --primary-foreground : # fff ; --secondary : # f3f4f5 ; --muted : # 5d6570 ; --border : # e0e3e7 ; font-family : -apple-system, BlinkMacSystemFont, "Segoe UI" , sans-serif; color : var ( --foreground ); background : var ( --background ); font-synthesis : none; } 15@layer base { 16* { border-color : var ( --border ); } 17body { margin : 0 ; font-size : 14 px ; line-height : 1.5 ; } 18button , summary , input [ type = "checkbox" ] { cursor : pointer; } 19button : disabled { cursor : default; } 20h1 { font-size : 20 px ; font-weight : 650 ; letter-spacing : -.025 em ; } 21h2 { font-size : 17 px ; font-weight : 600 ; letter-spacing : -.015 em ; } 22h3 , h4 { font-size : 14 px ; font-weight : 600 ; } 23summary { border-radius : 4 px ; } 24summary : hover { color : # 080a0d ; } 25summary : focus-visible , a : focus-visible , button : focus-visible , input [ type = "checkbox" ]: focus-visible { outline : 2 px solid # 525a66 ; outline-offset : 3 px ; } 26select { min-height : 36 px ; border : 1 px solid # c9cdd2 ; border-radius : 6 px ; padding : 6 px 30 px 6 px 10 px ; background : # fff ; font : inherit; } 27input [ type = "checkbox" ] { width : 15 px ; height : 15 px ; accent-color : # 24282e ; flex-shrink : 0 ; } 28fieldset : disabled { opacity : .6 ; } 29} 30. shell { max-width : 1320 px ; margin : 0 auto; padding : 0 36 px ; } 31. app-header { display : flex; align-items : center; justify-content : space-between; padding : 24 px 0 ; border-bottom : 1 px solid var ( --border ); margin-bottom : 24 px ; } 32. muted { color : var ( --muted ); } 33. numeric , . metrics dd { font-variant-numeric : tabular-nums; } 34. section-toolbar { display : flex; gap : 16 px ; align-items : center; justify-content : space-between; } 35. inline-control { display : inline-flex; align-items : center; gap : 8 px ; font-size : 13 px ; } 36. metrics { display : grid; grid-template-columns : repeat ( 4 , minmax ( 0 , 1 fr )); border-block : 1 px solid var ( --border ); padding : 20 px 0 ; margin-block : 20 px 12 px ; } 37. metrics > div { padding-left : 24 px ; border-left : 1 px solid var ( --border ); } 38. metrics > div : first-child { padding-left : 0 ; border-left : 0 ; } 39. metrics dt { font-size : 12 px ; color : var ( --muted ); } 40. metrics dd { font-size : 25 px ; margin-top : 5 px ; font-weight : 550 ; } 41. metrics dd span { display : block; color : var ( --muted ); font-size : 12 px ; font-weight : 400 ; margin-top : 3 px ; } 42. metrics dd small { font-size : 15 px ; margin-left : 3 px ; } 43. configuration { color : var ( --muted ); font-size : 13 px ; padding : 5 px 0 ; } 44. config-grid { display : grid; grid-template-columns : repeat ( 3 , minmax ( 0 , 1 fr )); gap : 24 px ; padding-block : 16 px ; } 45. config-grid h3 { color : var ( --foreground ); margin-bottom : 5 px ; } 46. table-frame { border : 1 px solid var ( --border ); border-radius : 8 px ; overflow : hidden; } 47. request-link { text-align : left; min-width : 200 px ; max-width : 470 px ; display : block; white-space : normal; overflow-wrap : anywhere; } 48. request-link : hover { text-decoration : underline; text-underline-offset : 3 px ; } 49. inspector { border-top : 1 px solid var ( --border ); padding-top : 24 px ; } 50. playground-grid { display : grid; grid-template-columns : 330 px minmax ( 0 , 1 fr ); gap : 40 px ; align-items : start; } 51. query-form { display : grid; gap : 24 px ; } 52. query-output { min-width : 0 ; border-left : 1 px solid var ( --border ); padding-left : 32 px ; min-height : 480 px ; } 53. field { display : grid; gap : 8 px ; } 54. notice { margin-block : 16 px ; border : 1 px solid # edb7b3 ; background : # fff5f4 ; color : # 982219 ; border-radius : 6 px ; padding : 12 px 14 px ; overflow-wrap : anywhere; } 55. empty { color : var ( --muted ); text-align : center; padding : 48 px 24 px ; max-width : 70 ch ; margin-inline : auto; } 56. loading { color : var ( --muted ); padding : 32 px ; } 57. json-view { background : var ( --secondary ); border-radius : 6 px ; padding : 16 px ; font-size : 12 px ; line-height : 1.6 ; white-space : pre-wrap; overflow-wrap : anywhere; overflow : auto; max-height : 480 px ; margin-top : 12 px ; } 58. source-link { text-decoration : underline; text-underline-offset : 3 px ; overflow-wrap : anywhere; } 59. source-link : hover { color : # 58616f ; } 60. source-text { white-space : pre-wrap; overflow-wrap : anywhere; font-family : inherit; line-height : 1.7 ; margin-top : 12 px ; max-width : 75 ch ; } 61. result-item { padding-block : 22 px ; border-bottom : 1 px solid var ( --border ); } 62. url-statuses { padding-block : 14 px ; border-bottom : 1 px solid var ( --border ); } 63. url-statuses > div { display : flex; flex-wrap : wrap; gap : 8 px ; align-items : center; margin-block : 7 px ; font-size : 12 px ; } 64. url-statuses > div > span : nth-child ( 2 ) { flex : 1 ; min-width : 140 px ; } 65. highlight { padding : 12 px 0 ; border-bottom : 1 px solid var ( --border ); } 66. highlight : last-child { border-bottom : 0 ; } 67. evidence-source { border-bottom : 1 px solid var ( --border ); padding-block : 18 px ; } 68. passage { padding-block : 20 px ; border-bottom : 1 px solid var ( --border ); } 69. judgments { display : flex; gap : 12 px 24 px ; flex-wrap : wrap; margin-top : 14 px ; font-size : 12 px ; } 70. judgments dt { color : var ( --muted ); }. judgments dd { font-variant-numeric : tabular-nums; } 71. call-summary { display : flex; flex-wrap : wrap; align-items : center; gap : 8 px 16 px ; } 72. call-summary :: before { content : "" ; border : 4 px solid transparent; border-left-color : currentColor; } 73details [ open ] > . call-summary :: before { transform : rotate ( 90 deg ); } 74. login { width : min ( 100 % - 40 px , 360 px ); margin : 16 vh auto 40 px ; } 75footer { color : var ( --muted ); border-top : 1 px solid var ( --border ); margin-top : 48 px ; padding-block : 20 px ; font-size : 12 px ; } 76@media ( max-width : 850 px ) { 77. shell { padding-inline : 20 px ; } 78. playground-grid { grid-template-columns : 280 px minmax ( 0 , 1 fr ); gap : 24 px ; } 79. query-output { padding-left : 24 px ; } 80. metrics { grid-template-columns : repeat ( 2 , minmax ( 0 , 1 fr )); gap : 20 px 0 ; } 81. metrics > div : nth-child ( 3 ) { padding-left : 0 ; border-left : 0 ; } 82. config-grid { grid-template-columns : 1 fr ; gap : 14 px ; } 83} 84@media ( max-width : 650 px ) { 85. shell { padding-inline : 16 px ; } 86. app-header { padding-block : 18 px ; } 87. section-toolbar { align-items : flex-start; flex-wrap : wrap; } 88. playground-grid { grid-template-columns : 1 fr ; } 89. query-output { padding : 24 px 0 0 ; border-left : 0 ; border-top : 1 px solid var ( --border ); min-height : 0 ; } 90. metrics > div { padding-left : 14 px ; } 91. metrics dd { font-size : 23 px ; } 92. table-frame { max-width : 100 % ; } 93} 94@media ( prefers-reduced-motion : reduce) { * , * :: before , * :: after { transition : none !important ; animation : none !important ; } }