From de74d68873bd494b97df456aba47c49e2853bb77 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 28 Mar 2022 13:05:08 +0200 Subject: [PATCH] Reworked the layout --- css/styles.css | 2 +- index.php | 8 +++-- roles/Example.php | 22 -------------- roles/accomplice.php | 69 ++++++++++++++++++++++++++++++++++++++++++++ roles/detective.php | 46 +++++++++++++++++++++++++---- roles/innocent.php | 45 +++++++++++++++++++++++++---- roles/traitor.php | 48 +++++++++++++++++++++++++----- 7 files changed, 196 insertions(+), 44 deletions(-) delete mode 100644 roles/Example.php create mode 100644 roles/accomplice.php diff --git a/css/styles.css b/css/styles.css index 480b9f0..6ebed83 100644 --- a/css/styles.css +++ b/css/styles.css @@ -6,7 +6,7 @@ html { background-size: cover; } .card { - opacity: 0.95 !important; + opacity: 0.9; } .blurry { backdrop-filter: blur(7px) !important; diff --git a/index.php b/index.php index 4423ecc..9ff12b2 100644 --- a/index.php +++ b/index.php @@ -39,7 +39,7 @@
- '.$name.' + '.$name.''.$description.'

'.$howtoplay.'
'.$playsbestwith.'
-
'.$convars.'
+
'.$convars.'
+
'.$ctext.'
diff --git a/roles/Example.php b/roles/Example.php deleted file mode 100644 index 6ca190f..0000000 --- a/roles/Example.php +++ /dev/null @@ -1,22 +0,0 @@ - diff --git a/roles/accomplice.php b/roles/accomplice.php new file mode 100644 index 0000000..355b6c8 --- /dev/null +++ b/roles/accomplice.php @@ -0,0 +1,69 @@ + +
  • The Accomplice can't win alone.
  • +
  • The Accomplice can't buy Items from the shop(Default).
  • +
  • The Accomplice has radar for corpses.
  • +
  • The Accomplice can't transfer to Traitors.
  • + +"; +#With what roles does this role play best? +$playsbestwith = " +