new layout

This commit is contained in:
2025-11-23 23:51:22 +00:00
parent b72e3320d6
commit a171873e08

View File

@@ -12,6 +12,20 @@ body {
background-size: cover;*/ background-size: cover;*/
} }
main {
width: 210mm; /* A4 width */
height: 297mm; /* A4 height */
max-width: 100%; /* make it responsive on small screens */
margin: 20px auto; /* center horizontally with some margin */
padding: 20px;
background: white; /* paper color */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* subtle paper shadow */
overflow-y: auto; /* vertical scroll if content exceeds height */
border: 1px solid #ccc; /* optional border like a sheet of paper */
box-sizing: border-box; /* include padding in size */
font-family: "Times New Roman", serif; /* optional paper-like font */
}
p { p {
color: black; color: black;
} }