To change default page size in LibreOffice Writer
create empty document and set margins in Format / Page Style, save
Go to: File / Templates / Save As Template
Enter template name and select My Templates
Go to: File / Templates / Manage Templates
Right click newly created template and set it as default.