Added reset.css file for styling consistenct between browsers

Added a reset.css file for styling consistency between browsers

Adding a default padding to lists

Same as previous
This commit is contained in:
Wout van Dongen 2021-01-01 20:49:10 +01:00
parent 41a290e4ef
commit ea6af99920
3 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,10 @@ body {
color: #FFFFFF;
}
ul, ol{
padding-left:2rem;
}
table.main {
/*border-collapse:collapse;
width: 100%;*/

4
css/reset.css Normal file
View File

@ -0,0 +1,4 @@
*{
margins:0;
padding:0;
}

View File

@ -27,6 +27,7 @@ function start_page(root){
document.write("<meta http-equiv=\"content-type\" content=\"text/html\" charset=\"utf-8\">");
document.write("<meta name=\"descreption\" content=\"A Minetest server by Hume2, CalebJ and Coram\">");
document.write("<meta name=\"author\" content=\"Hume2\">");
document.write("<link rel=stylesheet href=\""+root+"css/reset.css\" type=\"text/css\" title=\"styl\">");
document.write("<link rel=stylesheet href=\""+root+"css/default.css\" type=\"text/css\" title=\"styl\">");
document.write("</head><body><br>");
document.write("<center><a href=\""+root+"index.html\"><img src=\""+root+"style/logo.png\" alt=\"Tunnelers' Abyss\" title=\"logo\" width=\"50%\" margins=-10></a></center><br>");