Updated base structure

This commit is contained in:
Jesse James Isler 2022-03-28 07:40:17 +02:00
parent f9de3e3127
commit 26f561e634
6 changed files with 80 additions and 22 deletions

View File

@ -0,0 +1,7 @@
html {
background: url("https://img4.goodfon.com/wallpaper/nbig/2/39/tokho-toukhou-devushka-fon-mech.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

View File

@ -15,32 +15,35 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<!--My Custom Styleshit-->
<link rel="stylesheet" href="css/styles.css?v=1.0">
<link rel="stylesheet" href="css/styles.css">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
</head>
<body>
<div class=row>
<?php
include "./rolecolors.php";
foreach (glob("roles/*.php") as $filename) {
printf('
<div class="row">
<div class="col s12 m6">
<div class="card blue-grey darken-1">
<div class="card-content white-text">
<span class="card-title">
');
printf(substr($filename, 6, -4));
printf("</span>");
include $filename;
printf('
</div>
</div>
</div>
');
include $filename;
echo '
<div class="col s12 m6">
<div class="card '.$color.'">
<div class="card-content '.$tcolor.'-text">
<span class="card-title">'.$name.'</span>
<p>'.$description.'</p>
</div>
<div class="card-action">
<a href="'.$steam.'">Steam Link</a>
<a href="'.$source.'">Source</a>
</div>
</div>
</div>
';
}
?>
</div>
</body>
</html>

View File

@ -1,9 +1,14 @@
<?php
# Text Color
$tcolor = "black";
# This is the color defined by https://materializecss.com/color.html
$color = "yellow lighten-5"
#
$color = "yellow lighten-5";
#The Steam URL to your addon
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494"
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
#The Source URL to your addon
$source = "https://github.com/Gensokian/ttt2-role_tra";
#The Name of the Role
$name = "Example";
#The Description of the Role, HTML conform :)
$description = "Some example content";
?>

14
roles/detective.php Normal file
View File

@ -0,0 +1,14 @@
<?php
# Text Color
$tcolor = "white";
# This is the color defined by https://materializecss.com/color.html
$color = "indigo";
#The Steam URL to your addon
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
#The Source URL to your addon
$source = "https://github.com/Gensokian/ttt2-role_tra";
#The Name of the Role
$name = "Detective";
#The Description of the Role, HTML conform :)
$description = "Some example content";
?>

14
roles/innocent.php Normal file
View File

@ -0,0 +1,14 @@
<?php
# Text Color
$tcolor = "black";
# This is the color defined by https://materializecss.com/color.html
$color = "green darken-5";
#The Steam URL to your addon
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
#The Source URL to your addon
$source = "https://github.com/Gensokian/ttt2-role_tra";
#The Name of the Role
$name = "Innocent";
#The Description of the Role, HTML conform :)
$description = "Some example content";
?>

15
roles/traitor.php Normal file
View File

@ -0,0 +1,15 @@
<?php
# Text Color
$tcolor = "white";
# This is the color defined by https://materializecss.com/color.html
$color = "red darken-5";
#The Steam URL to your addon
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2004491494";
#The Source URL to your addon
$source = "https://github.com/Gensokian/ttt2-role_tra";
#The Name of the Role
$name = "Traitor";
#The Description of the Role, HTML conform :)
$description = "Some example content";
?>