Moved CSS file to a approperiate sub-folder and removed all invisible characters from it.

This commit is contained in:
Wout van Dongen 2021-01-01 12:33:09 +01:00
parent 9e3e934503
commit 3b580c043f
3 changed files with 85 additions and 5 deletions

View File

@ -27,11 +27,11 @@ 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+"style.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>");
document.write("<table width=\"75%\" class=main align=center>");
document.write("<tr>");
size = 0;
for (var i in menu){
@ -43,7 +43,7 @@ function start_page(root){
document.write("</tr>");
document.write("<tr><td class=main colspan="+size+" background=\""+root+"style/bg3.png\">");
}
function end_page(){
@ -58,7 +58,7 @@ function image(txt, img, mini, width="200px") {
document.write("<table class=image width=\"" + width + "\"><tr><td>");
document.write("<a href=\"" + img + "\">");
document.write("<img src=\"" + mini + "\" width=\"" + width + "\">");
document.write("</a><br><small>");
document.write(txt);
@ -117,4 +117,3 @@ function icons(menu, height, root) {
}
document.write("<br clear=all></center>");
}

81
css/default.css Normal file
View File

@ -0,0 +1,81 @@
/* CSS Document */
body {
background: #3F3D42;
background-image: url(../style/bg1.png), url(../style/bg2.png);
background-repeat: no-repeat, repeat; background-size: 100%, 800px;
color: #FFFFFF;
}
table.main {
/*border-collapse:collapse;
width: 100%;*/
}
td.main {
padding: 6px;
}
th.menu {
padding: 6px;
}
h1 {
color: #54CCC1;
clear: both;
}
h2 {
color: #2D8FCE;
clear: both;
}
h3 {
color: #CD5932;
}
h4 {
color: #CD5932;
}
p {
text-indent: 50px;
}
a {
color: #54CCC1;
}
table.image {
float: right;
clear: right;
}
table.galery {
margin: 6px;
display: inline-block;
word-break: keep-all;
vertical-align: top;
}
table.galery tbody {
width: 100%;
display: table;
}
span.alt {
background-color: #671C14;
color: #CD5932;
}
table.icons {
margin: 12px;
display: inline-block;
background-image: url("style/bg4.png");
word-break: keep-all;
vertical-align: top;
}
table.icons tbody {
width: 100%;
display: table;
}

BIN
style.css

Binary file not shown.