Piano notes book, powered by Astro and React.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

121 líneas
1.7 KiB

  1. ---
  2. const { title } = Astro.props.frontmatter || Astro.props;
  3. ---
  4. <!doctype html>
  5. <html lang="en-PH">
  6. <head>
  7. <meta charset="UTF-8" />
  8. <meta name="viewport" content="width=device-width" />
  9. <link rel="icon" type="image/svg+xml" href="favicon.svg" />
  10. <title>{title}</title>
  11. <style is:global>
  12. html {
  13. @apply font-body;
  14. }
  15. body {
  16. @apply w-full;
  17. @apply mx-auto;
  18. @apply max-w-screen-md;
  19. @apply leading-relaxed;
  20. @apply box-border;
  21. }
  22. p {
  23. @apply my-6;
  24. @apply indent-6;
  25. @apply text-justify;
  26. }
  27. figure {
  28. @apply m-0;
  29. }
  30. figcaption {
  31. @apply text-center;
  32. }
  33. .screen-controls {
  34. @apply flex;
  35. @apply justify-center;
  36. }
  37. a:link {
  38. @apply text-blue-600;
  39. }
  40. a:visited {
  41. @apply text-purple-600;
  42. }
  43. @media only screen {
  44. body {
  45. @apply px-8;
  46. @apply my-16;
  47. }
  48. }
  49. @media only print {
  50. head {
  51. @apply block;
  52. }
  53. title {
  54. @apply block;
  55. @apply text-5xl;
  56. @apply text-center;
  57. @apply my-16;
  58. }
  59. body {
  60. @apply max-w-full;
  61. @apply m-0;
  62. }
  63. .screen-controls {
  64. @apply hidden;
  65. }
  66. a:link {
  67. @apply text-inherit;
  68. @apply no-underline;
  69. }
  70. a:visited {
  71. @apply text-inherit;
  72. }
  73. }
  74. @media only screen and (prefers-color-scheme: dark) {
  75. html {
  76. @apply bg-black;
  77. @apply text-white;
  78. }
  79. img.svg {
  80. filter: invert(100%);
  81. }
  82. a:link {
  83. @apply text-blue-400;
  84. }
  85. a:visited {
  86. @apply text-purple-400;
  87. }
  88. }
  89. @page {
  90. margin: 2cm;
  91. }
  92. </style>
  93. </head>
  94. <body>
  95. <slot />
  96. <div class="">
  97. </div>
  98. </body>
  99. </html>